mtg/abilities.py

14 lines
375 B
Python
Raw Normal View History

import logging
2010-06-16 14:16:49 +00:00
import mtg
class TapMana(mtg.Ability):
def __init__(self, card, mana):
mtg.Ability.__init__(self, card, name='Tap Land', tap=True)
self.mana = mana
def run(self):
self.card.owner.mana += self.mana
logging.debug('%s: Added %s to mana pool of %s', self, self.mana, self.card.owner)
2010-06-16 14:16:49 +00:00
class Lifelink(mtg.Ability):
pass