diff --git a/data/magic-field-test.mse-export-template/export-template b/data/magic-field-test.mse-export-template/export-template index fc1453f1e..afd35a9bb 100644 --- a/data/magic-field-test.mse-export-template/export-template +++ b/data/magic-field-test.mse-export-template/export-template @@ -103,14 +103,14 @@ script: replace@(match:"\"", replace:"”") quote_replace := replace@(match:"\"", replace:"\\\\\"") break_cleaner := replace@(match:"\n", replace:"") - mana_script := replace@(match:"(2|H|W|U|B|R|G|S|C)/(W|U|B|R|G|S|C|I)", replace:{"\{"+_1+"/"+_2+"\}"})+ + mana_script := replace@(match:"(2|H|W|U|B|R|G|S|C|I)/(W|U|B|R|G|S|C|I)", replace:{"\{"+_1+"/"+_2+"\}"})+ replace@(match:"(X|Y|Z|W|U|B|R|G|S|C|I)", in_context:"(?", replace:{"\{"+_1+"\}"})+ replace@(match:"([1-9][0-9])", in_context:"(?", replace:{"\{"+_1+"\}"})+ replace@(match:"([0-9])", in_context:"(?(?!})", replace:{"\{"+_1+"\}"})+ replace@(match:"V", replace:{"\{"+v_rep("V")+"\}"}) - lackey_bot_mana_filter := replace@(match:"([0-9WUBRGCSHEQTXYZEDV/]+)", replace:{"\{"+_2+"}"})+ - replace@(match:"([0-9HSCWUBRGXYZEDV/])", in_context:"\{[0-9HSCWUBRGXYZEDV/]*[0-9HSCWUBRGXYZEDV/]*}", replace:{"\{"+v_rep(_1)+"}"})+ + lackey_bot_mana_filter := replace@(match:"([0-9WUBRGCSHEQTXYZEDVI/]+)", replace:{"\{"+_2+"}"})+ + replace@(match:"([0-9HSCWUBRGXYZEDV/])", in_context:"\{[0-9HSCWUBRGXYZEDVI/]*[0-9HSCWUBRGXYZEDVI/]*}", replace:{"\{"+v_rep(_1)+"}"})+ replace@(match:"}\{/}\{", replace:"/")+ replace@(match:"\{([0-9])}\{([0-9])}", replace:{"\{"+_1+_2+"}"})+ replace@(match:"\{\{", replace:"\{")+ @@ -149,7 +149,7 @@ script: silver_patch := { is_silver := contains(card.casting_cost, match:"I") if not is_silver then input - else if input == "" then "{Silver} " + else if input == "" then "\{Silver\} " else replace(input, match:"\{", replace:"\{Silver/") } trim_zeroes := replace@(match: "^00?", replace: "")+