fix is_class() matching on creature-class wordlist

This commit is contained in:
cajun
2024-03-06 01:59:56 -06:00
parent a44757f325
commit 3c4f3b5086

View File

@@ -193,7 +193,7 @@ init script:
un_png := replace@(match:".png", replace: "")
a_saga := {true}
saga_reminder := { if styling.alternate_reminder != "" then styling.alternate_reminder else if is_class() then "Gain the next level as a sorcery to add its ability." else "As this Saga enters and after your draw step, add a lore counter. Sacrifice after III." }
is_class := {contains(styling.other_options, match:"class") or lang_setting("is_class")(card.sub_type)}
is_class := {contains(styling.other_options, match:"class") or lang_setting("is_class")(remove_tags(card.sub_type))}
un_marked := {is_class() or contains(styling.other_options, match:"remove bookmark")}
is_legend := { auto_legend() }
is_vehicle := { auto_vehicle() or contains(styling.other_options, match:"vehicle") }