* Fixed bug that rule text of singletons like FlyingAbility were missing sometimes in permanents tooltiptext (fixes #453) .

This commit is contained in:
LevelX2 2014-07-27 02:00:07 +02:00
parent 7b8a6e3f46
commit 2e7219de2f
4 changed files with 13 additions and 6 deletions

View file

@ -57,6 +57,7 @@ import mage.game.events.GameEvent;
import mage.game.permanent.Permanent;
import mage.game.stack.Spell;
import mage.players.Player;
import mage.util.CardUtil;
import mage.watchers.Watcher;
/**
@ -119,7 +120,7 @@ class CavernOfSoulsEffect extends OneShotEffect {
}
game.informPlayers(permanent.getName() + ": " + player.getName() + " has chosen " + typeChoice.getChoice());
game.getState().setValue(permanent.getId() + "_type", typeChoice.getChoice().toString());
permanent.addInfo("chosen type", "<i>Chosen type: " + typeChoice.getChoice().toString() + "</i>");
permanent.addInfo("chosen type", CardUtil.addToolTipMarkTags("Chosen type: " + typeChoice.getChoice().toString()));
}
return false;
}