}
try
{
final SimpleSpawner sp = new SimpleSpawner(NpcHolder.getInstance().getTemplate(DarkShamanVarangka));
sp.setLoc(Location.findPointToStay(actor, 400, 420));
final NpcInstance npc = sp.doSpawn(true);
if (attacker.isPet() || attacker.isServitor())
{
npc.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker, Rnd.get(2, 100));
}
npc.getAI().notifyEvent(CtrlEvent.EVT_AGGRESSION, attacker.getPlayer(), Rnd.get(1, 100));