initial changes, creation of branch, detailed in #4799

This commit is contained in:
Evan Kranzler 2018-04-19 11:19:48 -04:00
parent 97b2b2feac
commit 7212b02e53
11 changed files with 44 additions and 33 deletions

View file

@ -187,7 +187,12 @@ public class DamageTargetEffect extends OneShotEffect {
if (!targetDescription.isEmpty()) {
sb.append(targetDescription);
} else {
sb.append("target ").append(mode.getTargets().get(0).getTargetName());
String targetName = mode.getTargets().get(0).getTargetName();
if (targetName.contains("any")) {
sb.append(targetName);
} else {
sb.append("target ").append(targetName);
}
}
if (!message.isEmpty()) {
if (message.equals("1")) {