mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Gideon Champion of Justice bugfix fixes #2069
This commit is contained in:
parent
96e88d7350
commit
8ded1981fb
1 changed files with 5 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ public class GideonChampionOfJustice extends CardImpl {
|
||||||
this.addAbility(ability1);
|
this.addAbility(ability1);
|
||||||
|
|
||||||
// 0: Until end of turn, Gideon becomes an indestructible Human Soldier creature with power and toughness each equal to the number of loyalty counters on him. He's still a planeswalker. Prevent all damage that would be dealt to him this turn.
|
// 0: Until end of turn, Gideon becomes an indestructible Human Soldier creature with power and toughness each equal to the number of loyalty counters on him. He's still a planeswalker. Prevent all damage that would be dealt to him this turn.
|
||||||
LoyaltyAbility ability2 = new LoyaltyAbility(new BecomesCreatureSourceEffect(new GideonChampionOfJusticeToken(), "planeswalker", Duration.EndOfTurn), 0);
|
LoyaltyAbility ability2 = new LoyaltyAbility(new BecomesCreatureSourceEffect(new GideonChampionOfJusticeToken(), "planeswalker", Duration.EndOfTurn, false, true), 0);
|
||||||
ability2.addEffect(new PreventAllDamageToSourceEffect(Duration.EndOfTurn));
|
ability2.addEffect(new PreventAllDamageToSourceEffect(Duration.EndOfTurn));
|
||||||
this.addAbility(ability2);
|
this.addAbility(ability2);
|
||||||
|
|
||||||
|
|
@ -131,7 +131,9 @@ class GideonChampionOfJusticeToken extends Token {
|
||||||
toughness = new MageInt(0);
|
toughness = new MageInt(0);
|
||||||
|
|
||||||
this.addAbility(IndestructibleAbility.getInstance());
|
this.addAbility(IndestructibleAbility.getInstance());
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new CountersCount(CounterType.LOYALTY), Duration.WhileOnBattlefield)));
|
|
||||||
|
CountersCount loyaltyCount = new CountersCount(CounterType.LOYALTY);
|
||||||
|
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(loyaltyCount, Duration.WhileOnBattlefield)));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue