correct grammar, remove duplicate parentheses

This commit is contained in:
Neil Gentleman 2015-11-23 22:54:15 -08:00
parent 79ff0bd374
commit 19a0e1dcc4
6 changed files with 13 additions and 10 deletions

View file

@ -61,7 +61,10 @@ public class GainAbilityControllerEffect extends ContinuousEffectImpl {
public GainAbilityControllerEffect(Ability ability, Duration duration) {
super(duration, Layer.PlayerEffects, SubLayer.NA, Outcome.AddAbility);
this.ability = ability;
staticText = "You have " + ability.getRule() + " " + duration.toString();
staticText = "You have " + ability.getRule();
if (!duration.toString().isEmpty()) {
staticText += " " + duration.toString();
}
}
public GainAbilityControllerEffect(final GainAbilityControllerEffect effect) {