add discord message to old world bosses.

This commit is contained in:
regneq 2025-01-31 13:31:28 -08:00
parent b8e5029ea8
commit 748bb3bc01
3 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,11 @@
function event_spawn(e)
eq.discord_send("TLP Spawn Notices", "".. e.self:GetCleanName() .." has spawned");
end
function event_combat(e)
eq.discord_send("TLP Spawn Notices", "".. e.self:GetCleanName() .." has engaged");
end
function event_death_complete(e)
eq.discord_send("TLP Spawn Notices", "".. e.self:GetCleanName() .." has been defeated");
end

View file

@ -26,6 +26,7 @@ end
function event_combat(e)
if(e.joined) then
eq.set_timer("1",1000); --a 1 second leash timer.
eq.discord_send("TLP Spawn Notices", "".. e.self:GetCleanName() .." has engaged");
else
eq.stop_timer("1");
e.self:GMMove(SpawnX,SpawnY,SpawnZ,SpawnH);
@ -60,6 +61,10 @@ function event_timer(e)
end
end
function event_death_complete(e)
eq.discord_send("TLP Spawn Notices", "".. e.self:GetCleanName() .." has been defeated.");
end
function event_signal(e)
if ( e.signal == 1 ) then
e.self:Shout("The Sleeper stirs! A glorious new age for Norrath is about to begin, and my exile is about to end!");

View file

@ -28,6 +28,7 @@ end
function event_combat(e)
if(e.joined) then
eq.set_timer("1",1000); --a 1 second leash timer.
eq.discord_send("TLP Spawn Notices", "".. e.self:GetCleanName() .." has engaged");
else
eq.stop_timer("1");
e.self:GMMove(SpawnX,SpawnY,SpawnZ,SpawnH);
@ -62,6 +63,10 @@ function event_timer(e)
end
end
function event_death_complete(e)
eq.discord_send("TLP Spawn Notices", "".. e.self:GetCleanName() .." has been defeated");
end
function event_signal(e)
if ( e.signal == 1 ) then
e.self:Shout("Ha! The Ring and Claws are doomed! The Sleeper has been awakened, what a glorious day! Lady Vox, I will see you soon, our long delayed nuptials can now proceed!");