removed MagicVividLandTrigger, split into enters tapped and enters charged 2

master
melvin 2011-11-21 22:08:56 +08:00
parent b4aee11d3f
commit 959fb499a3
1 changed files with 0 additions and 33 deletions

View File

@ -1,33 +0,0 @@
package magic.model.trigger;
import magic.model.MagicCounterType;
import magic.model.MagicGame;
import magic.model.MagicPlayer;
import magic.model.MagicPermanent;
import magic.model.action.MagicChangeCountersAction;
import magic.model.action.MagicTapAction;
import magic.model.event.MagicEvent;
public class MagicVividLandTrigger extends MagicWhenComesIntoPlayTrigger {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPlayer player) {
return new MagicEvent(
permanent,
permanent.getController(),
new Object[]{permanent},
this,
permanent+" enters the battlefield tapped with two charge counters on it.");
}
@Override
public void executeEvent(final MagicGame game,final MagicEvent event,final Object[] data,final Object[] choices) {
final MagicPermanent permanent=(MagicPermanent)data[0];
game.doAction(new MagicTapAction(permanent,false));
game.doAction(new MagicChangeCountersAction(permanent,MagicCounterType.Charge,2,false));
}
@Override
public boolean usesStack() {
return false;
}
}