fix #10403 (Maestros Ascendancy)

This commit is contained in:
xenohedron 2024-03-23 16:19:54 -04:00
parent 6820aa5ee1
commit 0d5ae6b704
2 changed files with 14 additions and 10 deletions

View file

@ -57,10 +57,12 @@ public class MageObjectReference implements Comparable<MageObjectReference>, Ser
this.zoneChangeCounter = -1;
}
@Deprecated // cause of many bugs, see issue #10479
public MageObjectReference(Ability source) {
this(source, 0);
}
@Deprecated // cause of many bugs, see issue #10479
public MageObjectReference(Ability source, int modifier) {
this.sourceId = source.getSourceId();
this.zoneChangeCounter = source.getSourceObjectZoneChangeCounter() + modifier;