From a5df3c9e72191d732554eed860790859363bebf4 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 16 May 2009 15:28:58 -0500 Subject: *Do not allow positive AOE affect totem. --HG-- branch : trunk --- src/game/Spell.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/game/Spell.h b/src/game/Spell.h index 694bcf11277..083bb338371 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; -- cgit v1.2.3