replace permanent with SN

master
melvin 2012-09-17 14:40:19 +08:00
parent 7404a98bd1
commit 18e6b5f77a
14 changed files with 37 additions and 41 deletions

View File

@ -23,7 +23,7 @@ public class Call_to_the_Grave {
permanent,
player,
this,
player + " sacrifices a non-Zombie creature.");
"PN sacrifices a non-Zombie creature.");
}
@Override

View File

@ -24,13 +24,13 @@ public class Charmbreaker_Devils {
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPlayer data) {
final MagicPlayer player = permanent.getController();
return (player == data) ?
new MagicEvent(
permanent,
player,
this,
"Return an instant or sorcery card at random " +
"from your graveyard to your hand.") :
MagicEvent.NONE;
new MagicEvent(
permanent,
player,
this,
"Return an instant or sorcery card at random " +
"from your graveyard to your hand.") :
MagicEvent.NONE;
}
@Override
public void executeEvent(
@ -63,7 +63,7 @@ public class Charmbreaker_Devils {
permanent,
player,
this,
permanent + " gets +4/+0 until end of turn."):
"SN gets +4/+0 until end of turn."):
MagicEvent.NONE;
}
@Override

View File

@ -17,12 +17,12 @@ public class Dauthi_Ghoul {
return (otherPermanent != permanent &&
otherPermanent.isCreature() &&
otherPermanent.hasAbility(MagicAbility.Shadow)) ?
new MagicEvent(
permanent,
player,
this,
player + " puts a +1/+1 counter on " + permanent + ".") :
MagicEvent.NONE;
new MagicEvent(
permanent,
player,
this,
"PN puts a +1/+1 counter on SN.") :
MagicEvent.NONE;
}
@Override
public void executeEvent(

View File

@ -15,9 +15,8 @@ public class Deep_Slumber_Titan {
return (damage.getTarget() == permanent && permanent.isTapped()) ?
new MagicEvent(
permanent,
permanent.getController(),
this,
"Untap " + permanent + ".") :
"Untap SN.") :
MagicEvent.NONE;
}
@Override

View File

@ -22,7 +22,7 @@ public class Draining_Whelk {
player,
MagicTargetChoice.TARGET_SPELL,
this,
"Counter target spell$. Put X +1/+1 counters on " + permanent +
"Counter target spell$. Put X +1/+1 counters on SN " +
", where X is that spell's converted mana cost.");
}
@Override

View File

@ -29,9 +29,8 @@ public class Elder_Land_Wurm {
return (permanent == data) ?
new MagicEvent(
permanent,
permanent.getController(),
this,
permanent + " loses defender."):
"SN loses defender."):
MagicEvent.NONE;
}
@Override

View File

@ -17,7 +17,7 @@ public class Festerhide_Boar {
permanent,
player,
this,
permanent + " enters the battlefield with two +1/+1 counters on it ");
"SN enters the battlefield with two +1/+1 counters on it ");
}
return MagicEvent.NONE;
}

View File

@ -40,7 +40,7 @@ public class Fettergeist {
permanent,
player,
this,
"Sacrifice " + permanent + " unless you pay " +
"Sacrifice SN unless you pay " +
"{1} for each other creature you control.") :
MagicEvent.NONE;
}
@ -58,11 +58,11 @@ public class Fettergeist {
event.getSource(),
event.getPlayer(),
new MagicMayChoice(
"You may pay " + cost.getText(),
new MagicPayManaCostChoice(cost)),
"You may pay " + cost.getText(),
new MagicPayManaCostChoice(cost)),
EVENT_ACTION,
"You may$ pay " + cost.getText() +
"$. If you don't, sacrifice " + event.getSource() + "."
"$. If you don't, sacrifice SN."
);
game.doAction(new MagicPutItemOnStackAction(new MagicTriggerOnStack(triggerEvent)));
}

View File

@ -32,8 +32,8 @@ public class Flameblast_Dragon {
MagicTargetChoice.NEG_TARGET_CREATURE_OR_PLAYER),
new MagicDamageTargetPicker(player.getMaximumX(game,MagicManaCost.X_RED)),
this,
"You may pay$ {X}{R}$. If you do, " + permanent +
" deals X damage to target creature or player$."):
"You may pay$ {X}{R}$. If you do, SN " +
"deals X damage to target creature or player$."):
MagicEvent.NONE;
}

View File

@ -19,14 +19,14 @@ public class Mordant_Dragon {
final int amount=damage.getAmount();
return (damage.getSource()==permanent&&damage.getTarget().isPlayer()&&damage.isCombat()) ?
new MagicEvent(
permanent,
new MagicMayChoice(
permanent.getController() + " may have " + permanent + " deal that much damage to target creature.",
MagicTargetChoice.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS),
new MagicDamageTargetPicker(amount),
new Object[]{amount},
this,
"PN may$ have SN deal "+amount+" damage to target creature$ your opponent controls."):
permanent,
new MagicMayChoice(
permanent.getController() + " may have " + permanent + " deal that much damage to target creature.",
MagicTargetChoice.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS),
new MagicDamageTargetPicker(amount),
new Object[]{amount},
this,
"PN may$ have SN deal "+amount+" damage to target creature$ your opponent controls."):
MagicEvent.NONE;
}

View File

@ -19,7 +19,7 @@ public class Promise_of_Bunrei {
permanent,
player,
this,
"Sacrifice " + permanent + ". If you do, " +
"Sacrifice SN. If you do, " +
"put four 1/1 colorless Spirit creature tokens onto the battlefield."):
MagicEvent.NONE;
}

View File

@ -80,7 +80,7 @@ public class Quest_for_the_Gemblades {
1,
MagicSimpleMayChoice.DEFAULT_YES),
this,
player + " may$ put a quest counter on " + permanent + "."):
"PN may$ put a quest counter on SN."):
MagicEvent.NONE;
}
@Override

View File

@ -44,9 +44,8 @@ public class Unbreathing_Horde {
return new MagicEvent(
permanent,
permanent.getController(),
this,
"Remove a +1/+1 counter from " + permanent + "."
"Remove a +1/+1 counter from SN."
);
}
return MagicEvent.NONE;

View File

@ -61,7 +61,6 @@ public class Witherscale_Wurm {
return (permanent == blocker && attacker.isValid()) ?
new MagicEvent(
permanent,
permanent.getController(),
new Object[]{attacker},
this,
attacker + " gains wither until end of turn."):
@ -91,7 +90,7 @@ public class Witherscale_Wurm {
permanent,
player,
this,
"Remove all -1/-1 counters from " + permanent + "."):
"Remove all -1/-1 counters from SN."):
MagicEvent.NONE;
}
@Override