From 436c635eb2b2a307d24ff9d9f1962fe7957e0339 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 2 Sep 2010 11:56:42 -0400 Subject: [PATCH] Bug in mana cost math --- mtg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtg.py b/mtg.py index e41cd6d..c397565 100644 --- a/mtg.py +++ b/mtg.py @@ -104,9 +104,9 @@ class ManaCost: def __sub__(self, other): result = ManaCost() if isinstance(other, ManaCost): + #TODO: Subtract hybrid symbols result.any = self.any - other.any result.mana = self.mana - other.mana - result.hybrid = self.hybrid - other.hybrid result.snow = self.snow - other.snow return result def __repr__(self):