mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08: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…
Add table
Add a link
Reference in a new issue