mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
20 lines
No EOL
493 B
Lua
Executable file
20 lines
No EOL
493 B
Lua
Executable file
--[[
|
|
Script Name : ItemScripts/FrenzyRoot.lua
|
|
Script Author : Premierio015
|
|
Script Date : 2021.03.21 01:03:05
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
|
|
|
|
function used(Item, Player)
|
|
local zone = GetZone(Player)
|
|
local X = GetX(Player)
|
|
local Y = GetY(Player)
|
|
local Z = GetZ(Player)
|
|
local FrenzyRoot = SpawnMob(zone, 330938, false, X, Y, Z, 50)
|
|
if FrenzyRoot ~= nil then
|
|
AddSpawnAccess(FrenzyRoot, Player)
|
|
end
|
|
end |