Core/Players: fixed an oversight in spellmod sending that caused pct spellmods to appear clientside as flat bonus

This commit is contained in:
Ovahlord committed 2022-09-12 09:15:33 +02:00
1 parent 77cf3ebc91
commit bd2850cc08
1 file changed
+1 -1
+1 -1
View File
@@ -21665,7 +21665,7 @@ void Player::SendSpellModifiers() const
flatMod.ModifierData[j].ClassIndex = j;
flatMod.ModifierData[j].ModifierValue = 0.0f;
pctMod.ModifierData[j].ClassIndex = j;
pctMod.ModifierData[j].ModifierValue = 0.0f;
pctMod.ModifierData[j].ModifierValue = 1.0f;
for (SpellModifier* mod : m_spellMods[i][SPELLMOD_FLAT])
if (mod->mask & mask)