Fixed Issue#79: Cost reduction does not work properly

This commit is contained in:
magenoxx 2013-03-15 17:54:02 +04:00
parent 3a4eae3bca
commit ded2979dab
18 changed files with 160 additions and 45 deletions

View file

@ -266,9 +266,10 @@ public abstract class AbilityImpl<T extends AbilityImpl<T>> implements Ability {
return false;
}
//20101001 - 601.2e
game.getContinuousEffects().costModification(this, game);
if (!useAlternativeCost(game)) {
//20101001 - 601.2e
game.getContinuousEffects().costModification(this, game);
//20100716 - 601.2f
if (!manaCostsToPay.pay(this, game, sourceId, controllerId, noMana)) {