From a6e1e7d9e756e7efe366ace07bab0d6e0fad72c2 Mon Sep 17 00:00:00 2001 From: QAston Date: Wed, 10 Jun 2009 16:38:25 +0200 Subject: *Allow Pyroclasm to proc from Conflagrate --HG-- branch : trunk --- src/game/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 39a14825573..016abedf888 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7060,7 +7060,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig if(!pVictim || !pVictim->isAlive() || pVictim == this || procSpell == NULL) return false; // Calculate spell tick count for spells - uint32 tick = 1; // Default tick = 1 + uint32 tick; // Hellfire have 15 tick if (procSpell->SpellFamilyFlags[0]&0x40) @@ -7069,7 +7069,7 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig else if (procSpell->SpellFamilyFlags[0]&0x20) tick = 4; else - return false; + tick = 1; // Calculate chance = baseChance / tick float chance = 0; -- cgit v1.2.3