orc_summon_portal.lua 433 B

12345678910111213141516
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/orc_summon_portal.lua
  3. Script Purpose : for the portal that spawns orc
  4. Script Author : theFoof
  5. Script Date : 2013.6.8
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. SpawnTimer(NPC)
  10. end
  11. function SpawnTimer(NPC)
  12. SpawnMob(GetZone(NPC), 4700096, 0, 750.68 + math.random(-4,4), 103.15, -504.11 + math.random(-4,4), 130)
  13. AddTimer(NPC, math.random(1,12000), "SpawnTimer")
  14. end