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:
Maxmtg
2013-07-05 22:55:23 +00:00
parent 30f85737c8
commit 990f7ab9dc
3 changed files with 3 additions and 7 deletions

View File

@@ -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));
}

View File

@@ -176,8 +176,6 @@ public class TriggerHandler {
if (waiting.isEmpty()) {
return false;
}
game.getAction().checkStaticAbilities();
boolean haveWaiting = false;
for (TriggerWaiting wt : waiting) {

View File

@@ -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;