FrenzyRoot.lua 493 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : ItemScripts/FrenzyRoot.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.03.21 01:03:05
  5. Script Purpose :
  6. :
  7. --]]
  8. function used(Item, Player)
  9. local zone = GetZone(Player)
  10. local X = GetX(Player)
  11. local Y = GetY(Player)
  12. local Z = GetZ(Player)
  13. local FrenzyRoot = SpawnMob(zone, 330938, false, X, Y, Z, 50)
  14. if FrenzyRoot ~= nil then
  15. AddSpawnAccess(FrenzyRoot, Player)
  16. end
  17. end