From b37d7ae04232fc9279e505926468c91f9e26a991 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 28 Nov 2008 11:53:10 -0600 Subject: *Fix Maim. --HG-- branch : trunk --- src/game/Unit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c8c5689fce0..6f42253afdd 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -881,8 +881,9 @@ uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDa if(damagetype == DIRECT_DAMAGE || damagetype == SPELL_DIRECT_DAMAGE) { //TODO: This is from procflag, I do not know which spell needs this + //Maim? //if (!spellProto || !(spellProto->AuraInterruptFlags&AURA_INTERRUPT_FLAG_DIRECT_DAMAGE)) - pVictim->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_DIRECT_DAMAGE); + pVictim->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_DIRECT_DAMAGE, spellProto ? spellProto->Id : 0); } if (pVictim->GetTypeId() != TYPEID_PLAYER) -- cgit v1.2.3