TheDarkpawFanglord3.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/Antonica/TheDarkpawFanglord3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.01 06:09:13
  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, -1458.51, -11.56, 646.21, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -1451.04, -15.08, 619.52, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -1473.11, -7.14, 607.99, 2, 0)
  24. MovementLoopAddLocation(NPC, -1485.34, -3.1, 606.55, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -1511.16, -0.25, 603.9, 2, 0)
  26. MovementLoopAddLocation(NPC, -1513.43, -0.09, 601.52, 2, 5)
  27. MovementLoopAddLocation(NPC, -1514.71, -0.01, 599.67, 2, 0)
  28. MovementLoopAddLocation(NPC, -1547.11, 2.92, 611.51, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -1540.58, 1.01, 646.31, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -1518.7, -0.66, 645.47, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -1461.14, -11.38, 644.81, 2, math.random(5,10))
  32. end