mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
parent
8d99524660
commit
a6c19c4335
2 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ class MightyServantOfLeukOWatcher extends Watcher {
|
||||||
MightyServantOfLeukOWatcher watcher = game
|
MightyServantOfLeukOWatcher watcher = game
|
||||||
.getState()
|
.getState()
|
||||||
.getWatcher(MightyServantOfLeukOWatcher.class);
|
.getWatcher(MightyServantOfLeukOWatcher.class);
|
||||||
MageObjectReference mor = new MageObjectReference(source);
|
MageObjectReference mor = new MageObjectReference(game.getPermanent(source.getSourceId()), game);
|
||||||
return watcher
|
return watcher
|
||||||
.crewCount
|
.crewCount
|
||||||
.getOrDefault(mor, 0) < 2
|
.getOrDefault(mor, 0) < 2
|
||||||
|
|
|
@ -21,7 +21,7 @@ public enum ConvokedSourceCount implements DynamicValue {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int calculate(Game game, Ability sourceAbility, Effect effect) {
|
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
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue