rename MagicCopyTargetPicker to MagicCopyPermanentPicker

master
melvin 2013-11-29 14:42:51 +08:00
parent d9c6fb5f5b
commit dd7baa0c5a
10 changed files with 14 additions and 14 deletions

View File

@ -5,7 +5,7 @@
return new MagicEvent( return new MagicEvent(
cardOnStack, cardOnStack,
new MagicMayChoice(MagicTargetChoice.CREATURE), new MagicMayChoice(MagicTargetChoice.CREATURE),
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
this, this,
"Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield." "Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield."
); );

View File

@ -48,7 +48,7 @@ def GainAct = new MagicStatic(MagicLayer.Ability) {
return new MagicEvent( return new MagicEvent(
cardOnStack, cardOnStack,
new MagicMayChoice(MagicTargetChoice.CREATURE), new MagicMayChoice(MagicTargetChoice.CREATURE),
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
this, this,
"Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield, " + "Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield, " +
"except it gains \"{U}{B}, {T}: Destroy target creature with the same name as this creature.\"" "except it gains \"{U}{B}, {T}: Destroy target creature with the same name as this creature.\""

View File

@ -14,7 +14,7 @@
return new MagicEvent( return new MagicEvent(
source, source,
MagicTargetChoice.TARGET_NON_LEGENDARY_CREATURE_YOU_CONTROL, MagicTargetChoice.TARGET_NON_LEGENDARY_CREATURE_YOU_CONTROL,
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
this, this,
"Put a token that's a copy of target nonlegendary creature\$ you control onto the battlefield. "+ "Put a token that's a copy of target nonlegendary creature\$ you control onto the battlefield. "+
"That token has haste. Sacrifice it at the beginning of the next end step." "That token has haste. Sacrifice it at the beginning of the next end step."

View File

@ -12,7 +12,7 @@ def ST = new MagicStatic(MagicLayer.Type) {
return new MagicEvent( return new MagicEvent(
cardOnStack, cardOnStack,
new MagicMayChoice(MagicTargetChoice.CREATURE), new MagicMayChoice(MagicTargetChoice.CREATURE),
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
this, this,
"Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield, " + "Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield, " +
"except it's an Illusion in addition to its other types and it gains \"When this creature becomes the target of a spell or ability, sacrifice it.\"" "except it's an Illusion in addition to its other types and it gains \"When this creature becomes the target of a spell or ability, sacrifice it.\""

View File

@ -33,7 +33,7 @@ def GainTrig = new MagicStatic(MagicLayer.Ability) {
return new MagicEvent( return new MagicEvent(
cardOnStack, cardOnStack,
new MagicMayChoice(MagicTargetChoice.CREATURE), new MagicMayChoice(MagicTargetChoice.CREATURE),
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
this, this,
"Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield, " + "Put SN onto the battlefield. You may\$ have SN enter the battlefield as a copy of any creature\$ on the battlefield, " +
"except it gains \"At the beginning of your upkeep, if this creature isn't a token, put a token onto the battlefield that's a copy of this creature.\"" "except it gains \"At the beginning of your upkeep, if this creature isn't a token, put a token onto the battlefield that's a copy of this creature.\""

View File

@ -5,7 +5,7 @@
return new MagicEvent( return new MagicEvent(
cardOnStack, cardOnStack,
MagicTargetChoice.TARGET_CREATURE, MagicTargetChoice.TARGET_CREATURE,
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
this, this,
"Put a token onto the battlefield that's a copy of target creature\$. " + "Put a token onto the battlefield that's a copy of target creature\$. " +
"If SN was kicked, put five of those tokens onto the battlefield instead." "If SN was kicked, put five of those tokens onto the battlefield instead."

View File

@ -5,7 +5,7 @@
return new MagicEvent( return new MagicEvent(
cardOnStack, cardOnStack,
MagicTargetChoice.TARGET_ARTIFACT_OR_CREATURE, MagicTargetChoice.TARGET_ARTIFACT_OR_CREATURE,
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
this, this,
"Put a token onto the battlefield that's a copy of target artifact or creature\$. " + "Put a token onto the battlefield that's a copy of target artifact or creature\$. " +
"Cipher." "Cipher."

View File

@ -6,7 +6,7 @@ import magic.model.MagicPermanent;
import magic.model.action.MagicPermanentAction; import magic.model.action.MagicPermanentAction;
import magic.model.action.MagicPlayTokenAction; import magic.model.action.MagicPlayTokenAction;
import magic.model.choice.MagicTargetChoice; import magic.model.choice.MagicTargetChoice;
import magic.model.target.MagicCopyTargetPicker; import magic.model.target.MagicCopyPermanentPicker;
public class MagicPopulateEvent extends MagicEvent { public class MagicPopulateEvent extends MagicEvent {
@ -14,7 +14,7 @@ public class MagicPopulateEvent extends MagicEvent {
super( super(
source, source,
MagicTargetChoice.CREATURE_TOKEN_YOU_CONTROL, MagicTargetChoice.CREATURE_TOKEN_YOU_CONTROL,
MagicCopyTargetPicker.create(), MagicCopyPermanentPicker.create(),
EA, EA,
"Put a token onto the battlefield that's a copy of a creature token$ you control." "Put a token onto the battlefield that's a copy of a creature token$ you control."
); );

View File

@ -4,13 +4,13 @@ import magic.model.MagicGame;
import magic.model.MagicPermanent; import magic.model.MagicPermanent;
import magic.model.MagicPlayer; import magic.model.MagicPlayer;
public class MagicCopyTargetPicker extends MagicTargetPicker<MagicPermanent> { public class MagicCopyPermanentPicker extends MagicTargetPicker<MagicPermanent> {
private static final MagicCopyTargetPicker INSTANCE=new MagicCopyTargetPicker(); private static final MagicCopyPermanentPicker INSTANCE=new MagicCopyPermanentPicker();
private MagicCopyTargetPicker() {} private MagicCopyPermanentPicker() {}
public static MagicCopyTargetPicker create() { public static MagicCopyPermanentPicker create() {
return INSTANCE; return INSTANCE;
} }

View File

@ -39,7 +39,7 @@ public abstract class MagicTargetPicker<T> {
register("weaken", new MagicWeakenTargetPicker(0,0)); register("weaken", new MagicWeakenTargetPicker(0,0));
register("flying", MagicFlyingTargetPicker.create()); register("flying", MagicFlyingTargetPicker.create());
register("lifelink", MagicLifelinkTargetPicker.create()); register("lifelink", MagicLifelinkTargetPicker.create());
register("copy", MagicCopyTargetPicker.create()); register("copy", MagicCopyPermanentPicker.create());
register("haste", MagicHasteTargetPicker.create()); register("haste", MagicHasteTargetPicker.create());
register("trample", MagicTrampleTargetPicker.create()); register("trample", MagicTrampleTargetPicker.create());
register("unblockable", MagicUnblockableTargetPicker.create()); register("unblockable", MagicUnblockableTargetPicker.create());