- Added limited support for "RememberChanged" parameter in AF Dig.

- Added Killer Instinct.
This commit is contained in:
Sloth
2011-08-27 19:22:14 +00:00
parent 0888f2b7d4
commit fc8186208e
4 changed files with 15 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -4064,6 +4064,7 @@ res/cardsfolder/k/kiki_jiki_mirror_breaker.txt svneol=native#text/plain
res/cardsfolder/k/kiku_nights_flower.txt svneol=native#text/plain
res/cardsfolder/k/kikus_shadow.txt svneol=native#text/plain
res/cardsfolder/k/killer_bees.txt svneol=native#text/plain
res/cardsfolder/k/killer_instinct.txt -text
res/cardsfolder/k/killer_whale.txt svneol=native#text/plain
res/cardsfolder/k/kiln_fiend.txt svneol=native#text/plain
res/cardsfolder/k/kiln_walker.txt svneol=native#text/plain

View File

@@ -0,0 +1,11 @@
Name:Killer Instinct
ManaCost:4 R G
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ At the beginning of your upkeep, reveal the top card of your library. If it's a creature card, put it onto the battlefield. That creature gains haste until end of turn. Sacrifice it at the beginning of the next end step.
SVar:TrigDig:AB$Dig | Cost$ 0 | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature | DestinationZone$ Battlefield | RememberChanged$ True | LibraryPosition2$ 0 | SubAbility$ DBPump
SVar:DBPump:DB$Pump | KW$ Haste & HIDDEN At the beginning of the end step, sacrifice CARDNAME. | Permanent$ True | Defined$ Remembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/killer_instinct.jpg
End

View File

@@ -2,7 +2,7 @@ Name:Treacherous Urge
ManaCost:4 B
Types:Instant
Text:no text
A:SP$ ChangeZone | Cost$ 4 B | Origin$ Hand | Destination$ Battlefield | ValidTgts$ Opponent | ChangeType$ Creature | GainControl$ True | SubAbility$ SVar=DBPump | RememberChanged$ True | ForgetOtherRemembered$ True | IsCurse$ True | SpellDescription$ Target opponent reveals his or her hand. You may put a creature card from it onto the battlefield under your control. That creature has haste. Sacrifice it at the beginning of the next end step.
A:SP$ ChangeZone | Cost$ 4 B | Origin$ Hand | Destination$ Battlefield | ValidTgts$ Opponent | ChangeType$ Creature | GainControl$ True | SubAbility$ SVar=DBPump | RememberChanged$ True | IsCurse$ True | SpellDescription$ Target opponent reveals his or her hand. You may put a creature card from it onto the battlefield under your control. That creature has haste. Sacrifice it at the beginning of the next end step.
SVar:DBPump:DB$Pump | KW$ Haste & HIDDEN At the beginning of the end step, sacrifice CARDNAME. | Permanent$ True | Defined$ Remembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$Cleanup | ClearRemembered$ True
SVar:Rarity:Uncommon

View File

@@ -329,6 +329,8 @@ public class AbilityFactory_Reveal {
} else {
AllZone.getGameAction().moveTo(zone, c);
}
if (params.containsKey("RememberChanged"))
host.addRemembered(c);
}
} else {
int j = 0;