* Myr Superion - Fixed that its mana costs could not be decreased by convoke.

This commit is contained in:
LevelX2 2016-04-24 12:34:35 +02:00
parent ea0b13c64f
commit d626b072cd
2 changed files with 7 additions and 3 deletions

View file

@ -47,6 +47,7 @@ import mage.game.Game;
import mage.game.events.GameEvent;
import mage.game.events.GameEvent.EventType;
import mage.game.events.ManaEvent;
import mage.game.stack.Spell;
/**
*
@ -130,7 +131,10 @@ public class ManaPool implements Serializable {
for (ManaPoolItem mana : manaItems) {
if (filter != null) {
if (!filter.match(mana.getSourceObject(), game)) {
continue;
// Prevent that cost reduction by convoke is filtered out
if (!(mana.getSourceObject() instanceof Spell) || ability.getSourceId().equals(mana.getSourceId())) {
continue;
}
}
}
if (!manaType.equals(unlockedManaType) && autoPayment && autoPaymentRestricted && mana.count() == mana.getStock()) {