60 public static SpawnData2 spawn;
62 public static boolean activated =
false;
64 public static boolean justicarbutton;
66 public static Npc generateSpawn() {
68 spawn = SpawnData2.generate();
70 World.
sendMessage(
"<col=8714E6> Justicar has just spawned! He is located at " + spawn.location +
"!");
73 jusiticar.definition.setRespawnTime(-1);
74 jusiticar.definition.setAggressive(
true);
75 jusiticar.
speak(
"Darkness is here to penetrate your souls!");
81 public static int[]
ALWAYSLOOT = { 1, 1, 1, 1, 1, 2, 3, 4, 5 };
82 public static int[] COMMONLOOT = { 6199, 989, 3140, 4087, 11732, 989, 12878, 6585, 4675 };
83 public static int[] RARELOOT = { 11834, 11832, 11828, 11830, 11836, 11773, 13239, 13237, 13235, 11772, 11771, 11770,
85 public static int[] SUPERRARELOOT = { 11862, 12817, 12825, 12821, 20997, 13652, 11802, 13576, 11785, 19481, 11791,
88 public static void defeated(
Npc justicar,
Player player) {
89 boolean hasClan = player.clanChannel !=
null;
92 World.
sendMessage(
"<col=8714E6> Skotizo has been defeated by " + player.getName() +
" !");
95 +
", a solo individual with balls of steel!");
102public enum SpawnData2 {
103 LEVEL_46(
"lvl 46 wild near Spider Hill",
new Position(3135, 3888, 0),
new Position(3132, 3881, 0)),
104 LEVEL_16(
"lvl 16 wild near Bone Yard",
new Position(3273, 3648, 0),
new Position(3267, 3654, 0)),
105 LEVEL_51(
"lvl 51 wild near Rogues Castle",
new Position(3266, 3924, 0),
new Position(3266, 3927, 0)),
106 LEVEL_41(
"lvl 19 wild near graveyard of shadows",
new Position(3197, 3670, 0),
new Position(3194, 3666, 0)),
107 LEVEL_47(
"lvl 47 wild near obelisk",
new Position(3308, 3892, 0),
new Position(3305, 3888, 0)),
108 LEVEL_53(
"lvl 53 wild near scorpia's cave entrance",
new Position(3211, 3944, 0),
new Position(3208, 3940, 0));
110 public final String location;
115 this.location = location;
116 this.position = position;
117 this.tsunami = tsunami;
120 public static SpawnData2 generate() {
121 return Utility.randomElement(values());
124 public String getLocation() {
128 public Position getPosition() {
132 public Position getTsunami() {