mirror of
https://github.com/magefree/mage.git
synced 2026-01-22 19:29:59 -08:00
* Gideon, Champion of Justice - Fixed that the P/T did not change if loyality counters were added after using the 0 ability.
This commit is contained in:
parent
ace81d1c74
commit
fc1a1523c5
4 changed files with 94 additions and 8 deletions
|
|
@ -82,7 +82,7 @@ public class GideonTest extends CardTestPlayerBase {
|
|||
*/
|
||||
@Test
|
||||
public void testGideonChampionOfJusticeSecondAbility() {
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Plains", 4);
|
||||
/*
|
||||
Gideon, Champion of Justice {2}{W}{W} - 4 Loyalty
|
||||
+1: Put a loyalty counter on Gideon, Champion of Justice for each creature target opponent controls.
|
||||
|
|
@ -94,16 +94,24 @@ public class GideonTest extends CardTestPlayerBase {
|
|||
|
||||
-15: Exile all other permanents.
|
||||
*/
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Gideon, Champion of Justice", 1);
|
||||
addCard(Zone.HAND, playerA, "Gideon, Champion of Justice", 1);
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Silvercoat Lion", 2);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Gideon, Champion of Justice");
|
||||
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "+0: Until end of turn");
|
||||
setStopAt(1, PhaseStep.BEGIN_COMBAT);
|
||||
|
||||
activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "+1: Put a loyalty counter on", playerB);
|
||||
|
||||
activateAbility(5, PhaseStep.PRECOMBAT_MAIN, playerA, "+0: Until end of turn");
|
||||
|
||||
setStopAt(5, PhaseStep.BEGIN_COMBAT);
|
||||
execute();
|
||||
|
||||
assertGraveyardCount(playerA, "Gideon, Champion of Justice", 0);
|
||||
assertPermanentCount(playerA, "Gideon, Champion of Justice", 1);
|
||||
assertPowerToughness(playerA, "Gideon, Champion of Justice", 4, 4);
|
||||
assertCounterCount(playerA, "Gideon, Champion of Justice", CounterType.LOYALTY, 4);
|
||||
assertCounterCount(playerA, "Gideon, Champion of Justice", CounterType.LOYALTY, 7);
|
||||
assertPowerToughness(playerA, "Gideon, Champion of Justice", 7, 7);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue