9
3

orc_summon_portal.lua 547 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 : Update, increased the chance of an additional orc to 3 seconds to avoid overwhelming dwarves. 2022.08.28 Dorbin
  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(3000,12000), "SpawnTimer")
  14. end