WUBRG -> WUBRGO
This commit is contained in:
@@ -1304,12 +1304,12 @@ reverse_list :=
|
||||
cost_parameter_script :=
|
||||
{
|
||||
input := remove_tag(input, tag:"<sym-auto>")
|
||||
replace(input, match:"\\b([HSVECTQXYZI0-9WUBRG/|]+)\\b(,|,|<|$)", replace:"<sym-auto>\\1</sym-auto>\\2")
|
||||
replace(input, match:"\\b([HSVECTQXYZI0-9WUBRGO/|]+)\\b(,|,|<|$)", replace:"<sym-auto>\\1</sym-auto>\\2")
|
||||
}
|
||||
cost_parameter_script_nonspace :=
|
||||
{
|
||||
input := remove_tag(input, tag:"<sym-auto>")
|
||||
replace(input, match:"(?<!<)([HSVECTQXYZI0-9WUBRG/|]+)", replace:"<sym-auto>\\1</sym-auto>")
|
||||
replace(input, match:"(?<!<)([HSVECTQXYZI0-9WUBRGO/|]+)", replace:"<sym-auto>\\1</sym-auto>")
|
||||
}
|
||||
cost_parameter_dash :=
|
||||
{
|
||||
@@ -1318,7 +1318,7 @@ cost_parameter_dash :=
|
||||
}
|
||||
localized_phy_reminder :=
|
||||
{
|
||||
phy_matches := break_text(card.casting_cost, match:"H(/[WUBRGC])*")
|
||||
phy_matches := break_text(card.casting_cost, match:"H(/[WUBRGOC])*")
|
||||
if length(phy_matches) < 1 then "" else (
|
||||
multiple := length(phy_matches) > 1
|
||||
phy_matches := make_list_unique(reverse_list(sort_list(phy_matches, order_by: length))) #First symbol is used for reminder text. Prefer using hybrid mana.
|
||||
|
||||
Reference in New Issue
Block a user