Converted mana cost script now works with 2/C costs.

A mana cost of "31/2" is now broken up as "3","1/2".

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@920 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-05-31 22:13:00 +00:00
parent aecfd364bb
commit d147ddc363
7 changed files with 31 additions and 20 deletions
@@ -187,7 +187,7 @@ symbol:
symbol:
image: mana_circle_w.png
enabled: { colorless_color() == "w" }
code: .|[0-9]+|.
code: [0-9]+(?!/2)|.
regex: yes
draw text: 0
text font:
@@ -203,7 +203,7 @@ symbol:
symbol:
image: mana_circle_u.png
enabled: { colorless_color() == "u" }
code: .|[0-9]+|.
code: [0-9]+(?!/2)|.
regex: yes
draw text: 0
text font:
@@ -219,7 +219,7 @@ symbol:
symbol:
image: mana_circle_b.png
enabled: { colorless_color() == "b" }
code: .|[0-9]+|.
code: [0-9]+(?!/2)|.
regex: yes
draw text: 0
text font:
@@ -235,7 +235,7 @@ symbol:
symbol:
image: mana_circle_r.png
enabled: { colorless_color() == "r" }
code: .|[0-9]+|.
code: [0-9]+(?!/2)|.
regex: yes
draw text: 0
text font:
@@ -251,7 +251,7 @@ symbol:
symbol:
image: mana_circle_g.png
enabled: { colorless_color() == "g" }
code: .|[0-9]+|.
code: [0-9]+(?!/2)|.
regex: yes
draw text: 0
text font:
@@ -266,7 +266,7 @@ symbol:
text margin bottom: 0.1
symbol:
image: mana_circle.png
code: .|[0-9]+|.
code: [0-9]+(?!/2)|.
regex: yes
draw text: 0
text font: