mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
Fixed sorting of cards whos names start with a number
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@742 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -175,8 +175,9 @@ init script:
|
|||||||
sort_index := {
|
sort_index := {
|
||||||
(if contains(card.shape, match:"token") then "T" else "N") + # Tokens come last
|
(if contains(card.shape, match:"token") then "T" else "N") + # Tokens come last
|
||||||
color_of_card() +
|
color_of_card() +
|
||||||
(if contains(card.shape, match:"shifted") then "1" else "0") + # planeshifted cards come after normal ones
|
(if contains(card.shape, match:"shifted") then "S" else "N") + # planeshifted cards come after normal ones
|
||||||
(if contains(card.shape, match:"split") then "1" else "0") # split cards come after normal ones
|
(if contains(card.shape, match:"split") then "S" else "N") + # split cards come after normal ones
|
||||||
|
":"
|
||||||
}
|
}
|
||||||
is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" }
|
is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" }
|
||||||
is_null_cost := { input == "" or input == "0" }
|
is_null_cost := { input == "" or input == "0" }
|
||||||
|
|||||||
Reference in New Issue
Block a user