mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Added "ActivatedOnly" script key so SpellAbilityCast triggers can be limited to non-triggered abilities. Added Ceaseless Searblades.
This commit is contained in:
@@ -46,6 +46,12 @@ public class Trigger_SpellAbilityCast extends Trigger {
|
||||
//Empty block for readability.
|
||||
}
|
||||
|
||||
if (mapParams.containsKey("ActivatedOnly")) {
|
||||
if (SA.isTrigger()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (mapParams.containsKey("ValidControllingPlayer")) {
|
||||
if (!matchesValid(cast.getController(), mapParams.get("ValidControllingPlayer").split(","), hostCard)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user