mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
- small fix to the last commit.
This commit is contained in:
parent
a04035036e
commit
ae35c1b228
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ public class DashAbility extends StaticAbility implements AlternativeSourceCosts
|
|||
if (player != null) {
|
||||
this.resetDash();
|
||||
for (AlternativeCost2 dashCost : alternativeSourceCosts) {
|
||||
if (dashCost.canPay(ability, this, controllerId, game)
|
||||
if (dashCost.canPay(ability, this, player.getId(), game)
|
||||
&& player.chooseUse(Outcome.Benefit, KEYWORD
|
||||
+ " the creature for " + dashCost.getText(true) + " ?", ability, game)) {
|
||||
activateDash(dashCost, game);
|
||||
|
|
|
@ -99,7 +99,7 @@ public class EvokeAbility extends StaticAbility implements AlternativeSourceCost
|
|||
if (player != null) {
|
||||
this.resetEvoke();
|
||||
for (AlternativeCost2 evokeCost : evokeCosts) {
|
||||
if (evokeCost.canPay(ability, this, controllerId, game)
|
||||
if (evokeCost.canPay(ability, this, player.getId(), game)
|
||||
&& player.chooseUse(Outcome.Benefit, new StringBuilder(EVOKE_KEYWORD).append(" the creature for ").append(evokeCost.getText(true)).append(" ?").toString(), ability, game)) {
|
||||
activateEvoke(evokeCost, game);
|
||||
ability.getManaCostsToPay().clear();
|
||||
|
|
Loading…
Reference in a new issue