Kraofla.lua 924 B

12345678910111213141516171819202122232425262728293031323334
  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. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. end
  15. function aggro(NPC, Spawn)
  16. 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)
  17. end
  18. function death(NPC, Spawn)
  19. 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)
  20. end
  21. function healthchanged(NPC, Spawn)
  22. local chance = math.random(1, 100)
  23. if chance <= 20 then
  24. PlayFlavor(NPC, "", "Marr protect me!", "", 1689589577, 4560189, Spawn)
  25. end
  26. end