forked from External/mage
correct grammar, remove duplicate parentheses
This commit is contained in:
parent
79ff0bd374
commit
19a0e1dcc4
6 changed files with 13 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue