Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a COINFLIP helper (50% chance to...)
  • Loading branch information
jleclanche committed Sep 6, 2015
1 parent 34641c0 commit 506ac09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions fireplace/cards/classic/neutral_legendary.py
Expand Up @@ -87,9 +87,7 @@ class EX1_298:

# Nat Pagle
class EX1_557:
events = OWN_TURN_BEGIN.on(
lambda self, player: random.randint(0, 1) and Draw(CONTROLLER)
)
events = OWN_TURN_BEGIN.on(COINFLIP & Draw(CONTROLLER))


# Harrison Jones
Expand Down
1 change: 1 addition & 0 deletions fireplace/cards/utils.py
Expand Up @@ -23,6 +23,7 @@ def pick(self, source):


CLEAVE = Hit(TARGET_ADJACENT, Attr(SELF, GameTag.ATK))
COINFLIP = RandomNumber(0, 1) == 1
HOLDING_DRAGON = Find(CONTROLLER_HAND + DRAGON)
JOUST = Joust(FRIENDLY + MINION + IN_DECK, ENEMY + MINION + IN_DECK)

Expand Down

0 comments on commit 506ac09

Please sign in to comment.