mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
cmc("0") == 0
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1162 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -498,7 +498,7 @@ cmc := {to_number(
|
|||||||
for each sym in cmc_split() do (
|
for each sym in cmc_split() do (
|
||||||
numbers := only_numbers(sym)
|
numbers := only_numbers(sym)
|
||||||
if is_half_mana(sym) then 0.5
|
if is_half_mana(sym) then 0.5
|
||||||
else if numbers != "" then max(1, to_int(numbers))
|
else if numbers != "" then to_int(numbers)
|
||||||
else 1 # all other symbols are 1
|
else 1 # all other symbols are 1
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user