mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
*Fix a typo of fixed damage spells. Thanks to loop69
--HG-- branch : trunk
This commit is contained in:
@@ -1283,7 +1283,10 @@ void Unit::CalculateSpellDamageTaken(SpellNonMeleeDamage *damageInfo, int32 dama
|
||||
return;
|
||||
|
||||
if(spellInfo->AttributesEx4 & SPELL_ATTR_EX4_FIXED_DAMAGE)
|
||||
{
|
||||
damageInfo->damage = damage;
|
||||
return;
|
||||
}
|
||||
|
||||
Unit *pVictim = damageInfo->target;
|
||||
if(!pVictim || !pVictim->isAlive())
|
||||
|
||||
Reference in New Issue
Block a user