forked from External/mage
Some minor changes to cards and framework classes.
This commit is contained in:
parent
1141e4c2fa
commit
a12fa6e3a1
7 changed files with 113 additions and 52 deletions
|
|
@ -82,7 +82,15 @@ public class PreventDamageToTargetEffect extends PreventionEffectImpl {
|
|||
} else {
|
||||
sb.append("Prevent the next ").append(amountToPrevent).append(" damage that would be dealt to target ");
|
||||
}
|
||||
sb.append(mode.getTargets().get(0).getTargetName()).append(" ").append(duration.toString());
|
||||
sb.append(mode.getTargets().get(0).getTargetName());
|
||||
if (!duration.toString().isEmpty()) {
|
||||
sb.append(" ");
|
||||
if (duration.equals(Duration.EndOfTurn)) {
|
||||
sb.append("this turn");
|
||||
} else {
|
||||
sb.append(duration.toString());
|
||||
}
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue