forked from External/mage
Getting stack ability in Stack objects.
This commit is contained in:
parent
333562f721
commit
115799564f
3 changed files with 10 additions and 0 deletions
|
|
@ -329,4 +329,9 @@ public class Spell<T extends Spell<T>> implements StackObject, Card {
|
|||
public boolean cast(Game game, Zone fromZone, SpellAbility ability, UUID controllerId) {
|
||||
throw new UnsupportedOperationException("Unsupported operation");
|
||||
}
|
||||
|
||||
public Ability getStackAbility() {
|
||||
return this.ability;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue