mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Improved log text generation of Test of Faith.
This commit is contained in:
parent
95a12028e6
commit
6339038a6f
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ class TestOfFaithPreventDamageTargetEffect extends PreventionEffectImpl<TestOfFa
|
||||||
Permanent targetPermanent = game.getPermanent(source.getTargets().getFirstTarget());
|
Permanent targetPermanent = game.getPermanent(source.getTargets().getFirstTarget());
|
||||||
if (targetPermanent != null) {
|
if (targetPermanent != null) {
|
||||||
targetPermanent.addCounters(CounterType.P1P1.createInstance(prevented), game);
|
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;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue