bugfixes
This commit is contained in:
@@ -33,6 +33,15 @@ card_is_wedge := {
|
||||
color_string := card_color_to_letters(input)
|
||||
if color_string == "WUR" or color_string == "WBR" or color_string == "WBG" or color_string == "UBG" or color_string == "URG" then true else false
|
||||
}
|
||||
list_colors := {
|
||||
list := trim_colors(input)
|
||||
cc := length(comma_count(list))
|
||||
if cc == 1 then
|
||||
list := replace(list, match:", ", replace:" and ")
|
||||
if cc > 1 then
|
||||
list := replace(list, match:", ", replace:", and ", in_context:"<match>[^ ]+$")
|
||||
list
|
||||
}
|
||||
# A mana cost can contain both normal and guild mana
|
||||
mana_filter := to_upper + {
|
||||
if chosen(set.mana_cost_sorting, choice: "unsorted") then mana_unsort()
|
||||
|
||||
Reference in New Issue
Block a user