* Fixed that converted mana costs for stack objects were not always calculated correctly (e.g. a Mental Misstep could counter a Cahlice of the Coid with X=1).

This commit is contained in:
LevelX2 2014-10-10 10:27:01 +02:00
parent 1c6f6c5f3d
commit 7ad45a2a6e
6 changed files with 41 additions and 17 deletions

View file

@ -208,6 +208,14 @@ public class StackAbility implements StackObject, Ability {
return emptyCosts;
}
@Override
public int getConvertedManaCost() {
// Activated abilities have an "activation cost" but they don't have a characteristic related to that while on the stack.
// There are certain effects that interact with the cost to activate an ability (e.g., Training Grounds, Power Artifact)
// but nothing that looks for that quality of an ability once it's on the stack.
return 0;
}
@Override
public Effects getEffects() {
return ability.getEffects();