mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Refactored method in IceCave to not always return same value.
This commit is contained in:
parent
a490f9e468
commit
becae01f73
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class IceCaveEffect extends OneShotEffect {
|
||||||
if (cost.pay(source, game, source.getSourceId(), playerId, false, null)) {
|
if (cost.pay(source, game, source.getSourceId(), playerId, false, null)) {
|
||||||
game.informPlayers(player.getLogName() + " pays" + cost.getText() + " to counter " + spell.getIdName() + '.');
|
game.informPlayers(player.getLogName() + " pays" + cost.getText() + " to counter " + spell.getIdName() + '.');
|
||||||
game.getStack().counter(spell.getId(), source.getSourceId(), game);
|
game.getStack().counter(spell.getId(), source.getSourceId(), game);
|
||||||
return true;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue