mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
* Myr Superion - Fixed that its mana costs could not be decreased by convoke.
This commit is contained in:
parent
ea0b13c64f
commit
d626b072cd
2 changed files with 7 additions and 3 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue