improve dryad arbor selection

This commit is contained in:
cajun
2025-09-11 04:38:34 -05:00
parent b5ce34ff4d
commit 193904386b

View File

@@ -375,15 +375,16 @@ has_identity_general := {
color_field := card["card_color"+tag]
cost_field := card["casting_cost"+tag]
culled_color := cull_directions(cull_noncolors(color_field))
default_land := lang_setting("is_land")(card["super_type"]+tag)
default_from_casting_cost := colors_from_mana_symbols(cost_field)
default_from_card_color := if chosen(color_field, choice:"colorless")
then "" ## colorless
then "" ## colorless
else if default_from_casting_cost == "" and chosen(color_field, choice:"land")
then "" ## land
then (if default_land then "" else culled_color) ## land
else if chosen(color_field, choice:"multicolor") and culled_color == ""
then default_from_casting_cost ## 3+ multicolor
else culled_color ## normal color
then default_from_casting_cost ## 3+ multicolor
else culled_color ## normal color
color_cost_disagree := default_from_card_color != default_from_casting_cost
color_indicator_disagree := default_from_card_color != culled_indicator and indicator_field != color_field