aFireyforgottenguardianSTATIC.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/Classic_forest/aFireyforgottenguardianSTATIC.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.14 09:10:22
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseFireElemental1.lua")
  9. function spawn(NPC)
  10. local Level = GetLevel(NPC)
  11. local level1 = 9
  12. local level2 = 10
  13. local level3 = 11
  14. local difficulty1 = 7
  15. local hp1 = 370
  16. local power1 = 160
  17. local difficulty2 = 7
  18. local hp2 = 430
  19. local power2 = 200
  20. local difficulty3 =7
  21. local hp3 = 580
  22. local power3 = 240
  23. if Level == level1 then
  24. SpawnSet(NPC, "difficulty", difficulty1)
  25. SpawnSet(NPC, "hp", hp1)
  26. SpawnSet(NPC, "power", power1)
  27. elseif Level == level2
  28. then
  29. SpawnSet(NPC, "difficulty", difficulty2)
  30. SpawnSet(NPC, "hp", hp2)
  31. SpawnSet(NPC, "power", power2)
  32. elseif Level == level3
  33. then
  34. SpawnSet(NPC, "difficulty", difficulty3)
  35. SpawnSet(NPC, "hp", hp3)
  36. SpawnSet(NPC, "power", power3)
  37. end
  38. end
  39. function respawn(NPC)
  40. spawn(NPC)
  41. end