mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
[ZNR] fixed Jace, Mirror Mage token dying on entry (#7046)
This commit is contained in:
parent
c6e4a309fe
commit
0369a8dfb4
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
*/
|
*/
|
||||||
package mage.abilities.common;
|
package mage.abilities.common;
|
||||||
|
|
||||||
|
import mage.abilities.effects.EntersBattlefieldEffect;
|
||||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||||
import mage.counters.CounterType;
|
import mage.counters.CounterType;
|
||||||
|
|
||||||
|
@ -33,7 +34,7 @@ public class PlaneswalkerEntersWithLoyaltyCountersAbility extends EntersBattlefi
|
||||||
public void setStartingLoyalty(int startingLoyalty) {
|
public void setStartingLoyalty(int startingLoyalty) {
|
||||||
this.startingLoyalty = startingLoyalty;
|
this.startingLoyalty = startingLoyalty;
|
||||||
this.getEffects().clear();
|
this.getEffects().clear();
|
||||||
this.addEffect(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(startingLoyalty)));
|
this.addEffect(new EntersBattlefieldEffect(new AddCountersSourceEffect(CounterType.LOYALTY.createInstance(startingLoyalty))));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue