mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Added player announcements to Raiding Party
This commit is contained in:
parent
4289ad67d0
commit
3cd7ea7752
1 changed files with 4 additions and 0 deletions
|
@ -143,6 +143,10 @@ class RaidingPartyEffect extends OneShotEffect {
|
||||||
if (player.choose(Outcome.Benefit, plainsToSaveTarget, source.getSourceId(), game)) {
|
if (player.choose(Outcome.Benefit, plainsToSaveTarget, source.getSourceId(), game)) {
|
||||||
for (UUID plainsId : plainsToSaveTarget.getTargets()) {
|
for (UUID plainsId : plainsToSaveTarget.getTargets()) {
|
||||||
plainsToSave.add(plainsId);
|
plainsToSave.add(plainsId);
|
||||||
|
Permanent plains = game.getPermanent(plainsId);
|
||||||
|
if (plains != null) {
|
||||||
|
game.informPlayers(player.getLogName() + " chose " + plains.getLogName() + " to not be destroyed by " + sourcePermanent.getLogName());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue