fireplace icon indicating copy to clipboard operation
fireplace copied to clipboard

Test for dominant player

Open jleclanche opened this issue 9 years ago • 2 comments

Figure out what to do with those.

def test_power_overwhelming_shadow_madness():
       game = prepare_game()
       game.player1.discard_hand()
       game.player2.discard_hand()

       # start the game on the dominant player
       if not game.players[0].current_player:
               game.end_turn()

       wisp1 = game.current_player.opponent.summon(SPELLBENDERT)
       shadowmadness = game.current_player.give("EX1_334")
       shadowmadness.play(target=wisp1)
       game.current_player.give("EX1_316").play(target=wisp1)
       game.end_turn()

       assert wisp1.dead

       wisp2 = game.current_player.opponent.summon(WISP)
       shadowmadness = game.current_player.give("EX1_334")
       shadowmadness.play(target=wisp2)
       game.current_player.give("EX1_316").play(target=wisp2)
       game.end_turn()

       assert not wisp2.dead
       assert wisp2.controller == game.current_player

jleclanche avatar Jan 05 '16 23:01 jleclanche

Do they fail currently? Do you want them in a separate file?

beheh avatar Jan 08 '16 12:01 beheh

It's for reference. I'm not sure I care about it yet.

jleclanche avatar Jan 08 '16 13:01 jleclanche

However, note that the Shadow Madness + Power Overwhelming interaction has been fixed in Patch 5.0; the minion always die

https://hearthstone.fandom.com/wiki/Advanced_rulebook#Dominant_Player_Bug

shinoi2 avatar Dec 14 '23 06:12 shinoi2