fix implementation of grow chosen effect

master
melvin 2013-10-30 14:45:32 +08:00
parent 6f72be4f86
commit 4639577577
1 changed files with 10 additions and 6 deletions

View File

@ -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
));
}
});
}
};
}