50 public static Npc generatederwenSpawn() {
51 SpawnData spawn = SpawnData.generate();
53 World.
sendMessage(
"<col=8714E6> Derwen has just spawned! He is located at " + spawn.location +
"!");
56 derwen.definition.setRespawnTime(-1);
57 derwen.definition.setAggressive(
true);
58 derwen.
speak(
"Darkness is here to penetrate your souls!");
62 public static void defeated(
Npc jusiticar,
Player player) {
64 boolean hasClan = player.clanChannel !=
null;
67 World.
sendMessage(
"<col=8714E6> Derwen has been defeated by " + player.getName() +
"!");
69 World.
sendMessage(
"<col=8714E6> Derwen has been defeated by " + player.getName()
70 +
", a solo individual with balls of steel!");
76public enum SpawnData {
77 LEVEL_19(
"lvl 15 wild near dark warrior's fortress",
new Position(3009, 3637, 0)),
78 LEVEL_28(
"lvl 54 wild near wilderness resource area",
new Position(3184, 3948, 0)),
79 LEVEL_41(
"lvl 52 wild near Rouges Castle",
new Position(3270, 3933, 0)),
80 LEVEL_53(
"lvl 19 wild near graveyard of shadows",
new Position(3146, 3672, 0));
82 public final String location;
85 SpawnData(String location,
Position position) {
86 this.location = location;
87 this.position = position;
90 public static SpawnData generate() {