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 = '' colors = ''
for sym in self.symbols: for sym in self.symbols:
if self.symbols[sym] > 0: 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: for symcolor in symcolors:
if symcolor not in colors: if symcolor not in colors:
colors += symcolor colors += symcolor

View file

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