mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
[BFZ] Some fixes to tooltip texts. Some minor bugs fixed.
This commit is contained in:
parent
1708a49d37
commit
f18b29bec9
26 changed files with 104 additions and 384 deletions
|
|
@ -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> — "));
|
||||
}
|
||||
|
||||
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> — " + Character.toUpperCase(rule.charAt(0)) + rule.substring(1);
|
||||
}
|
||||
return rule;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue