Fix typos in Glittering Lion abilities rules

This commit is contained in:
etpalmer63 2020-05-03 13:02:45 -07:00
parent a90276b55b
commit ee74d76a3e
2 changed files with 8 additions and 3 deletions

View file

@ -16,7 +16,12 @@ public class PreventAllDamageToSourceEffect extends PreventionEffectImpl {
public PreventAllDamageToSourceEffect(Duration duration) {
super(duration, Integer.MAX_VALUE, false);
staticText = "Prevent all damage that would be dealt to {this} " + duration.toString();
//Some durations have no text
if ( duration.toString().length()>0){
staticText = "Prevent all damage that would be dealt to {this} " + duration.toString();
} else {
staticText = "Prevent all damage that would be dealt to {this}";
}
}
public PreventAllDamageToSourceEffect(final PreventAllDamageToSourceEffect effect) {