forked from External/mage
...
This commit is contained in:
parent
78e640487b
commit
3a784f59ee
88 changed files with 2521 additions and 447 deletions
|
|
@ -147,13 +147,13 @@ public abstract class AbilityImpl<T extends AbilityImpl<T>> implements Ability {
|
|||
logger.fine("activate failed - target");
|
||||
return false;
|
||||
}
|
||||
game.getObject(sourceId).adjustCosts(this, game);
|
||||
if (!useAlternativeCost(game)) {
|
||||
if (!manaCosts.pay(game, sourceId, controllerId, noMana)) {
|
||||
logger.fine("activate failed - mana");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
game.getObject(sourceId).adjustCosts(this, game);
|
||||
if (!costs.pay(game, sourceId, controllerId, noMana)) {
|
||||
logger.fine("activate failed - non mana costs");
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue