a few small changes

This commit is contained in:
Evan Kranzler 2017-09-14 07:04:44 -04:00
parent 155329ad0f
commit 98c2332b3c
2 changed files with 4 additions and 3 deletions

View file

@ -276,6 +276,9 @@ public abstract class ActivatedAbilityImpl extends AbilityImpl implements Activa
}
protected boolean hasMoreActivationsThisTurn(Game game) {
if (maxActivationsPerTurn == Integer.MAX_VALUE) {
return true;
}
ActivationInfo activationInfo = getActivationInfo(game);
return activationInfo == null || activationInfo.turnNum != game.getTurnNum() || activationInfo.activationCounter < maxActivationsPerTurn;
}