fixed new colorless mana symbol

This commit is contained in:
Bill Zorn 2016-05-05 11:22:52 -07:00
parent f0a8f3d1c7
commit 3b79a68b58
3 changed files with 30098 additions and 29065 deletions

File diff suppressed because it is too large Load diff

View file

@ -13,7 +13,7 @@ class Manacost:
colors = ''
for sym in self.symbols:
if self.symbols[sym] > 0:
symcolors = re.sub(r'2|P|S|X', '', sym)
symcolors = re.sub(r'2|P|S|X|C', '', sym)
for symcolor in symcolors:
if symcolor not in colors:
colors += symcolor

View file

@ -161,6 +161,7 @@ mana_G = 'G'
mana_P = 'P' # colorless phyrexian
mana_S = 'S' # snow
mana_X = 'X' # colorless X
mana_C = 'C' # colorless only 'eldrazi'
mana_WP = 'WP' # single color phyrexian
mana_UP = 'UP'
mana_BP = 'BP'
@ -215,6 +216,7 @@ mana_syms = [
mana_P,
mana_S,
mana_X,
mana_C,
mana_WP,
mana_UP,
mana_BP,