*Do not allow positive AOE affect totem.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-16 15:28:58 -05:00
parent 09407c8757
commit a5df3c9e72
+2
View File
@@ -691,6 +691,8 @@ namespace Trinity
} }
break; break;
case SPELL_TARGETS_ALLY: case SPELL_TARGETS_ALLY:
if(target->GetTypeId() == TYPEID_UNIT && ((Creature*)target)->isTotem())
continue;
if(!target->isAttackableByAOE() || !i_source->IsFriendlyTo(target)) if(!target->isAttackableByAOE() || !i_source->IsFriendlyTo(target))
continue; continue;
break; break;