mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
removed some excessive calls to checkStaticAbilities. (keep in mind they are always checked on priority along with state-based actions)
This commit is contained in:
@@ -91,7 +91,7 @@ public class ManaPool {
|
||||
}
|
||||
|
||||
// check state effects replaced by checkStaticAbilities
|
||||
owner.getGame().getAction().checkStaticAbilities();
|
||||
//owner.getGame().getAction().checkStaticAbilities();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -324,8 +324,6 @@ public class ManaPool {
|
||||
}
|
||||
}
|
||||
manaPaid.clear();
|
||||
|
||||
owner.getGame().fireEvent(new GameEventManaPool(owner, EventValueChangeType.ComplexUpdate, null));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -176,8 +176,6 @@ public class TriggerHandler {
|
||||
if (waiting.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
game.getAction().checkStaticAbilities();
|
||||
|
||||
boolean haveWaiting = false;
|
||||
for (TriggerWaiting wt : waiting) {
|
||||
|
||||
@@ -213,7 +213,7 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
||||
|
||||
if (!simultaneousStackEntryList.isEmpty()) {
|
||||
this.chooseOrderOfSimultaneousStackEntryAll();
|
||||
game.getAction().checkStaticAbilities();
|
||||
//game.getAction().checkStaticAbilities();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -591,7 +591,7 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
||||
this.unfreezeStack();
|
||||
sa.resetOnceResolved();
|
||||
|
||||
game.getAction().checkStaticAbilities();
|
||||
//game.getAction().checkStaticAbilities();
|
||||
game.getPhaseHandler().onStackResolved();
|
||||
|
||||
this.curResolvingCard = null;
|
||||
|
||||
Reference in New Issue
Block a user