mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* DreadshipReef - Fixed that the 3rd ability did not create mana (fixes #3223).
This commit is contained in:
parent
85e44017ea
commit
7e9d4ab515
1 changed files with 4 additions and 1 deletions
|
@ -30,6 +30,7 @@ package mage.abilities.costs;
|
|||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.keyword.FlashbackAbility;
|
||||
import mage.abilities.mana.ManaAbility;
|
||||
import mage.game.Game;
|
||||
import mage.game.stack.StackObject;
|
||||
import mage.players.Player;
|
||||
|
@ -171,7 +172,9 @@ public abstract class VariableCostImpl implements Cost, VariableCost {
|
|||
Player controller = game.getPlayer(source.getControllerId());
|
||||
StackObject stackObject = game.getStack().getStackObject(source.getId());
|
||||
if (controller != null
|
||||
&& (source instanceof FlashbackAbility || stackObject != null)) {
|
||||
&& (source instanceof ManaAbility
|
||||
|| source instanceof FlashbackAbility
|
||||
|| stackObject != null)) {
|
||||
xValue = controller.announceXCost(getMinValue(source, game), getMaxValue(source, game),
|
||||
"Announce the number of " + actionText, game, source, this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue