* Goblin Kaboomist - Fixed that the tokens activated ability did not work properly (because of not getting the source object after sacrifice).

This commit is contained in:
LevelX2 2014-07-14 09:04:46 +02:00
parent 12a2d020e7
commit 41e24483f5

View file

@ -109,7 +109,7 @@ class GoblinKaboomistFlipCoinEffect extends OneShotEffect {
Permanent permanent = game.getPermanent(source.getSourceId());
if (player != null && permanent != null) {
if (!player.flipCoin(game)) {
String message = new StringBuilder(permanent.getName()).append(" deals 2 damage to itself").toString();
String message = new StringBuilder(permanent.getLogName()).append(" deals 2 damage to itself").toString();
game.informPlayers(message);
permanent.damage(2, source.getSourceId(), game, true, false);
}