mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +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
|
// Copied spells aren't cast
|
||||||
// per se so triggers shouldn't
|
// per se so triggers shouldn't
|
||||||
// run for them.
|
// run for them.
|
||||||
if (!sp.getSourceCard().isCopiedSpell()) {
|
if (!sp.getSourceCard().isCopiedSpell() && !(sp instanceof AbilityStatic)) {
|
||||||
// Run SpellAbilityCast triggers
|
// Run SpellAbilityCast triggers
|
||||||
final HashMap<String, Object> runParams = new HashMap<String, Object>();
|
final HashMap<String, Object> runParams = new HashMap<String, Object>();
|
||||||
runParams.put("Cost", sp.getPayCosts());
|
runParams.put("Cost", sp.getPayCosts());
|
||||||
|
|||||||
Reference in New Issue
Block a user