From f99ef5cd3571aa00af346c0281877d28fd4fdbe5 Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 26 Apr 2009 12:30:45 +0200 Subject: *Set correct energy regeneration from Furor --HG-- branch : trunk --- src/game/SpellAuras.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 2be8a8e890e..f1f730242d5 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2974,7 +2974,7 @@ void AuraEffect::HandleAuraModShapeshift(bool apply, bool Real) case FORM_DIREBEAR: { // get furor proc chance - uint32 FurorChance = 0; + int32 FurorChance = 0; Unit::AuraEffectList const& mDummy = m_target->GetAurasByType(SPELL_AURA_DUMMY); for(Unit::AuraEffectList::const_iterator i = mDummy.begin(); i != mDummy.end(); ++i) { @@ -2989,7 +2989,7 @@ void AuraEffect::HandleAuraModShapeshift(bool apply, bool Real) { m_target->SetPower(POWER_ENERGY,0); if(urand(1,100) <= FurorChance) - m_target->CastSpell(m_target,17099,true,NULL,this); + m_target->CastCustomSpell(m_target,17099,&FurorChance, NULL, NULL,true,NULL,this); } else { -- cgit v1.2.3