try
{
L2Spawn sp = new L2Spawn(NpcTable.getTemplate(Stakato_Cheif));
Location pos = GeoEngine.findPointToStay(actor.getX(), actor.getY(), actor.getZ(), 0, 0, actor.getReflection().getGeoIndex());
sp.setLoc(pos);
L2NpcInstance npc = sp.doSpawn(true);
actor.broadcastPacket(new SocialAction(actor.getObjectId(), 1));
npc.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, caster, Rnd.get(1, 100));
actor.doDie(caster);
}
catch(Exception e)