[BFZ] Some fixes to tooltip texts. Some minor bugs fixed.

This commit is contained in:
LevelX2 2015-09-19 10:42:36 +02:00
parent 1708a49d37
commit f18b29bec9
26 changed files with 104 additions and 384 deletions

View file

@ -759,9 +759,7 @@ public abstract class AbilityImpl implements Ability {
sbRule.append(": ");
}
}
if (abilityWord != null) {
sbRule.insert(0, new StringBuilder("<i>").append(abilityWord.toString()).append("</i> &mdash; "));
}
String ruleStart = sbRule.toString();
String text = modes.getText();
String rule;
@ -779,6 +777,9 @@ public abstract class AbilityImpl implements Ability {
} else {
rule = ruleStart;
}
if (abilityWord != null) {
rule = "<i>" + abilityWord + "</i> &mdash; " + Character.toUpperCase(rule.charAt(0)) + rule.substring(1);
}
return rule;
}