This commit is contained in:
Ka0rX 2023-07-09 19:18:06 +01:00
parent 070c725712
commit 83dcba2c0a

View File

@ -151,7 +151,11 @@ public class ClassSkill implements CooldownObject, Unlockable {
Placeholders placeholders = new Placeholders(); Placeholders placeholders = new Placeholders();
parameters.keySet() parameters.keySet()
.forEach(param -> { .forEach(param -> {
placeholders.register(param, skill.getDecimalFormat(param).format(data.getMMOPlayerData().getSkillModifierMap().getInstance(skill.getHandler(), param).getTotal(parameters.get(param).calculate(x)))); placeholders.register(param, skill.getDecimalFormat(param).format(data
.getMMOPlayerData()
.getSkillModifierMap()
.getInstance(skill.getHandler(), param)
.getTotal(parameters.get(param).calculate(x))));
}); });
placeholders.register("mana_name", data.getProfess().getManaDisplay().getName()); placeholders.register("mana_name", data.getProfess().getManaDisplay().getName());
placeholders.register("mana_color", data.getProfess().getManaDisplay().getFull().toString()); placeholders.register("mana_color", data.getProfess().getManaDisplay().getFull().toString());