mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Converted Nissa's Chosen to script
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
Name:Kira, Great Glass-Spinner
|
Name:Kira, Great Glass-Spinner
|
||||||
ManaCost:1 U U
|
ManaCost:1 U U
|
||||||
Types:Legendary Creature Spirit
|
Types:Legendary Creature Spirit
|
||||||
Text:no text
|
|
||||||
PT:2/2
|
PT:2/2
|
||||||
K:Flying
|
K:Flying
|
||||||
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddTrigger$ KiraGlassSpinnerTrig | AddSVar$ KiraGlassSpinnerCounter & Targeting | Description$ Creatures you control have "Whenever this creature becomes the target of a spell or ability for the first time in a turn, counter that spell or ability."
|
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddTrigger$ KiraGlassSpinnerTrig | AddSVar$ KiraGlassSpinnerCounter & Targeting | Description$ Creatures you control have "Whenever this creature becomes the target of a spell or ability for the first time in a turn, counter that spell or ability."
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
Name:Nissa's Chosen
|
Name:Nissa's Chosen
|
||||||
ManaCost:G G
|
ManaCost:G G
|
||||||
Types:Creature Elf Warrior
|
Types:Creature Elf Warrior
|
||||||
Text:If Nissa's Chosen would be put into a graveyard from the battlefield, put it on the bottom of its owner's library instead.
|
|
||||||
PT:2/3
|
PT:2/3
|
||||||
|
R:Event$ Moved | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | ReplaceWith$ NissaChosenRep | Description$ If CARDNAME would die, put it on the bottom of its owner's library instead.
|
||||||
|
SVar:NissaChosenRep:AB$ ChangeZone | Cost$ 0 | Hidden$ True | Origin$ All | Destination$ Library | LibraryPosition$ -1 | Defined$ ReplacedCard
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/nissas_chosen.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/nissas_chosen.jpg
|
||||||
Oracle:If Nissa's Chosen would die, put it on the bottom of its owner's library instead.
|
Oracle:If Nissa's Chosen would die, put it on the bottom of its owner's library instead.
|
||||||
SetInfo:ZEN Common
|
SetInfo:ZEN Common
|
||||||
@@ -470,10 +470,6 @@ public class GameAction {
|
|||||||
final PlayerZone grave = owner.getZone(ZoneType.Graveyard);
|
final PlayerZone grave = owner.getZone(ZoneType.Graveyard);
|
||||||
final PlayerZone exile = owner.getZone(ZoneType.Exile);
|
final PlayerZone exile = owner.getZone(ZoneType.Exile);
|
||||||
|
|
||||||
if (c.getName().equals("Nissa's Chosen") && origZone.is(ZoneType.Battlefield)) {
|
|
||||||
return this.moveToLibrary(c, -1);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (c.hasKeyword("If CARDNAME would be put into a graveyard, exile it instead.")) {
|
if (c.hasKeyword("If CARDNAME would be put into a graveyard, exile it instead.")) {
|
||||||
return this.moveTo(exile, c);
|
return this.moveTo(exile, c);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user