Skip to content

Commit 70db40c

Browse files
committed
Implement GainEmptyMana
1 parent 54a72e3 commit 70db40c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

fireplace/actions.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,19 @@ def do(self, source, target, amount):
477477
target.max_mana += amount
478478

479479

480+
class GainEmptyMana(TargetedAction):
481+
"""
482+
Give player targets \a amount empty Mana crystals.
483+
"""
484+
class Args(Action.Args):
485+
TARGETS = 0
486+
AMOUNT = 1
487+
488+
def do(self, source, target, amount):
489+
target.max_mana += amount
490+
target.used_mana += amount
491+
492+
480493
class Give(TargetedAction):
481494
"""
482495
Give player targets card \a id.

0 commit comments

Comments
 (0)