fix implementation of grow chosen effect
parent
6f72be4f86
commit
4639577577
|
@ -560,12 +560,16 @@ public enum MagicRuleEventAction {
|
|||
return new MagicEventAction() {
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
game.doAction(new MagicChangeCountersAction(
|
||||
event.getPermanent(),
|
||||
MagicCounterType.PlusOne,
|
||||
amount,
|
||||
true
|
||||
));
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent creature) {
|
||||
game.doAction(new MagicChangeCountersAction(
|
||||
creature,
|
||||
MagicCounterType.PlusOne,
|
||||
amount,
|
||||
true
|
||||
));
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue