mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Added "ActivatedOnly" script key so SpellAbilityCast triggers can be limited to non-triggered abilities. Added Ceaseless Searblades.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1214,6 +1214,7 @@ res/cardsfolder/c/cavern_harpy.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/c/cavern_thoctar.txt svneol=native#text/plain
|
res/cardsfolder/c/cavern_thoctar.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/caverns_of_despair.txt svneol=native#text/plain
|
res/cardsfolder/c/caverns_of_despair.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/caves_of_koilos.txt svneol=native#text/plain
|
res/cardsfolder/c/caves_of_koilos.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/c/ceaseless_searblades.txt -text
|
||||||
res/cardsfolder/c/celestial_ancient.txt svneol=native#text/plain
|
res/cardsfolder/c/celestial_ancient.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/celestial_colonnade.txt svneol=native#text/plain
|
res/cardsfolder/c/celestial_colonnade.txt svneol=native#text/plain
|
||||||
res/cardsfolder/c/celestial_crusader.txt svneol=native#text/plain
|
res/cardsfolder/c/celestial_crusader.txt svneol=native#text/plain
|
||||||
|
|||||||
11
res/cardsfolder/c/ceaseless_searblades.txt
Normal file
11
res/cardsfolder/c/ceaseless_searblades.txt
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Name:Ceaseless Searblades
|
||||||
|
ManaCost:3 R
|
||||||
|
Types:Creature Elemental Warrior
|
||||||
|
Text:no text
|
||||||
|
PT:2/4
|
||||||
|
T:Mode$ AbilityCast | ValidCard$ Elemental | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPump | ActivatedOnly$ True | TriggerDescription$ Whenever you activate an ability of an Elemental, CARDNAME gets +1/+0 until end of turn.
|
||||||
|
SVar:TrigPump:AB$ Pump | Cost$ 0 | Defined$ Self | NumAtt$ +1 | NumDef$ +0
|
||||||
|
SVar:Rarity:Uncommon
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/ceaseless_searblades.jpg
|
||||||
|
SetInfo:LRW|Uncommon|http://magiccards.info/scans/en/lw/158.jpg
|
||||||
|
End
|
||||||
@@ -46,6 +46,12 @@ public class Trigger_SpellAbilityCast extends Trigger {
|
|||||||
//Empty block for readability.
|
//Empty block for readability.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mapParams.containsKey("ActivatedOnly")) {
|
||||||
|
if (SA.isTrigger()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (mapParams.containsKey("ValidControllingPlayer")) {
|
if (mapParams.containsKey("ValidControllingPlayer")) {
|
||||||
if (!matchesValid(cast.getController(), mapParams.get("ValidControllingPlayer").split(","), hostCard)) {
|
if (!matchesValid(cast.getController(), mapParams.get("ValidControllingPlayer").split(","), hostCard)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user