Core/Players: fixed an oversight in spellmod sending that caused pct spellmods to appear clientside as flat bonus
This commit is contained in:
1 parent
77cf3ebc91
commit
bd2850cc08
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user