mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
TriggerHandler: try to fix problem with transformed cards in clearInstrinsicActiveTriggers
This commit is contained in:
@@ -220,7 +220,7 @@ public class TriggerHandler {
|
||||
|
||||
// Clear if no ZoneFrom, or not coming from the TriggerZone
|
||||
if (c.getId() == t.getHostCard().getId() && t.isIntrinsic()) {
|
||||
if (!t.zonesCheck(zoneFrom))
|
||||
if (!c.getTriggers().contains(t) || !t.zonesCheck(zoneFrom))
|
||||
toBeRemoved.add(t);
|
||||
}
|
||||
}
|
||||
@@ -497,7 +497,7 @@ public class TriggerHandler {
|
||||
};
|
||||
}
|
||||
else {
|
||||
sa = AbilityFactory.getAbility(host.getSVar(triggerParams.get("Execute")), host);
|
||||
sa = AbilityFactory.getAbility(host, triggerParams.get("Execute"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user