mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
add discord message to old world bosses.
This commit is contained in:
parent
b8e5029ea8
commit
748bb3bc01
3 changed files with 21 additions and 0 deletions
11
kedge/Phinigel_Autropos.lua
Normal file
11
kedge/Phinigel_Autropos.lua
Normal 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
|
||||
|
|
@ -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!");
|
||||
|
|
|
|||
|
|
@ -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!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue