*Do not allow a spell proc itself. This fixes the crash caused by item 32500.
--HG-- branch : trunk
This commit is contained in:
@@ -6778,6 +6778,9 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
|
||||
|
||||
// Set trigger spell id, target, custom basepoints
|
||||
uint32 trigger_spell_id = auraSpellInfo->EffectTriggerSpell[triggeredByAura->GetEffIndex()];
|
||||
if(procSpell && procSpell->Id == trigger_spell_id)
|
||||
return false;
|
||||
|
||||
Unit* target = NULL;
|
||||
int32 basepoints0 = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user