MoleratTest.lua 436 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Commoner/MoleratTest.lua
  3. Script Author : neatz09
  4. Script Date : 2019.08.29 01:08:30
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. SummonPet(Caster, 2780089)
  10. CallCliffdiverHawk(NPC, Spawn)
  11. local CliffdiverHawk = GetSpawn(NPC, 2780089)
  12. if CliffdiverHawk ~= nil then
  13. AddTimer(CliffdiverHawk, 5000, "FlyToMoleRat", 1, Spawn)
  14. end
  15. end