mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
Minor changes to log and tooltip text generation.
This commit is contained in:
parent
7e9340dee7
commit
5abcefa09e
2 changed files with 4 additions and 5 deletions
|
|
@ -151,7 +151,7 @@ class GraftStaticAbility extends StaticAbility {
|
|||
class GraftDistributeCounterEffect extends OneShotEffect {
|
||||
|
||||
public GraftDistributeCounterEffect() {
|
||||
super(Outcome.BoostCreature);
|
||||
super(Outcome.Detriment); // because you can move ot also to opponents creature
|
||||
this.staticText = "you may move a +1/+1 counter from this permanent onto it";
|
||||
}
|
||||
|
||||
|
|
@ -175,8 +175,7 @@ class GraftDistributeCounterEffect extends OneShotEffect {
|
|||
sourcePermanent.removeCounters(CounterType.P1P1.getName(), 1, game);
|
||||
targetCreature.addCounters(CounterType.P1P1.createInstance(1), game);
|
||||
if (!game.isSimulation()) {
|
||||
StringBuilder sb = new StringBuilder("Moved one +1/+1 counter from ").append(sourcePermanent.getName()).append(" to ").append(targetCreature.getName());
|
||||
game.informPlayers(sb.toString());
|
||||
game.informPlayers("Moved one +1/+1 counter from " + sourcePermanent.getLogName() + " to " + targetCreature.getLogName());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue