[ new MagicWhenOtherComesIntoPlayTrigger() { @Override public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) { if (otherPermanent.isEnemy(permanent) && (otherPermanent.isArtifact() || otherPermanent.isCreature())) { game.doAction(new MagicTapAction(otherPermanent,false)); } return MagicEvent.NONE; } } ]