gate vox and nagafen banish to velious.

correct the api used for Alrik_Farsight.lua
This commit is contained in:
regneq 2025-07-16 05:25:02 -07:00
parent a65924f0b4
commit 06257275e3
4 changed files with 7 additions and 6 deletions

View file

@ -8,7 +8,8 @@ end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12990, item2 = 12755})) then --Scribblings, Stoneleer Emerald Plume
local text = "You shall see my master when I have Jarldyn's scribblings and an emerald plume.";
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 12990, item2 = 12755},1,text)) then --Scribblings, Stoneleer Emerald Plume
e.self:Say("Ha ha ha!! Fool! I have what I need. Now you are granted an audience with a noble sarnak lord, not my master. I am quite sure he shall do away with you. Ha ha ha!!");
e.other:QuestReward(e.self,0,0,0,0,0,5000);
e.other:MovePC(87,-4039,6280,-53); --Atheling Plague's Tower

View file

@ -13,7 +13,7 @@ function event_spawn(e)
end
function event_enter(e)
if(e.other:GetLevel() > 52 and e.other:Admin() < 80) then
if(eq.is_the_scars_of_velious_enabled() and e.other:GetLevel() > 52 and e.other:Admin() < 80) then
e.other:Message(4,"I will not fight you, but I shall banish you!");
e.other:MovePC(30,-7024,2020,-60.7,0); -- Zone: everfrost
end
@ -33,7 +33,7 @@ function event_timer(e)
if(e.timer == "1") then
if(e.self:GetX() < -431 or e.self:GetX() > -85 or e.self:GetY() < 770 or e.self:GetY() > 1090 or e.self:GetZ() < -50) then
e.self:GMMove(SpawnX,SpawnY,SpawnZ,SpawnH);
elseif(e.self:CountHateList() > 0) then
elseif(eq.is_the_scars_of_velious_enabled() and e.self:CountHateList() > 0) then
e.self:ForeachHateList(
function(ent, hate, damage, frenzy)
if(ent:IsClient()) then

View file

@ -15,7 +15,7 @@ function event_spawn(e)
end
function event_enter(e)
if(e.other:GetLevel() > 52 and e.other:Admin() < 80) then
if(eq.is_the_scars_of_velious_enabled() and e.other:GetLevel() > 52 and e.other:Admin() < 80) then
e.other:Message(4,"I will not fight you, but I shall banish you!");
e.other:MovePC(27,534,913,55,0); -- Zone: lavastorm
end
@ -35,7 +35,7 @@ function event_timer(e)
if(e.timer == "1") then
if(e.self:GetX() < -1000 or e.self:GetX() > -650 or e.self:GetY() < -1500 or e.self:GetY() > -1170) then
e.self:GMMove(SpawnX,SpawnY,SpawnZ,SpawnH);
elseif(e.self:CountHateList() > 0) then
elseif(eq.is_the_scars_of_velious_enabled() and e.self:CountHateList() > 0) then
e.self:ForeachHateList(
function(ent, hate, damage, frenzy)
if(ent:IsClient()) then

View file

@ -29,7 +29,7 @@ function event_trade(e)
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 20474})) then
e.self:Emote("grins happily. 'Excellent! Was he pleased with the artifact? Oh, that's not even worth answering. I'm sure he was. He's always happy with the things I send him. That's why he honored me with this position of esteem, searching for useful and powerful items in this newly discovered land.'");
e.other:QuestReward(e.self,0,0,0,0,18960);
if(e.wp >= 3 and e.wp <= 10) then
if(e.self:GetWaypointID >= 3 and e.self:GetWaypointID <= 10) then
eq.signal(96035,2,30); -- NPC: Xiblin_Fizzlebik
end
end