mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Fixed AddManaOfAnyColorEffect to send TAPPED_FOR_MANA event correctly (fixed that City of Brass did not work with Heartbeat of Spring).
This commit is contained in:
parent
ac0d923afd
commit
105e12db10
2 changed files with 3 additions and 2 deletions
|
|
@ -359,7 +359,7 @@ public abstract class AbilityImpl implements Ability {
|
|||
} else if (effect instanceof DynamicManaEffect) {
|
||||
mana = ((DynamicManaEffect)effect).getMana(game, this);
|
||||
}
|
||||
if (mana != null) { // if mana == null the event has to be fires in the mana effect
|
||||
if (mana != null) { // if mana == null the event has to be fired in the mana effect
|
||||
game.fireEvent(new ManaEvent(GameEvent.EventType.TAPPED_FOR_MANA, sourceId, sourceId, controllerId, mana));
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue