Merge pull request #3195 from tool4ever/tweakresolve

Follow-up tweak for when triggers are checked during resolve
This commit is contained in:
Anthony Calosa
2023-06-04 09:29:17 +08:00
committed by GitHub
4 changed files with 9 additions and 15 deletions

View File

@@ -1450,6 +1450,7 @@ public class AbilityUtils {
// Needed - Equip an untapped creature with Sword of the Paruns then cast Deadshot on it. Should deal 2 more damage.
game.getAction().checkStaticAbilities(); // this will refresh continuous abilities for players and permanents.
game.getTriggerHandler().collectTriggerForWaiting();
AbilityUtils.resolveApiAbility(abSub, game);
}

View File

@@ -8,7 +8,6 @@ public class RemoveFromGameEffect extends SpellAbilityEffect {
@Override
public void resolve(SpellAbility sa) {
for (final Card tgtC : getTargetCards(sa)) {
tgtC.getGame().getAction().ceaseToExist(tgtC, true);
}