@Override
protected boolean thinkActive() {
NpcInstance actor = getActor();
if (actor.isDead()) {
return false;
}
GArray<NpcInstance> around = actor.getAroundNpc(2000, 1000);
if (around != null && !around.isEmpty()) {
for (NpcInstance npc : around) {
if (npc.getNpcId() != 19153 && npc.getNpcId() != 19152) {
actor.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, npc, 3);
}
}
}
return true;
}