mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Selvala, Explorer Returned - Fixed a bug that mana and life for the controller was not provided.
This commit is contained in:
parent
0981d329e9
commit
03d7ea9ecd
1 changed files with 1 additions and 3 deletions
|
@ -86,7 +86,6 @@ class SelvalaExplorerReturnedEffect extends ManaEffect {
|
|||
this.staticText = "Each player reveals the top card of his or her library. For each nonland card revealed this way, add {G} to your mana pool and you gain 1 life";
|
||||
}
|
||||
|
||||
|
||||
public SelvalaExplorerReturnedEffect(final SelvalaExplorerReturnedEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
@ -101,7 +100,7 @@ class SelvalaExplorerReturnedEffect extends ManaEffect {
|
|||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
Mana parley = getMana(game, source);
|
||||
if (parley.getAny() > 0) {
|
||||
if (parley.getGreen() > 0) {
|
||||
controller.getManaPool().addMana(parley, game, source);
|
||||
controller.gainLife(parley.getAny(), game);
|
||||
}
|
||||
|
@ -110,7 +109,6 @@ class SelvalaExplorerReturnedEffect extends ManaEffect {
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Mana getMana(Game game, Ability source) {
|
||||
return Mana.GreenMana(ParleyCount.getInstance().calculate(game, source, this));
|
||||
|
|
Loading…
Reference in a new issue