mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fix for check ETB if the trigger is missing an Execute (Hazazon Tamar)
This commit is contained in:
@@ -282,7 +282,11 @@ public class Spell_Permanent extends Spell {
|
|||||||
|
|
||||||
// Maybe better considerations
|
// Maybe better considerations
|
||||||
AbilityFactory af = new AbilityFactory();
|
AbilityFactory af = new AbilityFactory();
|
||||||
SpellAbility exSA = af.getAbility(card.getSVar(params.get("Execute")), card);
|
String execute = card.getSVar(params.get("Execute"));
|
||||||
|
if (execute == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
SpellAbility exSA = af.getAbility(execute, card);
|
||||||
|
|
||||||
if (api != null && !af.getAPI().equals(api))
|
if (api != null && !af.getAPI().equals(api))
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user