mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
a few small changes
This commit is contained in:
parent
155329ad0f
commit
98c2332b3c
2 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue