forked from External/mage
Refactor: replaced sourceId by source and introduced source param in some methods;
This commit is contained in:
parent
2bb472607b
commit
db239a1055
3205 changed files with 7080 additions and 6795 deletions
|
|
@ -95,7 +95,7 @@ public class ProwlAbility extends StaticAbility implements AlternativeSourceCost
|
|||
if (ProwlCondition.instance.apply(game, ability)) {
|
||||
this.resetProwl();
|
||||
for (AlternativeCost2 prowlCost : prowlCosts) {
|
||||
if (prowlCost.canPay(ability, sourceId, ability.getControllerId(), game)
|
||||
if (prowlCost.canPay(ability, this, ability.getControllerId(), game)
|
||||
&& player.chooseUse(Outcome.Benefit, "Cast for "
|
||||
+ PROWL_KEYWORD + " cost " + prowlCost.getText(true)
|
||||
+ " ?", ability, game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue