2010-06-17 19:52:21 +00:00
|
|
|
import logging
|
2010-06-16 14:16:49 +00:00
|
|
|
import mtg
|
|
|
|
|
2010-06-17 19:52:21 +00:00
|
|
|
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
|