updated some fight effect text

This commit is contained in:
Evan Kranzler 2021-11-14 15:30:27 -05:00
parent c355834a4e
commit b625aa05c5
19 changed files with 52 additions and 78 deletions

View file

@ -64,10 +64,10 @@ public class DamageWithPowerFromOneToAnotherTargetEffect extends OneShotEffect {
throw new IllegalStateException("It must have two targets, but found " + mode.getTargets().size());
}
String targetName = mode.getTargets().get(1).getTargetName();
// Target creature you control deals damage equal to its power to target creature you don't control
String sb = (this.firstTargetName != null ? this.firstTargetName : "Target " + mode.getTargets().get(0).getTargetName()) +
" deals damage equal to its power to target " +
mode.getTargets().get(1).getTargetName();
" deals damage equal to its power to " + (targetName.contains("other") ? "" : "target ") + targetName;
return sb;
}
}