forked from External/mage
Test framework: added aliases support for activated abilities (related to #7036);
This commit is contained in:
parent
7a1795660a
commit
535e49b89f
5 changed files with 22 additions and 13 deletions
|
|
@ -3390,8 +3390,10 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
getPlayableFromObjectSingle(game, fromZone, adventureCard, adventureCard.getSharedAbilities(game), availableMana, output);
|
||||
} else if (object instanceof Card) {
|
||||
getPlayableFromObjectSingle(game, fromZone, object, ((Card) object).getAbilities(game), availableMana, output);
|
||||
} else if (object instanceof StackObject) {
|
||||
// spells on stack are processing by Card above, other stack objects must be ignored
|
||||
} else {
|
||||
// other things like StackObject or CommandObject
|
||||
// other things like CommandObject
|
||||
getPlayableFromObjectSingle(game, fromZone, object, object.getAbilities(), availableMana, output);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue