DFC & Exporter Fixes

This commit is contained in:
cajun
2024-10-04 19:01:51 -05:00
parent 3b9a99c038
commit 4346ff181b
5 changed files with 31 additions and 19 deletions

View File

@@ -1027,11 +1027,12 @@ init script:
styling_field := if instance <= 1 then styling.front_style else styling.back_style
if styling_field == "auto-sizing planeswalker" then (
counter := 1
bumper := 8 * (instance-1)
for x from 1 to 8 do (
tf := card["level_" + (x*instance) + "_text"]
tf := card["level_" + (x+bumper) + "_text"]
if tf != "" and tf != zwsp then counter := x;
)
tf := card["level_" + counter + "_text"]
tf := card["level_" + (counter+bumper) + "_text"]
if active then counter := counter - ( if tf == "" or tf == zwsp then 1 else 0)
else counter := counter + 1
styling_field := counter;
@@ -1524,10 +1525,6 @@ init script:
flavor_bar_disabled_1 := { mainframe_walker() or a_saga() or not set.use_flavor_bar }
flavor_bar_disabled_2 := { mainframe_walkerb() or b_saga() or not set.use_flavor_bar }
is_blank := {
input == "" or input == zwsp
}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style: