magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.91k stars 779 forks source link

Decimator Beetle #3423

Closed Homnomz closed 7 years ago

Homnomz commented 7 years ago

I don't know why, because it was working last night, but I wasn't able to target my opponent's creatures at all when attacking with Decimator Beetle.

drmDev commented 7 years ago

Do you have a game log?

Homnomz commented 7 years ago

Here you go. 20170524_135929_Two Player Duel_2.txt

LevelX2 commented 7 years ago

13:59: Homnom has joined the game 13:59: lili has joined the game : Match score:lili - 1 win DeckHash: -6514305658244243567 Homnom - 0 wins DeckHash: -4654424518060657016 Match is not rated You have to win 2 games to win the complete matchGame has started

13:59: Homnom's library is shuffled 13:59: lili's library is shuffled 13:59: Homnom chooses that he or she takes the first turn 13:59: Homnom draws seven cards 13:59: lili draws seven cards 13:59: Homnom decides to take mulligan 13:59: lili decides to take mulligan 13:59: Homnom's library is shuffled 13:59: Homnom mulligans down to 6 cards 13:59: Homnom draws six cards 13:59: lili's library is shuffled 13:59: lili mulligans down to 6 cards 13:59: lili draws six cards 13:59: Homnom decides to take mulligan 13:59: lili keeps hand 13:59: Homnom's library is shuffled 13:59: Homnom mulligans down to 5 cards 13:59: Homnom draws five cards 14:00: Homnom keeps hand 14:00: Homnom scries 1 14:00: Homnom puts a card from library to the bottom of his or her library 14:00: lili scries 1 14:00: lili puts a card from library to the bottom of his or her library 14:00: Turn 1 Homnom (20 - 20) 14:00: Homnom puts Swamp [85e] from hand onto the Battlefield 14:00: Homnom plays Swamp [85e] 14:00: Homnom attacks with 0 creatures 14:00: Turn 2 lili (20 - 20) 14:00: lili draws a card 14:00: lili reveals Plains 14:00: lili puts Fortified Village [1c0] from hand onto the Battlefield 14:00: lili plays Fortified Village [1c0] 14:00: lili attacks with 0 creatures 14:00: Turn 3 Homnom (20 - 20) 14:00: Homnom draws a card 14:00: Homnom puts Forest [220] from hand onto the Battlefield 14:00: Homnom plays Forest [220] 14:00: Homnom attacks with 0 creatures 14:00: Turn 4 lili (20 - 20) 14:00: lili draws a card 14:00: lili puts Plains [741] from hand onto the Battlefield 14:00: lili plays Plains [741] 14:00: lili casts Channeler Initiate [5ed] 14:00: lili puts Channeler Initiate [5ed] from stack onto the Battlefield 14:00: Ability triggers: Channeler Initiate [5ed] - When Channeler Initiate [5ed] enters the battlefield, put three -1/-1 counters on target creature you control. - targeting Channeler Initiate [5ed] 14:00: Channeler Initiate [5ed]: lili puts 3 -1/-1 counter on Channeler Initiate [5ed] 14:00: lili attacks with 0 creatures 14:00: Turn 5 Homnom (20 - 20) 14:00: Homnom draws a card 14:00: Homnom puts Forest [491] from hand onto the Battlefield 14:00: Homnom plays Forest [491] 14:00: Homnom attacks with 0 creatures 14:00: Turn 6 lili (20 - 20) 14:01: lili draws a card 14:01: lili puts Westvale Abbey [e6a] from hand onto the Battlefield 14:01: lili plays Westvale Abbey [e6a] 14:01: lili casts Gideon, Ally of Zendikar [5f9] 14:01: lili puts Gideon, Ally of Zendikar [5f9] from stack onto the Battlefield 14:01: lili activates: create a 2/2 white Knight Ally creature token. from Gideon, Ally of Zendikar [5f9] 14:01: lili creates a Knight Ally [048] token 14:01: lili attacks with 0 creatures 14:01: Homnom casts Splendid Agony [458] targeting Channeler Initiate 5ed 14:01: Homnom puts Splendid Agony [458] from stack into his or her graveyard 14:01: Channeler Initiate [5ed] is put into graveyard from battlefield 14:01: Turn 7 Homnom (20 - 20) 14:01: Homnom draws a card 14:01: Homnom puts Forest [637] from hand onto the Battlefield 14:01: Homnom plays Forest [637] 14:02: Homnom attacks with 0 creatures 14:02: Turn 8 lili (20 - 20) 14:02: lili draws a card 14:02: lili puts Plains [1f3] from hand onto the Battlefield 14:02: lili plays Plains [1f3] 14:02: lili casts Always Watching [6b3] 14:02: lili puts Always Watching [6b3] from stack onto the Battlefield 14:02: lili activates: until end of turn Gideon, Ally of Zendikar [5f9] becomes a 5/5 Human Soldier Ally creature with indestructible that's still a planeswalker. Prevent all damage that would be dealt to him this turn. from Gideon, Ally of Zendikar [5f9] 14:02: Homnom casts Appetite for the Unnatural [e39] targeting Always Watching [6b3] 14:02: Always Watching [6b3] was destroyed 14:02: Homnom gains 2 life 14:02: Homnom puts Appetite for the Unnatural [e39] from stack into his or her graveyard 14:03: lili attacks with 2 creatures 14:03: Attacker: Gideon, Ally of Zendikar [5f9] (5/5) unblocked 14:03: Attacker: Knight Ally [048] (2/2) unblocked 14:03: Homnom loses 5 life 14:03: Homnom loses 2 life 14:03: Turn 9 Homnom (15 - 20) 14:03: Homnom draws a card 14:03: Homnom puts Aether Hub [e7b] from hand onto the Battlefield 14:03: Homnom plays Aether Hub [e7b] 14:03: Ability triggers: Aether Hub [e7b] - When Aether Hub [e7b] enters the battlefield, you get (an energy counter). 14:03: Homnom casts Decimator Beetle [f29] 14:03: Homnom puts Decimator Beetle [f29] from stack onto the Battlefield 14:03: Ability triggers: Decimator Beetle [f29] - When Decimator Beetle [f29] enters the battlefield, put a -1/-1 counter on target creature you control. - targeting Decimator Beetle [f29] 14:03: Decimator Beetle [f29]: Homnom puts 1 -1/-1 counter on Decimator Beetle [f29] 14:03: Homnom attacks with 0 creatures 14:03: Turn 10 lili (15 - 20) 14:03: lili draws a card 14:03: lili puts Canopy Vista [66a] from hand onto the Battlefield 14:03: lili plays Canopy Vista [66a] 14:03: lili casts Felidar Cub [250] 14:03: lili puts Felidar Cub [250] from stack onto the Battlefield 14:04: lili activates: create a 2/2 white Knight Ally creature token. from Gideon, Ally of Zendikar [5f9] 14:04: lili creates a Knight Ally [812] token 14:04: lili attacks with 0 creatures 14:04: Turn 11 Homnom (15 - 20) 14:04: Homnom draws a card 14:04: Homnom puts Swamp [0f1] from hand onto the Battlefield 14:04: Homnom plays Swamp [0f1] 14:04: Homnom attacks with 0 creatures 14:04: Turn 12 lili (15 - 20) 14:04: lili draws a card 14:04: lili puts Plains [f71] from hand onto the Battlefield 14:04: lili plays Plains [f71] 14:04: lili activates: create a 2/2 white Knight Ally creature token. from Gideon, Ally of Zendikar [5f9] 14:04: lili creates a Knight Ally [85a] token 14:04: lili attacks with 0 creatures 14:04: Turn 13 Homnom (15 - 20) 14:04: Homnom draws a card 14:05: Homnom puts Forest [f09] from hand onto the Battlefield 14:05: Homnom plays Forest [f09] 14:05: Homnom casts Defiant Greatmaw [6e3] 14:05: Homnom puts Defiant Greatmaw [6e3] from stack onto the Battlefield 14:05: Ability triggers: Defiant Greatmaw [6e3] - When Defiant Greatmaw [6e3] enters the battlefield, put two -1/-1 counters on target creature you control. - targeting Defiant Greatmaw [6e3] 14:05: Defiant Greatmaw [6e3]: Homnom puts 2 -1/-1 counter on Defiant Greatmaw [6e3] 14:05: Ability triggers: Defiant Greatmaw [6e3] - Whenever you put one or more -1/-1 counters on Defiant Greatmaw [6e3], remove a -1/-1 counter from another target creature you control. - targeting Decimator Beetle [f29] 14:05: Removed 1 -1/-1 counter from Decimator Beetle 14:05: Homnom attacks with 1 creature 14:05: Ability triggers: Decimator Beetle [f29] - Whenever Decimator Beetle [f29] attacks, remove a -1/-1 counter from target creature you control and put a -1/-1 counter on up to one target creature defending player controls. - targeting Defiant Greatmaw [6e3] 14:05: Removed 1 -1/-1 counter from Defiant Greatmaw 14:05: Attacker: Decimator Beetle [f29] (4/5) blocked by Knight Ally [85a] (2/2) 14:07: Player request: Rolling back to start of turn 13 14:07: Turn 13 Homnom (15 - 20) 14:07: Homnom draws a card 14:07: Homnom casts Defiant Greatmaw [6e3] 14:07: Homnom puts Defiant Greatmaw [6e3] from stack onto the Battlefield 14:07: Ability triggers: Defiant Greatmaw [6e3] - When Defiant Greatmaw [6e3] enters the battlefield, put two -1/-1 counters on target creature you control. - targeting Defiant Greatmaw [6e3] 14:07: Defiant Greatmaw [6e3]: Homnom puts 2 -1/-1 counter on Defiant Greatmaw [6e3] 14:07: Ability triggers: Defiant Greatmaw [6e3] - Whenever you put one or more -1/-1 counters on Defiant Greatmaw [6e3], remove a -1/-1 counter from another target creature you control. - targeting Decimator Beetle [f29] 14:07: Removed 1 -1/-1 counter from Decimator Beetle 14:08: Homnom attacks with 1 creature 14:08: Ability triggers: Decimator Beetle [f29] - Whenever Decimator Beetle [f29] attacks, remove a -1/-1 counter from target creature you control and put a -1/-1 counter on up to one target creature defending player controls. - targeting Defiant Greatmaw [6e3] 14:08: Removed 1 -1/-1 counter from Defiant Greatmaw 14:08: Attacker: Decimator Beetle [f29] (4/5) blocked by Knight Ally [85a] (2/2) 14:08: Decimator Beetle [f29] deals 4 damage to Knight Ally [85a] 14:08: Knight Ally [85a] deals 2 damage to Decimator Beetle [f29] 14:08: Knight Ally [85a] died 14:08: Turn 14 lili (15 - 20) 14:08: lili draws a card 14:09: lili puts Forest [c48] from hand onto the Battlefield 14:09: lili plays Forest [c48] 14:09: lili activates: create a 2/2 white Knight Ally creature token. from Gideon, Ally of Zendikar [5f9] 14:09: lili creates a Knight Ally [d6f] token 14:09: lili attacks with 0 creatures 14:09: Turn 15 Homnom (15 - 20) 14:09: Homnom draws a card 14:09: Homnom attacks with 2 creatures 14:10: Ability triggers: Decimator Beetle [f29] - Whenever Decimator Beetle [f29] attacks, remove a -1/-1 counter from target creature you control and put a -1/-1 counter on up to one target creature defending player controls. - targeting Defiant Greatmaw [6e3] 14:10: Removed 1 -1/-1 counter from Defiant Greatmaw 14:10: Attacker: Decimator Beetle [f29] (4/5) blocked by Knight Ally [812] (2/2) 14:10: Attacker: Defiant Greatmaw [6e3] (4/5) blocked by Knight Ally [d6f] (2/2) 14:10: Decimator Beetle [f29] deals 4 damage to Knight Ally [812] 14:10: Knight Ally [812] deals 2 damage to Decimator Beetle [f29] 14:10: Defiant Greatmaw [6e3] deals 4 damage to Knight Ally [d6f] 14:10: Knight Ally [d6f] deals 2 damage to Defiant Greatmaw [6e3] 14:10: Knight Ally [812] died 14:10: Knight Ally [d6f] died 14:10: Homnom casts Decimator Beetle [4b7] 14:11: Homnom puts Decimator Beetle [4b7] from stack onto the Battlefield 14:11: Ability triggers: Decimator Beetle [4b7] - When Decimator Beetle [4b7] enters the battlefield, put a -1/-1 counter on target creature you control. - targeting Decimator Beetle [4b7] 14:11: Decimator Beetle [4b7]: Homnom puts 1 -1/-1 counter on Decimator Beetle [4b7] 14:11: Turn 16 lili (15 - 20) 14:11: lili draws a card 14:11: lili casts Dusk [7fd] 14:11: Decimator Beetle [f29] died 14:11: Defiant Greatmaw [6e3] died 14:11: Decimator Beetle [4b7] died 14:11: lili puts Dusk [7fd] from hand into his or her graveyard 14:11: lili puts Fortified Village [201] from hand onto the Battlefield 14:11: lili plays Fortified Village [201] 14:12: Player request: Rolling back to start of turn 16 14:12: Turn 16 lili (15 - 20) 14:12: lili draws a card 14:12: lili casts Dusk [7fd] 14:12: Decimator Beetle [f29] died 14:12: Defiant Greatmaw [6e3] died 14:12: Decimator Beetle [4b7] died 14:12: lili puts Dusk [7fd] from hand into his or her graveyard 14:12: lili activates: until end of turn Gideon, Ally of Zendikar [5f9] becomes a 5/5 Human Soldier Ally creature with indestructible that's still a planeswalker. Prevent all damage that would be dealt to him this turn. from Gideon, Ally of Zendikar [5f9] 14:13: lili attacks with 3 creatures 14:13: Homnom has conceded. 14:13: lili has won the game 14:13: Homnom has lost the game.

LevelX2 commented 7 years ago

Code looks ok. Probably because the target is "up to 1" and therefore optional you clicked on "cancel" instead of selecting a target creature of defending player.

Homnomz commented 7 years ago

I ended up clicking on done because clicking on enemy creatures did nothing.

[edit: there was no cancel button, just the done button. When selecting my own creature, just clicking the creature was sufficient. When clicking the opponents creatures did nothing, I just clicked done.]

Initially I wanted to target the Felidar cub, and when clicking on it did nothing, I tried the tokens to no avail. A rollback also didn't solve the problem.

I Don't have time today to test it, but will comment again after testing the beetle once more. Hopefully it was just a one time bug.

drmDev commented 7 years ago

Will add UT and test manually later tonight.

drmDev commented 7 years ago

UT added - works as expected. Manual tested as well. When you attack with Decimator Beetle you must first target a creature you control (even if just Decimator Beetle) and then target a creature the opponent controls.

decimator