57 static Npc skotizo =
null;
58 private static SpawnData data;
60 static Npc generateSpawn() {
61 data = SpawnData.generate();
62 skotizo =
new Npc(7286, data.position, 10,
Mob.DEFAULT_INSTANCE,
Direction.NORTH);
64 skotizo.definition.setRespawnTime(-1);
65 skotizo.definition.setAggressive(
true);
66 skotizo.speak(
"Darkness is here to penetrate your souls!");
67 World.
sendMessage(
"<icon=6><col=8714E6> Skotizo has just spawned! He is located at " + data.location +
"!");
68 DiscordPlugin.sendSimpleMessage(
"Skotizo has entered the wilderness! He is located at " + data.location +
"!");
72 public static String getInformation() {
73 return (skotizo ==
null || skotizo.isDead()) ?
"Not Active" : data.location;
76 public static void defeated(
Npc npc,
Player player) {
77 if (skotizo !=
null && skotizo.isRegistered()) {
84public enum SpawnData {
85 LEVEL_18(
"Near boneyard hunter",
new Position(3307, 3668, 0)),
86 LEVEL_19(
"North of chaos altar",
new Position(3222, 3658, 0)),
87 LEVEL_28(
"Near vennenatis",
new Position(3308, 3737, 0)),
88 LEVEL_41(
"Near callisto",
new Position(3270, 3843, 0)),
89 LEVEL_52(
"Near rogue's castle",
new Position(3304, 3929, 0)),
90 LEVEL_53(
"Near scorpia's cave",
new Position(3211, 3944, 0));
92 public final String location;
95 SpawnData(String location,
Position position) {
96 this.location = location;
97 this.position = position;
100 public static SpawnData generate() {