fix special text on backface walkers

This commit is contained in:
cajun
2025-12-05 18:00:55 -06:00
parent 03a4aee59a
commit 52ea8f5dc5

View File

@@ -425,7 +425,6 @@ init script:
+ ( if card.loyalty_cost_10 != "" then "[" + card.loyalty_cost_10 + "]" + ": " else "") +(if card.level_10_text != "" then card.level_10_text+"\n" else if contains(paragraph_count(card.rule_text_2), match:"~") then split_text(match:"\n", card.rule_text_2).1+"\n" else "") + ( if card.loyalty_cost_10 != "" then "[" + card.loyalty_cost_10 + "]" + ": " else "") +(if card.level_10_text != "" then card.level_10_text+"\n" else if contains(paragraph_count(card.rule_text_2), match:"~") then split_text(match:"\n", card.rule_text_2).1+"\n" else "")
+ ( if card.loyalty_cost_11 != "" then "[" + card.loyalty_cost_11 + "]" + ": " else "") +(if card.level_11_text != "" then card.level_11_text else if contains(paragraph_count(card.rule_text_2), match:"~~") then split_text(match:"\n", card.rule_text_2).2 else "") + ( if card.loyalty_cost_11 != "" then "[" + card.loyalty_cost_11 + "]" + ": " else "") +(if card.level_11_text != "" then card.level_11_text else if contains(paragraph_count(card.rule_text_2), match:"~~") then split_text(match:"\n", card.rule_text_2).2 else "")
+ ( if card.level_12_text != "" then "\n" + ( if card.loyalty_cost_12 != "" then "[" + card.loyalty_cost_12 + "]" + ": " else "") +(if card.level_12_text != "" then card.level_12_text else if contains(paragraph_count(card.rule_text_2), match:"~~~~") then split_text(match:"\n", card.rule_text_2).3 else "") else "") + ( if card.level_12_text != "" then "\n" + ( if card.loyalty_cost_12 != "" then "[" + card.loyalty_cost_12 + "]" + ": " else "") +(if card.level_12_text != "" then card.level_12_text else if contains(paragraph_count(card.rule_text_2), match:"~~~~") then split_text(match:"\n", card.rule_text_2).3 else "") else "")
+ ( if card.level_12_text != "" then "\n" + ( if card.loyalty_cost_12 != "" then "[" + card.loyalty_cost_12 + "]" + ": " else "") +(if card.level_12_text != "" then card.level_12_text else if contains(paragraph_count(card.rule_text_2), match:"~~~~") then split_text(match:"\n", card.rule_text_2).3 else "") else "")
+ ( if card.level_13_text != "" then "\n" + ( if card.loyalty_cost_13 != "" then "[" + card.loyalty_cost_13 + "]" + ": " else "") +(if card.level_13_text != "" then card.level_13_text else if contains(paragraph_count(card.rule_text_2), match:"~~~~~") then split_text(match:"\n", card.rule_text_2).4 else "") else "") + ( if card.level_13_text != "" then "\n" + ( if card.loyalty_cost_13 != "" then "[" + card.loyalty_cost_13 + "]" + ": " else "") +(if card.level_13_text != "" then card.level_13_text else if contains(paragraph_count(card.rule_text_2), match:"~~~~~") then split_text(match:"\n", card.rule_text_2).4 else "") else "")
+ ( if card.level_14_text != "" then "\n" + ( if card.loyalty_cost_14 != "" then "[" + card.loyalty_cost_14 + "]" + ": " else "") +(if card.level_14_text != "" then card.level_14_text else if contains(paragraph_count(card.rule_text_2), match:"~~~~~~") then split_text(match:"\n", card.rule_text_2).5 else "") else "") + ( if card.level_14_text != "" then "\n" + ( if card.loyalty_cost_14 != "" then "[" + card.loyalty_cost_14 + "]" + ": " else "") +(if card.level_14_text != "" then card.level_14_text else if contains(paragraph_count(card.rule_text_2), match:"~~~~~~") then split_text(match:"\n", card.rule_text_2).5 else "") else "")
} }