9
3

aSabertoothdarkstrider.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aSabertoothdarkstrider.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.07.23 10:07:25
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 14
  11. local level2 = 15
  12. local level3 = 16
  13. local difficulty1 = 6
  14. local hp1 = 795
  15. local power1 = 240
  16. local difficulty2 = 6
  17. local hp2 = 920
  18. local power2 = 270
  19. local difficulty3 = 6
  20. local hp3 = 1045
  21. local power3 = 310
  22. if Level == level1 then
  23. SpawnSet(NPC, "difficulty", difficulty1)
  24. SpawnSet(NPC, "hp", hp1)
  25. SpawnSet(NPC, "power", power1)
  26. elseif Level == level2
  27. then
  28. SpawnSet(NPC, "difficulty", difficulty2)
  29. SpawnSet(NPC, "hp", hp2)
  30. SpawnSet(NPC, "power", power2)
  31. elseif Level == level3
  32. then
  33. SpawnSet(NPC, "difficulty", difficulty3)
  34. SpawnSet(NPC, "hp", hp3)
  35. SpawnSet(NPC, "power", power3)
  36. end
  37. end
  38. function hailed(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. end
  41. function respawn(NPC)
  42. spawn(NPC)
  43. end