keyword/watermark fix

This commit is contained in:
cajun
2024-09-27 19:21:17 -05:00
parent 28e602a42d
commit 0eff122143
2 changed files with 4 additions and 2 deletions

View File

@@ -341,7 +341,7 @@ keyword:
keyword: Storm
match: Storm
mode: expert
reminder: When you cast this spell, copy it for each spell cast before it this turn.{ if is_targeted() then " You may choose new targets for the copies." }{if not is_spell(card.card_type) then " Copies become tokens."}
reminder: When you cast this spell, copy it for each spell cast before it this turn.{ if is_targeted() then " You may choose new targets for the copies." }{if not is_spell(card.type) then " Copies become tokens."}
# Mirrodin
keyword:
keyword: Affinity for

View File

@@ -2315,13 +2315,15 @@ custom_watermark_link := {
then "/magic-mainframe-extras.mse-include/"+field
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
}
card_watermark_a := {""}
custom_card_watermark := {
tag := if face == 1 then "" else "_" + face
field := styling["card_watermark"+tag] or else ""
array := split_comma(field)
#### not blank, has png, is either verified or old link that's probably fine
if array.0 != "" and has_png(array.0) and array.1 or else "" != "Not found"
then "/magic-mainframe-extras.mse-include/"+field
then "/magic-mainframe-extras.mse-include/" + field
else if card_watermark_a() != "" then "/magic-mainframe-extras.mse-include/" + card_watermark_a()
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
}
card_new_color := {