mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09:00
* Fixed not working Raid condition.
This commit is contained in:
parent
abf18027b8
commit
80847655b3
2 changed files with 3 additions and 2 deletions
|
@ -49,6 +49,7 @@ import mage.filter.common.FilterCreaturePermanent;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
|
import mage.util.CardUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -111,7 +112,7 @@ class ObeliskOfUrdEnterBattlefieldEffect extends OneShotEffect {
|
||||||
}
|
}
|
||||||
game.informPlayers(permanent.getName() + ": " + player.getName() + " has chosen " + typeChoice.getChoice());
|
game.informPlayers(permanent.getName() + ": " + player.getName() + " has chosen " + typeChoice.getChoice());
|
||||||
game.getState().setValue(permanent.getId() + "_type", typeChoice.getChoice());
|
game.getState().setValue(permanent.getId() + "_type", typeChoice.getChoice());
|
||||||
permanent.addInfo("chosen type", "<i>Chosen type: " + typeChoice.getChoice() + "</i>", game);
|
permanent.addInfo("chosen type", CardUtil.addToolTipMarkTags("Chosen type: " + typeChoice.getChoice()), game);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,7 +52,7 @@ public class PlayerAttackedWatcher extends Watcher {
|
||||||
|
|
||||||
public PlayerAttackedWatcher(final PlayerAttackedWatcher watcher) {
|
public PlayerAttackedWatcher(final PlayerAttackedWatcher watcher) {
|
||||||
super(watcher);
|
super(watcher);
|
||||||
for (Map.Entry<UUID,Integer> entry: playerAttacked.entrySet()) {
|
for (Map.Entry<UUID,Integer> entry: watcher.playerAttacked.entrySet()) {
|
||||||
this.playerAttacked.put(entry.getKey(), entry.getValue());
|
this.playerAttacked.put(entry.getKey(), entry.getValue());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue