Skip to content

Commit

Permalink
adding hunt train helper
Browse files Browse the repository at this point in the history
  • Loading branch information
pot0to committed Oct 23, 2024
1 parent b7bb59e commit a513afd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Hunt Train Helper.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
if not GetCharacterCondition(4) then
yield('/gaction "mount roulette"')
yield("/wait 3")
end
yield("/vnav flyflag")
yield("/wait 3")
yield("/rotation manual")

while PathfindInProgress() or PathIsRunning() do
yield("/wait 1")
end

repeat
yield('/ac dismount')
yield("/wait 1")
until not GetCharacterCondition(4)

yield("/targetenemy")

if HasTarget() and GetTargetHuntRank() == 2 then
if GetDistanceToTarget() > 20 then
if not PathfindInProgress() and not PathIsRunning() then
PathfindAndMoveTo(GetTargetRawXPos(), GetTargetRawYPos(), GetTargetRawZPos())
end
else
yield("/vnav stop")
end
else
yield("/nexttarget")
end

0 comments on commit a513afd

Please sign in to comment.