mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* 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:
parent
12a2d020e7
commit
41e24483f5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue