mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Merge
--HG-- branch : trunk
This commit is contained in:
@@ -2782,7 +2782,7 @@ SpellMissInfo Unit::MeleeSpellHitResult(Unit *pVictim, SpellEntry const *spell)
|
||||
SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell)
|
||||
{
|
||||
// Can`t miss on dead target (on skinning for example)
|
||||
if (!pVictim->isAlive())
|
||||
if (!pVictim->isAlive() && pVictim->GetTypeId() != TYPEID_PLAYER)
|
||||
return SPELL_MISS_NONE;
|
||||
|
||||
SpellSchoolMask schoolMask = GetSpellSchoolMask(spell);
|
||||
|
||||
Reference in New Issue
Block a user