fixed new colorless mana symbol
This commit is contained in:
parent
f0a8f3d1c7
commit
3b79a68b58
3 changed files with 30098 additions and 29065 deletions
59159
data/output.txt
59159
data/output.txt
File diff suppressed because it is too large
Load diff
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue