From 56c60f90e6bd1d31fe68fff868e2cfd77d47a8a8 Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 8 Mar 2009 23:42:42 +0100 Subject: *Fix Illumination and Infusion of Light procs. --HG-- branch : trunk --- src/game/Unit.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 271a85a4808..7b400f4644e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -2013,6 +2013,8 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe currentAbsorb = mod->m_amount; RemainingDamage=0; } + else + continue; } // Reflective Shield @@ -5919,7 +5921,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu if (dummySpell->SpellIconID == 3017) { // hardcoded amount - basepoints0 = 15 * GetMaxPower(POWER_MANA)/100; + basepoints0 = 15 * GetCreatePowers(POWER_MANA)/100; target = this; triggered_spell_id = 57669; // replenishment @@ -11539,7 +11541,7 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag continue; procTriggered.push_back( ProcTriggeredData(spellProcEvent, itr->second) ); - } + } // Nothing found if (procTriggered.empty()) -- cgit v1.2.3