Skip to content

Commit 3a2db2d

Browse files
committed
Add an EMPTY_HAND helper
Fixes #156
1 parent 5d4518a commit 3a2db2d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

fireplace/cards/blackrock/collectible.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class BRM_012:
4545

4646
# Core Rager
4747
class BRM_014:
48-
play = Find(CONTROLLER_HAND) | Buff(SELF, "BRM_014e")
48+
play = EMPTY_HAND & Buff(SELF, "BRM_014e")
4949

5050

5151
# Axe Flinger
@@ -167,7 +167,7 @@ class BRM_011:
167167

168168
# Quick Shot
169169
class BRM_013:
170-
play = Hit(TARGET, 3), Find(CONTROLLER_HAND) | Draw(CONTROLLER)
170+
play = Hit(TARGET, 3), EMPTY_HAND & Draw(CONTROLLER)
171171

172172

173173
# Revenge

fireplace/cards/tgt/hunter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class AT_057:
1616

1717
# Brave Archer
1818
class AT_059:
19-
inspire = Find(CONTROLLER_HAND) | Hit(ENEMY_HERO, 2)
19+
inspire = EMPTY_HAND & Hit(ENEMY_HERO, 2)
2020

2121

2222
# Acidmaw

fireplace/cards/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def pick(self, source):
2424

2525
CLEAVE = Hit(TARGET_ADJACENT, Attr(SELF, GameTag.ATK))
2626
COINFLIP = RandomNumber(0, 1) == 1
27+
EMPTY_HAND = Count(CONTROLLER_HAND) == 0
2728
HOLDING_DRAGON = Find(CONTROLLER_HAND + DRAGON)
2829
JOUST = Joust(FRIENDLY + MINION + IN_DECK, ENEMY + MINION + IN_DECK)
2930

0 commit comments

Comments
 (0)