mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
* Otherworldly Journey - Fixed that the returning creature did not get the +1/+1 counter.
This commit is contained in:
parent
4c60eba7e6
commit
7bc8ff9955
3 changed files with 194 additions and 17 deletions
|
|
@ -107,11 +107,10 @@ public class AddCountersTargetEffect extends OneShotEffect {
|
|||
newCounter.add(amount.calculate(game, source, this));
|
||||
player.addCounters(newCounter, game);
|
||||
affectedTargets ++;
|
||||
if (!game.isSimulation())
|
||||
game.informPlayers(new StringBuilder(sourceObject.getLogName()).append(": ")
|
||||
.append(controller.getLogName()).append(" puts ")
|
||||
.append(counter.getCount()).append(" ").append(counter.getName().toLowerCase())
|
||||
.append(" counter on ").append(player.getLogName()).toString());
|
||||
if (!game.isSimulation()) {
|
||||
game.informPlayers(sourceObject.getLogName() +": " + controller.getLogName() + " puts " +
|
||||
counter.getCount() + " " + counter.getName().toLowerCase() + " counter on " + player.getLogName());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue