52 public static Npc generatePorazdirSpawn() {
53 SpawnData spawn = SpawnData.generate();
55 World.
sendMessage(
"<col=8714E6> Porazdir has just spawned! He is located at " + spawn.location +
"!");
58 Porazdir.definition.setRespawnTime(-1);
59 Porazdir.definition.setAggressive(
true);
60 Porazdir.speak(
"Darkness is here to penetrate your souls!");
64 public static void defeated(
Npc jusiticar,
Player player) {
66 boolean hasClan = player.clanChannel !=
null;
69 World.
sendMessage(
"<col=8714E6> jusiticar has been defeated by " + player.getName() +
"!");
71 World.
sendMessage(
"<col=8714E6> jusiticar has been defeated by " + player.getName()
72 +
", a solo individual with balls of steel!");
78public enum SpawnData {
79 LEVEL_19(
"lvl 15 wild west dark warrior's fortress",
new Position(2988, 3636, 0)),
80 LEVEL_28(
"lvl 19 wild near wilderness ruins",
new Position(2964, 3670, 0)),
81 LEVEL_41(
"lvl 10 wild south of dark Warriors",
new Position(3016, 3591, 0)),
82 LEVEL_52(
"North of edgeville in the wilderness",
new Position(3100, 3528, 0)),
83 LEVEL_53(
"lvl 19 wild west of graveyard of shadows",
new Position(3138, 3670, 0));
85 public final String location;
88 SpawnData(String location,
Position position) {
89 this.location = location;
90 this.position = position;
93 public static SpawnData generate() {