9
3

atimberclawgnollMelee.lua 868 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/Antonica/atimberclawgnollMelee.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.07.09 01:07:19
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 = 14
  11. local level2 = 15
  12. local difficulty1 = 9
  13. local hp1 = 2730
  14. local power1 = 1205
  15. local difficulty2 = 9
  16. local hp2 = 3150
  17. local power2 = 1350
  18. if Level == level1 then
  19. SpawnSet(NPC, "difficulty", difficulty1)
  20. SpawnSet(NPC, "hp", hp1)
  21. SpawnSet(NPC, "power", power1)
  22. elseif Level == level2
  23. then
  24. SpawnSet(NPC, "difficulty", difficulty2)
  25. SpawnSet(NPC, "hp", hp2)
  26. SpawnSet(NPC, "power", power2)
  27. end
  28. end
  29. function hailed(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. end
  32. function respawn(NPC)
  33. spawn(NPC)
  34. end