From 8ded1981fb08e1f227d46c411201f11e5b37ca5c Mon Sep 17 00:00:00 2001 From: drmDev Date: Wed, 13 Jul 2016 04:50:57 -0400 Subject: [PATCH] Gideon Champion of Justice bugfix fixes #2069 --- .../src/mage/sets/gatecrash/GideonChampionOfJustice.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Mage.Sets/src/mage/sets/gatecrash/GideonChampionOfJustice.java b/Mage.Sets/src/mage/sets/gatecrash/GideonChampionOfJustice.java index debb217f509..6e9e6fb1766 100644 --- a/Mage.Sets/src/mage/sets/gatecrash/GideonChampionOfJustice.java +++ b/Mage.Sets/src/mage/sets/gatecrash/GideonChampionOfJustice.java @@ -74,7 +74,7 @@ public class GideonChampionOfJustice extends CardImpl { 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. - 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)); this.addAbility(ability2); @@ -129,9 +129,11 @@ class GideonChampionOfJusticeToken extends Token { subtype.add("Soldier"); power = new MageInt(0); toughness = new MageInt(0); - + 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))); } }