mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
informPlayers improvements
This commit is contained in:
parent
bf85dca9f7
commit
d5af4ad4b3
1 changed files with 2 additions and 2 deletions
|
@ -143,8 +143,7 @@ class LoxodonPeacekeeperEffect extends OneShotEffect {
|
|||
for (UUID playerId : game.getState().getPlayersInRange(source.getControllerId(), game)) {
|
||||
if (tiedPlayers.contains(playerId)) {
|
||||
newControllerId = playerId;
|
||||
game.informPlayers(game.getPlayer(playerId).getLogName() + " has gained control of " + sourcePermanent.getLogName());
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -152,6 +151,7 @@ class LoxodonPeacekeeperEffect extends OneShotEffect {
|
|||
ContinuousEffect effect = new GainControlTargetEffect(Duration.Custom, newControllerId);
|
||||
effect.setTargetPointer(new FixedTarget(sourcePermanent, game));
|
||||
game.addEffect(effect, source);
|
||||
game.informPlayers(game.getPlayer(newControllerId).getLogName() + " has gained control of " + sourcePermanent.getLogName());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue