mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Added Showstopper.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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/show_of_valor.txt -text
|
||||||
res/cardsfolder/s/shower_of_coals.txt -text svneol=unset#text/plain
|
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/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/shrapnel_blast.txt svneol=native#text/plain
|
||||||
res/cardsfolder/s/shred_memory.txt -text
|
res/cardsfolder/s/shred_memory.txt -text
|
||||||
res/cardsfolder/s/shrewd_hatchling.txt svneol=native#text/plain
|
res/cardsfolder/s/shrewd_hatchling.txt svneol=native#text/plain
|
||||||
|
|||||||
10
res/cardsfolder/s/showstopper.txt
Normal file
10
res/cardsfolder/s/showstopper.txt
Normal 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
|
||||||
@@ -248,7 +248,7 @@ public class TriggerHandler {
|
|||||||
Card card = (Card) runParams.get("Card");
|
Card card = (Card) runParams.get("Card");
|
||||||
if (card.getController() == player) {
|
if (card.getController() == player) {
|
||||||
for (final Trigger t : card.getTriggers()) {
|
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);
|
this.runSingleTrigger(t, runParams);
|
||||||
checkStatics = true;
|
checkStatics = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user