forked from External/mage
Reworked ability source object handling.
This commit is contained in:
parent
e6b78d7a2e
commit
26a93d4427
19 changed files with 292 additions and 288 deletions
|
|
@ -518,14 +518,19 @@ public class StackAbility extends StackObjImpl implements Ability {
|
|||
return this.ability.getSourcePermanentIfItStillExists(game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSourceObjectZoneChangeCounter(int zoneChangeCounter) {
|
||||
ability.setSourceObjectZoneChangeCounter(zoneChangeCounter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSourceObjectZoneChangeCounter() {
|
||||
return ability.getSourceObjectZoneChangeCounter();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSourceObject(MageObject sourceObject, Game game) {
|
||||
throw new UnsupportedOperationException("Not supported.");
|
||||
public Permanent getSourcePermanentOrLKI(Game game) {
|
||||
return ability.getSourcePermanentOrLKI(game);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue