mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[TLA] Fix Earthbending with creature counter replacement
Did not work with effects that apply replacement effects to counters being added to creatures (but not to lands). Fixed by processing action between turning the land into a creature and putting the counters on it.
This commit is contained in:
parent
b715043d4a
commit
e8d5fb8c59
1 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ public class EarthbendTargetEffect extends OneShotEffect {
|
||||||
.withAbility(HasteAbility.getInstance()),
|
.withAbility(HasteAbility.getInstance()),
|
||||||
false, true, Duration.Custom
|
false, true, Duration.Custom
|
||||||
), source);
|
), source);
|
||||||
|
// Make the land into a creature before putting counters on, for the purposes of counter doublers that only apply to creatures.
|
||||||
|
game.processAction();
|
||||||
permanent.addCounters(CounterType.P1P1.createInstance(value), source, game);
|
permanent.addCounters(CounterType.P1P1.createInstance(value), source, game);
|
||||||
game.addDelayedTriggeredAbility(new EarthbendingDelayedTriggeredAbility(permanent, game), source);
|
game.addDelayedTriggeredAbility(new EarthbendingDelayedTriggeredAbility(permanent, game), source);
|
||||||
game.fireEvent(GameEvent.getEvent(
|
game.fireEvent(GameEvent.getEvent(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue