From a5df3c9e72191d732554eed860790859363bebf4 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 16 May 2009 15:28:58 -0500 Subject: [PATCH] *Do not allow positive AOE affect totem. --HG-- branch : trunk --- src/game/Spell.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/Spell.h b/src/game/Spell.h index 694bcf1127..083bb33837 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -691,6 +691,8 @@ namespace Trinity } break; case SPELL_TARGETS_ALLY: + if(target->GetTypeId() == TYPEID_UNIT && ((Creature*)target)->isTotem()) + continue; if(!target->isAttackableByAOE() || !i_source->IsFriendlyTo(target)) continue; break;