mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Fixed incorrect math (Healing Potency)
Healing Potency now functions properly.
This commit is contained in:
@@ -888,7 +888,7 @@ public class CombatService implements INetworkDispatch {
|
||||
if(healer.getSkillMod("expertise_healing_line_sp_heal") != null)
|
||||
healPotency += healer.getSkillMod("expertise_healing_line_sp_heal").getBase();
|
||||
if(healPotency > 0)
|
||||
healAmount += (healAmount * (healPotency / 100));
|
||||
healAmount += ((healAmount * healPotency) / 100);
|
||||
if(target.getSkillMod("expertise_healing_reduction") != null)
|
||||
healAmount *= (1 - target.getSkillMod("expertise_healing_reduction").getBase() / 100);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user