Fix crash #3306 in Unit::HandleDummyAuraProc
This commit is contained in:
@@ -5707,6 +5707,8 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||||||
// Glyph of Polymorph
|
// Glyph of Polymorph
|
||||||
case 56375:
|
case 56375:
|
||||||
{
|
{
|
||||||
|
if(!target)
|
||||||
|
return false;
|
||||||
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE, 0, target->GetAura(32409)); // SW:D shall not be removed.
|
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE, 0, target->GetAura(32409)); // SW:D shall not be removed.
|
||||||
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
|
target->RemoveAurasByType(SPELL_AURA_PERIODIC_DAMAGE_PERCENT);
|
||||||
target->RemoveAurasByType(SPELL_AURA_PERIODIC_LEECH);
|
target->RemoveAurasByType(SPELL_AURA_PERIODIC_LEECH);
|
||||||
|
|||||||
Reference in New Issue
Block a user