- Added Showstopper.

This commit is contained in:
Sloth
2013-05-26 14:29:33 +00:00
parent e48821afbb
commit 73569e261f
3 changed files with 12 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -9711,6 +9711,7 @@ res/cardsfolder/s/show_and_tell.txt svneol=native#text/plain
res/cardsfolder/s/show_of_valor.txt -text
res/cardsfolder/s/shower_of_coals.txt -text svneol=unset#text/plain
res/cardsfolder/s/shower_of_sparks.txt svneol=native#text/plain
res/cardsfolder/s/showstopper.txt -text
res/cardsfolder/s/shrapnel_blast.txt svneol=native#text/plain
res/cardsfolder/s/shred_memory.txt -text
res/cardsfolder/s/shrewd_hatchling.txt svneol=native#text/plain

View File

@@ -0,0 +1,10 @@
Name:Showstopper
ManaCost:1 B R
Types:Instant
A:SP$ AnimateAll | Cost$ 1 B R | ValidCards$ Creature.YouCtrl | Triggers$ DiesTrigger | sVars$ ShowstopperTrigDamage | References$ DiesTrigger,ShowstopperTrigDamage | SpellDescription$ Until end of turn, creatures you control gain "When this creature dies, it deals 2 damage to target creature an opponent controls."
SVar:DiesTrigger:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ ShowstopperTrigDamage | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, it deals 2 damage to target creature an opponent controls.
SVar:ShowstopperTrigDamage:AB$ DealDamage | Cost$ 0 | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Select target creature an opponent controls | NumDmg$ 2
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/showstopper.jpg
Oracle:Until end of turn, creatures you control gain "When this creature dies, it deals 2 damage to target creature an opponent controls."
SetInfo:DGM Uncommon

View File

@@ -248,7 +248,7 @@ public class TriggerHandler {
Card card = (Card) runParams.get("Card");
if (card.getController() == player) {
for (final Trigger t : card.getTriggers()) {
if (!t.isStatic() && t.isTemporary() && canRunTrigger(t, mode, runParams)) {
if (!t.isStatic() && !t.isIntrinsic() && canRunTrigger(t, mode, runParams)) {
this.runSingleTrigger(t, runParams);
checkStatics = true;
}