Fix #10237. Fix #10315. (MageObjectReference discrepancy)

This commit is contained in:
xenohedron 2023-06-16 22:34:09 -04:00
parent 8d99524660
commit a6c19c4335
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ class MightyServantOfLeukOWatcher extends Watcher {
MightyServantOfLeukOWatcher watcher = game
.getState()
.getWatcher(MightyServantOfLeukOWatcher.class);
MageObjectReference mor = new MageObjectReference(source);
MageObjectReference mor = new MageObjectReference(game.getPermanent(source.getSourceId()), game);
return watcher
.crewCount
.getOrDefault(mor, 0) < 2

View file

@ -21,7 +21,7 @@ public enum ConvokedSourceCount implements DynamicValue {
@Override
public int calculate(Game game, Ability sourceAbility, Effect effect) {
return ConvokeWatcher.getConvokingCreatures(new MageObjectReference(sourceAbility, offset), game).size();
return ConvokeWatcher.getConvokingCreatures(new MageObjectReference(game.getObject(sourceAbility), game, offset), game).size();
}
@Override