mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[0146] Cleanup deprecated item mods and combat ratings
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
This commit is contained in:
parent
826c15da12
commit
3153bd2129
9 changed files with 149 additions and 279 deletions
|
|
@ -1414,7 +1414,7 @@ void Spell::DoSpellHitOnUnit(Unit* unit, uint32 effectMask)
|
|||
if (m_applyMultiplierMask & (1 << effectNumber))
|
||||
{
|
||||
// Get multiplier
|
||||
float multiplier = spellEffect ? spellEffect->DmgMultiplier : 0.0f;
|
||||
float multiplier = spellEffect ? spellEffect->DmgMultiplier : 1.0f;
|
||||
// Apply multiplier mods
|
||||
if (realCaster)
|
||||
if (Player* modOwner = realCaster->GetSpellModOwner())
|
||||
|
|
@ -1537,7 +1537,7 @@ void Spell::HandleDelayedSpellLaunch(TargetInfo* target)
|
|||
if (m_applyMultiplierMask & (1 << effectNumber))
|
||||
{
|
||||
// Get multiplier
|
||||
float multiplier = spellEffect ? spellEffect->DmgMultiplier : 0.0f;
|
||||
float multiplier = spellEffect ? spellEffect->DmgMultiplier : 1.0f;
|
||||
// Apply multiplier mods
|
||||
if (real_caster)
|
||||
if (Player* modOwner = real_caster->GetSpellModOwner())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue