aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-16 15:28:58 -0500
committermegamage <none@none>2009-05-16 15:28:58 -0500
commita5df3c9e72191d732554eed860790859363bebf4 (patch)
treead07d604eab9205f68c1e1d11f9135bff4b8c5b6 /src
parent09407c8757f26c3585efa7d3cc5874bd3be90ebe (diff)
*Do not allow positive AOE affect totem.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.h2
1 files changed, 2 insertions, 0 deletions
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;