Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
global_npc.lua - Quest File
General Info
Quest File
function event_spawn(e) -- peq_halloween if (eq.is_content_flag_enabled("peq_halloween")) then -- exclude mounts and pets if (e.self:GetCleanName():findi("mount") or e.self:IsPet()) then return; end -- soulbinders -- priest of discord if (e.self:GetCleanName():findi("soulbinder") or e.self:GetCleanName():findi("priest of discord")) then e.self:ChangeRace(eq.ChooseRandom(14,60,82,85)); e.self:ChangeSize(6); e.self:ChangeTexture(1); e.self:ChangeGender(2); end -- Shadow Haven -- The Bazaar -- The Plane of Knowledge -- Guild Lobby local halloween_zones = eq.Set { 202, 150, 151, 344 } local not_allowed_bodytypes = eq.Set { 11, 60, 66, 67 } if (halloween_zones[eq.get_zone_id()] and not_allowed_bodytypes[e.self:GetBodyType()] == nil) then e.self:ChangeRace(eq.ChooseRandom(14,60,82,85)); e.self:ChangeSize(6); e.self:ChangeTexture(1); e.self:ChangeGender(2); end end end
Source: 17 Jan 2022
Quest Source: 28 May 2022