From e7ca6e811711ac935a2411fb7c670b7b25bd0d85 Mon Sep 17 00:00:00 2001 From: Blaymoira Date: Wed, 25 Feb 2009 21:44:07 +0100 Subject: [PATCH] *More correct check for proc chance of spell 39446 - by Anubisss --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 3d3c4874b2..d2f857d4bf 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