Core/Auras: reworked multiplicative AuraEffects calculation

This commit is contained in:
ariel- authored and Ovahlord committed 2021-11-28 12:14:05 +01:00
1 parent b1f16bceb0
commit af98e8516c
16 files changed
+868 -519

No files matched your search

@@ -982,13 +982,6 @@ void Object::ApplyModSignedFloatValue(uint16 index, float val, bool apply)
SetFloatValue(index, cur);
}
void Object::ApplyPercentModFloatValue(uint16 index, float val, bool apply)
{
float value = GetFloatValue(index);
ApplyPercentModFloatVar(value, val, apply);
SetFloatValue(index, value);
}
void Object::ApplyModPositiveFloatValue(uint16 index, float val, bool apply)
{
float cur = GetFloatValue(index);