Well, I tried as hard as I could, but I couldn't find a good way to find out & store where the mobs spawn, so the mobs that you have to kill in the balcony area to spawn The Overseer have to be killed IN the balcony area (and not below or in an adjacent room, which kinda sucks for pulling). If someone can fix that (store the starting coordinates for identically named mobs), feel free.
First of all, Area8starter (ID 128087) needs to have a 100% chance to spawn in Spawngroup Area8mob6dead_190219 (ID 16742) instead of the 16% chance it has right now. It is the invisible control mob that sits on The Overseer's spawn point opposite of Master of the Guard.
Area8starter.pl:
Code:
#############
#Quest Name: Help the Bladesouls: Paldar | Help the Bladesouls: Ulessa
#Author: AndMetal
#NPCs Involved: Area8starter (128087), a_vigilant_custodian (128008), a_warren_protector (128009), a_watchful_custodian (128032), a_lair_protector (128033), The_Overseer (unknown)
#Zone: Sleeper's Tomb (sleeper)
#NPC: Area8starter (128087)
#############
my $Area8dead = 0;
sub EVENT_SIGNAL {
if ($signal == 1) {
++$Area8dead; # Count the dead balcony mobs
if ($Area8dead == 13) { # Spawn The Overseer once all 13 mobs in the balcony are dead
#quest::spawn2(?,0,0,$x,$y,$z,128); # facing MotG's spawn point
quest::depop();
};
};
}
There are currently 13 mobs in the balcony (when you enter the area, there are 7 on the left, 4 on the right, and 2 next to the spawn point of The Overseer). I'm not sure if all the spawn points are correct. However, there is a spawnpoint (ID 58617) that has a 0 respawn time instead of 14400, which will need to be changed (unless it is an extra spawn point which can be removed).
a_lair_protector.pl,
a_vigilant_custodian.pl,
a_warren_protector.pl, &
a_watchful_custodian.pl:
Code:
#############
#Quest Name: Help the Bladesouls: Paldar | Help the Bladesouls: Ulessa
#Author: AndMetal
#NPCs Involved: Area8starter (128087), a_vigilant_custodian (128008), a_warren_protector (128009), a_watchful_custodian (128032), a_lair_protector (128033), The_Overseer (unknown)
#Zone: Sleeper's Tomb (sleeper)
#NPC:
#############
sub EVENT_DEATH {
# See if it spawned in the balcony area
if (($x >= 65.9) && ($x <= 734.1) && ($y >= -1022.1) && ($y <= -321.9) && ($z >= 100) && ($z <= 190)) {
quest::signalwith(128087,1); # tell Area8starter it's dead
}
}
Lastly,
The Overseer needs to be added into the npc_types table. He looks the same as the custodians (Race 29, Gender 0, Body Type 5), but of course much bigger (MotG is Size 40, which looks about right for The Overseer also). Other than that, I don't have much info about him.