From 8a43f78ced427d9e43cb140c28e285e6b127bf81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Lundeg=C3=A5rd=20Kylander?= Date: Sun, 29 Mar 2026 19:49:29 +0200 Subject: [PATCH] Rename `wubrgc_break_statistic` to `color_code_break_statistic` --- data/magic.mse-game/statistics_script | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/magic.mse-game/statistics_script b/data/magic.mse-game/statistics_script index 10061e228..dfdc9886a 100644 --- a/data/magic.mse-game/statistics_script +++ b/data/magic.mse-game/statistics_script @@ -307,7 +307,7 @@ cc_colored_pips_totals_statistic := { 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. @@ -336,7 +336,7 @@ ability_colored_pips_totals_statistic := count := length(costs) - 1 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)) } @@ -386,7 +386,7 @@ devotion_filters_statistic := [ C: filter_text@(match:"C") ] 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 := { devotion := devotion_filters_statistic[symbol](input) @@ -461,7 +461,7 @@ face_mana_production_list_statistic := can_Chosen := lang_setting("chosen_mana_production")(combined_text) != "" # 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_island")(sub) or contains_element(produced_symbols, element:"U") then ",U" else "") +