*Do not allow positive AOE affect totem.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user