Improved log text generation of Test of Faith.

This commit is contained in:
LevelX2 2013-06-17 17:14:20 +02:00
parent 95a12028e6
commit 6339038a6f

View file

@ -116,7 +116,8 @@ class TestOfFaithPreventDamageTargetEffect extends PreventionEffectImpl<TestOfFa
Permanent targetPermanent = game.getPermanent(source.getTargets().getFirstTarget());
if (targetPermanent != null) {
targetPermanent.addCounters(CounterType.P1P1.createInstance(prevented), game);
game.informPlayers("Adding " + prevented + " +1/+1 counters to " + targetPermanent.getName());
game.informPlayers(new StringBuilder("Test of Faith: Prevented ").append(prevented).append(" damage ").toString());
game.informPlayers("Test of Faith: Adding " + prevented + " +1/+1 counters to " + targetPermanent.getName());
}
}
return true;