* Fixed not working Raid condition.

This commit is contained in:
LevelX2 2015-03-24 17:16:26 +01:00
parent abf18027b8
commit 80847655b3
2 changed files with 3 additions and 2 deletions

View file

@ -49,6 +49,7 @@ import mage.filter.common.FilterCreaturePermanent;
import mage.game.Game;
import mage.game.permanent.Permanent;
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.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;
}

View file

@ -52,7 +52,7 @@ public class PlayerAttackedWatcher extends Watcher {
public PlayerAttackedWatcher(final PlayerAttackedWatcher 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());
}