Permalink
Browse files

Implement GainEmptyMana

  • Loading branch information...
beheh committed Aug 21, 2015
1 parent 54a72e3 commit 70db40ccf5d73336ad1fe16fc9343c3b970aea6b
Showing with 13 additions and 0 deletions.
  1. +13 −0 fireplace/actions.py
@@ -477,6 +477,19 @@ def do(self, source, target, amount):
target.max_mana += amount


class GainEmptyMana(TargetedAction):
"""
Give player targets \a amount empty Mana crystals.
"""
class Args(Action.Args):
TARGETS = 0
AMOUNT = 1

def do(self, source, target, amount):
target.max_mana += amount
target.used_mana += amount


class Give(TargetedAction):
"""
Give player targets card \a id.

0 comments on commit 70db40c

Please sign in to comment.