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:
twanvl
2008-08-24 16:23:01 +00:00
parent c8fb341e1a
commit c81049a7f5
+1 -1
View File
@@ -498,7 +498,7 @@ cmc := {to_number(
for each sym in cmc_split() do (
numbers := only_numbers(sym)
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
))
}