Laruken_the_Rigid.lua - Quest File
xxxxxxxxxx
1
--Notifies Neffiken Lord of Kelek`Vor that npc was killed in the camp
2
3
function event_combat(e)
4
if e.joined then
5
eq.set_timer("storms", 60 * 1000);
6
else
7
eq.stop_timer("storms");
8
end
9
end
10
11
function event_timer(e)
12
if e.timer == "storms" and e.self:IsEngaged() then
13
rand = math.random(5,10);
14
for n = 1,rand do
15
storm = eq.spawn2(210247,0,0,e.self:GetX() + math.random(-5,5), e.self:GetY() + math.random(-5,5), e.self:GetZ(), e.self:GetHeading()); --a_tumultuous_storm (210247)
16
storm:AddToHateList(e.self:GetHateRandom(),1);
17
end
18
end
19
end
20
21
function event_death_complete(e)
22
eq.signal(210176,0); -- # NPC: Neffiken_Lord_of_Kelek`Vor
23
end
24
Quest Source: 28 May 2022