TheDarkpawFanglord2.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/Antonica/TheDarkpawFanglord2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.01 06:09:56
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. dmgMod = GetStr(NPC)/10
  10. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  11. SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(65 + dmgMod))
  12. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(105 + dmgMod))
  13. waypoints(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, -1662.09, -13.61, 750.33, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -1656.4, -11.61, 737.98, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -1641.06, -2.8, 691.4, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -1669.29, -5.06, 677.39, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -1674.66, -9.62, 701.8, 2, 0)
  26. MovementLoopAddLocation(NPC, -1679.65, -10.44, 705.44, 2, 0)
  27. MovementLoopAddLocation(NPC, -1676.37, -9.93, 712.28, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -1670.61, -8.93, 711.8, 2, 0)
  29. MovementLoopAddLocation(NPC, -1669.79, -9.63, 716.74, 2, 0)
  30. MovementLoopAddLocation(NPC, -1656.51, -12.86, 744.62, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -1640.19, -10.44, 740.87, 2, 0)
  32. MovementLoopAddLocation(NPC, -1632.37, -8.36, 736.17, 2, 0)
  33. MovementLoopAddLocation(NPC, -1626.6, -9.01, 738.49, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -1632.64, -8.39, 736.25, 2, 0)
  35. MovementLoopAddLocation(NPC, -1655.8, -14.29, 752.17, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, -1663.54, -11.35, 735.18, 2, 0)
  37. MovementLoopAddLocation(NPC, -1665.95, -11.16, 732.54, 2, 0)
  38. MovementLoopAddLocation(NPC, -1667.63, -10.74, 726.46, 2, 0)
  39. MovementLoopAddLocation(NPC, -1669.06, -10.49, 723.57, 2, math.random(5,10))
  40. end