mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Fixed static abilities getting checked by triggers (SpellAbilityCast, etc.).
This commit is contained in:
@@ -673,7 +673,7 @@ public class MagicStack extends MyObservable {
|
||||
// Copied spells aren't cast
|
||||
// per se so triggers shouldn't
|
||||
// run for them.
|
||||
if (!sp.getSourceCard().isCopiedSpell()) {
|
||||
if (!sp.getSourceCard().isCopiedSpell() && !(sp instanceof AbilityStatic)) {
|
||||
// Run SpellAbilityCast triggers
|
||||
final HashMap<String, Object> runParams = new HashMap<String, Object>();
|
||||
runParams.put("Cost", sp.getPayCosts());
|
||||
|
||||
Reference in New Issue
Block a user