Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Implement GainEmptyMana
  • Loading branch information
beheh committed Aug 28, 2015
1 parent 54a72e3 commit 70db40c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions fireplace/actions.py
Expand Up @@ -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.
Expand Down

0 comments on commit 70db40c

Please sign in to comment.