*Add m_isAggressive. Only aggressive creatures will call AttackStart and MoveInLineOfSight.
*Set melee dmg school for summoned creatures. *Fix some compiling errors. --HG-- branch : trunk
This commit is contained in:
@@ -97,6 +97,9 @@ void Totem::Summon(Unit* owner)
|
||||
case TOTEM_STATUE: CastSpell(GetOwner(), GetSpell(), true); break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
if(GetEntry() == SENTRY_TOTEM_ENTRY)
|
||||
SetAggressive(true);
|
||||
}
|
||||
|
||||
void Totem::UnSummon()
|
||||
|
||||
Reference in New Issue
Block a user