return;
}
L2NpcInstance rewarder = new L2NpcInstance(IdFactory.getInstance().getNextId(), template);
rewarder.setXYZInvisible(spawnLoc);
rewarder.setHeading((int) (Math.atan2(spawnLoc.y - rewarded.getY(), spawnLoc.x - rewarded.getX()) * L2Character.HEADINGS_IN_PI) + 32768); // Лицом к игроку
rewarder.spawnMe();
Functions.npcSayCustomMessage(rewarder, "scripts.events.SavingSnowman.RewarderPhrase1");
Location targetLoc = Location.getAroundPosition(rewarded, rewarded, 40, 50, 10);
rewarder.setSpawnedLoc(targetLoc);
rewarder.broadcastPacket(new CharMoveToLocation(rewarder.getObjectId(), rewarder.getLoc(), targetLoc));
executeTask("events.SavingSnowman.SavingSnowman", "reward", new Object[] {rewarder, rewarded}, 5000);