mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
* Stinkdrinker Bandit - Fixed that it applies boost more than once in multiplayer games (fixes #3542).
This commit is contained in:
parent
a28dc88479
commit
e8f4b8947e
2 changed files with 20 additions and 12 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package org.mage.test.multiplayer;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import mage.constants.MultiplayerAttackOption;
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.RangeOfInfluence;
|
||||
|
|
@ -10,8 +11,6 @@ import mage.game.GameException;
|
|||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestMultiPlayerBase;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
|
||||
public class MultiplayerTriggerTest extends CardTestMultiPlayerBase {
|
||||
|
||||
@Override
|
||||
|
|
@ -26,9 +25,15 @@ public class MultiplayerTriggerTest extends CardTestMultiPlayerBase {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testMultiplayerAttackStinkdrinkerBanditTrigger(){
|
||||
String pestermite = "Pestermite";
|
||||
String stinkdrinker = "Stinkdrinker Bandit";
|
||||
public void testMultiplayerAttackStinkdrinkerBanditTrigger() {
|
||||
// Flash
|
||||
// Flying
|
||||
// When Pestermite enters the battlefield, you may tap or untap target permanent.
|
||||
String pestermite = "Pestermite"; // 2/1
|
||||
|
||||
// Prowl {1}, {B} (You may cast this for its prowl cost if you dealt combat damage to a player this turn with a Goblin or Rogue.)
|
||||
// Whenever a Rogue you control attacks and isn't blocked, it gets +2/+1 until end of turn.
|
||||
String stinkdrinker = "Stinkdrinker Bandit"; // 2/1
|
||||
addCard(Zone.BATTLEFIELD, playerA, stinkdrinker);
|
||||
addCard(Zone.BATTLEFIELD, playerA, pestermite, 1);
|
||||
|
||||
|
|
@ -38,6 +43,7 @@ public class MultiplayerTriggerTest extends CardTestMultiPlayerBase {
|
|||
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
|
||||
assertPowerToughness(playerA, stinkdrinker, 4, 2);
|
||||
assertPowerToughness(playerA, pestermite, 4, 2);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue