mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
fixed: mana_sort_quild was copying tap/untap symbols
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@926 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -23,10 +23,11 @@ init script:
|
|||||||
# correctly sort a mana symbol (no guild mana)
|
# correctly sort a mana symbol (no guild mana)
|
||||||
mana_sort := sort_rule(order: "XYZI[0123456789]S(WUBRG)")
|
mana_sort := sort_rule(order: "XYZI[0123456789]S(WUBRG)")
|
||||||
# correctly sort guild mana
|
# correctly sort guild mana
|
||||||
mana_sort_guild := replace_rule(
|
mana_sort_guild := sort_rule(order: "[XYZI01234567890SWUBRG/]") +
|
||||||
match: "./.|././.|./././.|.[|]",
|
replace_rule(
|
||||||
in_context: "(^|[^/])<match>($|[^/])",
|
match: "./.|././.|./././.|.[|]",
|
||||||
replace: {sort_text(order:"in_place((WUBRG)")}
|
in_context: "(^|[^/])<match>($|[^/])",
|
||||||
|
replace: {sort_text(order:"in_place((WUBRG)")}
|
||||||
)
|
)
|
||||||
mana_has_guild := match_rule(match: "[/|]") # Is there guild or half mana in the input?
|
mana_has_guild := match_rule(match: "[/|]") # Is there guild or half mana in the input?
|
||||||
# A mana cost can contain both normal and guild mana
|
# A mana cost can contain both normal and guild mana
|
||||||
|
|||||||
Reference in New Issue
Block a user