fix type_name for localization

type_name() returns a localized string, so type_name comparisions should compare against type_name() of a known quantity instead
This commit is contained in:
cajun
2024-09-23 10:12:58 -05:00
parent 1a5432a0ec
commit 8fd810b1d3
5 changed files with 13 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ icon: card-sample.png
installer group: magic/m15 style/normal cards
position hint: 001
version: 2024-09-04
version: 2024-09-23
depends on:
package: magic.mse-game
version: 2020-04-25
@@ -274,7 +274,7 @@ init script:
}
is_beyond := {
chosen(styling.frames, choice:"universes beyond")
or (chosen(styling.other_options, choice:"auto ub") and card.card_stamp == "universes beyond")
or (chosen(styling.other_options, choice:"auto ub") and (card.card_stamp == "universes beyond" or card.card_stamp == "flatstamped universes beyond"))
}
is_miracle := {
chosen(styling.frames, choice:"miracle")