Rename wubrgc_break_statistic to color_code_break_statistic
This commit is contained in:
@@ -307,7 +307,7 @@ cc_colored_pips_totals_statistic :=
|
|||||||
{
|
{
|
||||||
cc := card.casting_cost + (if check_2_statistic() then " " + card.casting_cost_2 else "")
|
cc := card.casting_cost + (if check_2_statistic() then " " + card.casting_cost_2 else "")
|
||||||
|
|
||||||
join(wubrgc_break_statistic(cc), sep:",")
|
join(color_code_break_statistic(cc), sep:",")
|
||||||
}
|
}
|
||||||
|
|
||||||
# Count how many cards have one white pip in their ability costs. Repeat for two white pips. Repeat for three, then four+, then again for other colors.
|
# Count how many cards have one white pip in their ability costs. Repeat for two white pips. Repeat for three, then four+, then again for other colors.
|
||||||
@@ -336,7 +336,7 @@ ability_colored_pips_totals_statistic :=
|
|||||||
count := length(costs) - 1
|
count := length(costs) - 1
|
||||||
result := for x from 0 to count do
|
result := for x from 0 to count do
|
||||||
(
|
(
|
||||||
"," + join(wubrgc_break_statistic(costs[x]), sep:",")
|
"," + join(color_code_break_statistic(costs[x]), sep:",")
|
||||||
)
|
)
|
||||||
substring(result, begin: 1))
|
substring(result, begin: 1))
|
||||||
}
|
}
|
||||||
@@ -386,7 +386,7 @@ devotion_filters_statistic := [
|
|||||||
C: filter_text@(match:"C")
|
C: filter_text@(match:"C")
|
||||||
]
|
]
|
||||||
color_pip_break_statistic := break_text@(match:"([A-Z0-9]/|[|])*[WUBRG]")
|
color_pip_break_statistic := break_text@(match:"([A-Z0-9]/|[|])*[WUBRG]")
|
||||||
wubrgc_break_statistic := break_text@(match:"[WUBRGC]")
|
color_code_break_statistic := break_text@(match:"[WUBRGC]")
|
||||||
symbol_aggregate_statistic :=
|
symbol_aggregate_statistic :=
|
||||||
{
|
{
|
||||||
devotion := devotion_filters_statistic[symbol](input)
|
devotion := devotion_filters_statistic[symbol](input)
|
||||||
@@ -461,7 +461,7 @@ face_mana_production_list_statistic :=
|
|||||||
can_Chosen := lang_setting("chosen_mana_production")(combined_text) != ""
|
can_Chosen := lang_setting("chosen_mana_production")(combined_text) != ""
|
||||||
|
|
||||||
# the mana symbols we can produce
|
# the mana symbols we can produce
|
||||||
produced_symbols := wubrgc_break_statistic(lang_setting("mana_symbol_production")(combined_text))
|
produced_symbols := color_code_break_statistic(lang_setting("mana_symbol_production")(combined_text))
|
||||||
|
|
||||||
(if lang_setting("is_plains")(sub) or contains_element(produced_symbols, element:"W") then ",W" else "") +
|
(if lang_setting("is_plains")(sub) or contains_element(produced_symbols, element:"W") then ",W" else "") +
|
||||||
(if lang_setting("is_island")(sub) or contains_element(produced_symbols, element:"U") then ",U" else "") +
|
(if lang_setting("is_island")(sub) or contains_element(produced_symbols, element:"U") then ",U" else "") +
|
||||||
|
|||||||
Reference in New Issue
Block a user