custom watermark bugfix
This commit is contained in:
@@ -33,7 +33,7 @@ include file: language
|
|||||||
include file: statistics_script
|
include file: statistics_script
|
||||||
include file: /magic-blends.mse-include/new-blends
|
include file: /magic-blends.mse-include/new-blends
|
||||||
############################################################## Versioning
|
############################################################## Versioning
|
||||||
version_date := {"2024-10-01 Template Pack 3.0.0: Magic Modules & Showcase Catchup"}
|
version_date := {"2024-10-01 Template Pack 3.0.1: Magic Modules & Showcase Catchup - Watermark bugfix"}
|
||||||
version := version_date
|
version := version_date
|
||||||
############################################################## Common filters
|
############################################################## Common filters
|
||||||
############################################################## Utility
|
############################################################## Utility
|
||||||
@@ -2408,7 +2408,7 @@ custom_watermark_link := {
|
|||||||
array := split_comma(field)
|
array := split_comma(field)
|
||||||
#### not blank, has png, is either verified or old link that's probably fine
|
#### 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")
|
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/"+array.0
|
||||||
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
|
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
|
||||||
}
|
}
|
||||||
card_watermark_a := {""}
|
card_watermark_a := {""}
|
||||||
@@ -2418,7 +2418,7 @@ custom_card_watermark := {
|
|||||||
array := split_comma(field)
|
array := split_comma(field)
|
||||||
#### not blank, has png, is either verified or old link that's probably fine
|
#### 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")
|
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/" + array.0
|
||||||
else if card_watermark_a() != "" then "/magic-mainframe-extras.mse-include/" + card_watermark_a()
|
else if card_watermark_a() != "" then "/magic-mainframe-extras.mse-include/" + card_watermark_a()
|
||||||
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
|
else "/magic-modules.mse-include/watermarks/other/planeswalker.png"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user