diff options
| author | megamage <none@none> | 2009-02-25 20:53:25 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-25 20:53:25 -0600 |
| commit | 58d01932afdb4ffd6a4ae8a453f9e1c62f8db9e8 (patch) | |
| tree | ed359378b67271d21d05e7df0a49ae9cd79e6029 /src/game/Unit.cpp | |
| parent | bf66375bc73c2b9dd7c2d26d7af25b111734c622 (diff) | |
| parent | dea0b1c5a69dad8f3645f2a4f6634f50fdb3ad08 (diff) | |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
| -rw-r--r-- | src/game/Unit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 0a6cf93be76..8f5462cea81 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5502,7 +5502,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu // 41409 Dementia: Every 5 seconds either gives you -5% damage/healing. (Druid, Shaman, Priest, Warlock, Mage, Paladin) case 39446: { - if(GetTypeId() != TYPEID_PLAYER) + if(GetTypeId() != TYPEID_PLAYER || !this->isAlive()) return false; // Select class defined buff @@ -12635,6 +12635,8 @@ bool Unit::HandleMeandingAuraProc( Aura* triggeredByAura ) caster->AddSpellMod(mod, true); CastCustomSpell(target,spellProto->Id,&heal,NULL,NULL,true,NULL,triggeredByAura,caster->GetGUID()); caster->AddSpellMod(mod, false); + + heal = caster->SpellHealingBonus(spellProto, heal, HEAL, this); } } } |
