*Implement SPELL_ATTR_EX4_FIXED_DAMAGE
--HG-- branch : trunk
This commit is contained in:
1 parent
fdade24355
commit
edfba5caa3
2 files changed
+4
-1
No files matched your search
@@ -1282,6 +1282,9 @@ void Unit::CalculateSpellDamageTaken(SpellNonMeleeDamage *damageInfo, int32 dama
|
||||
if (damage < 0)
|
||||
return;
|
||||
|
||||
if(spellInfo->AttributesEx4 & SPELL_ATTR_EX4_FIXED_DAMAGE)
|
||||
return;
|
||||
|
||||
Unit *pVictim = damageInfo->target;
|
||||
if(!pVictim || !pVictim->isAlive())
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user