9
3

Kraofla.lua 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/Kraofla.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.08.09 02:08:25
  5. Script Purpose :
  6. :
  7. --]]
  8. local SearchfortheMissing = 573
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function aggro(NPC, Spawn)
  18. PlayFlavor(NPC, "voiceover/english/froglok_base_1/ft/froglok/froglok_base_1_1_aggro_gf_12dbb8ad.mp3", "Caught thee red handed, did I?", "", 2509424465, 3667247007, Spawn)
  19. end
  20. function death(NPC, Spawn)
  21. PlayFlavor(NPC, "voiceover/english/froglok_base_1/ft/froglok/froglok_base_1_1_death_gf_f9da3030.mp3", "Withdraw, fine comrades. I shall remain.", "", 47103978, 1821153074, Spawn)
  22. AddTimer(NPC,8000,"DespawnTime")
  23. end
  24. function DespawnTime(NPC)
  25. Despawn(NPC)
  26. end
  27. function healthchanged(NPC, Spawn)
  28. local chance = math.random(1, 100)
  29. if chance <= 20 then
  30. PlayFlavor(NPC, "", "Marr protect me!", "", 1689589577, 4560189, Spawn)
  31. end
  32. end