Fix Crash in XT-002 (Gravity Bomb proc). Fixes issue #734.
Fix compilation warning. Fix typo in Freya soundid. --HG-- branch : trunk
This commit is contained in:
+5
-1
@@ -14314,7 +14314,11 @@ bool Unit::IsTriggeredAtSpellProcEvent(Unit *pVictim, Aura * aura, SpellEntry co
|
||||
// In most cases req get honor or XP from kill
|
||||
if (EventProcFlag & PROC_FLAG_KILL && GetTypeId() == TYPEID_PLAYER)
|
||||
{
|
||||
bool allow = this->ToPlayer()->isHonorOrXPTarget(pVictim);
|
||||
bool allow = false;
|
||||
|
||||
if (pVictim)
|
||||
allow = ToPlayer()->isHonorOrXPTarget(pVictim);
|
||||
|
||||
// Shadow Word: Death - can trigger from every kill
|
||||
if (aura->GetId() == 32409)
|
||||
allow = true;
|
||||
|
||||
Reference in New Issue
Block a user