forked from External/mage
Gain abilities - improved combo support with Evoke, Dash and Prowl (example: Hunting Velociraptor, fixed #11714) (#12237)
This commit is contained in:
parent
432063d5bd
commit
551d5d8633
2 changed files with 32 additions and 2 deletions
|
|
@ -3737,7 +3737,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
// TODO: Why is the "sourceObject instanceof Permanent" in there?
|
||||
if (sourceObject != null && !(sourceObject instanceof Permanent)) {
|
||||
Ability copyAbility; // for alternative cost and reduce tries
|
||||
for (Ability alternateSourceCostsAbility : sourceObject.getAbilities()) {
|
||||
for (Ability alternateSourceCostsAbility : sourceObject.getAbilities(game)) {
|
||||
// if cast for noMana no Alternative costs are allowed
|
||||
if (alternateSourceCostsAbility instanceof AlternativeSourceCosts) {
|
||||
if (((AlternativeSourceCosts) alternateSourceCostsAbility).isAvailable(ability, game)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue