mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed tooltip rule generation.
This commit is contained in:
parent
1b8adc2b25
commit
cdcc24a159
1 changed files with 4 additions and 1 deletions
|
@ -138,7 +138,10 @@ public class GainAbilityControlledEffect extends ContinuousEffectImpl<GainAbilit
|
|||
else {
|
||||
sb.append("gain ");
|
||||
}
|
||||
sb.append(gainedAbility).append(" ").append(duration.toString());
|
||||
sb.append(gainedAbility);
|
||||
if (!duration.toString().isEmpty()) {
|
||||
sb.append(" ").append(duration.toString());
|
||||
}
|
||||
staticText = sb.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue