make ammoType an external variable instead of auto-detected
All checks were successful
/ test (push) Successful in 1m35s
All checks were successful
/ test (push) Successful in 1m35s
This commit is contained in:
parent
d50d04c298
commit
59201d250d
3 changed files with 4 additions and 31 deletions
|
|
@ -9,6 +9,7 @@
|
|||
~~ followTarget - leader character name (follower only)
|
||||
~~ navRoute - main hunting route (leader only, e.g. neftet_route)
|
||||
~~ navWaitFollow - return-to-start route (both roles, e.g. neftet_wait_follow / neftet_wait_follow2)
|
||||
~~ ammoType - 0 = mage/none, 1 = xbow, 2 = bow
|
||||
~~ (navCloseStopRangeDefault removed - hardcoded to 0.00825 for both roles)
|
||||
~~
|
||||
|
||||
|
|
@ -82,7 +83,6 @@ STATE: {Default} ~~ {
|
|||
DoExpr {setvar[pickFlowers, 1]}
|
||||
DoExpr {setvar[pokePricklys, 1]}
|
||||
DoExpr {setvar[pickupRange, 10]}
|
||||
DoExpr {setvar[ammoType, cond[getinvcount[Wrapped Bundle of Quarrelshafts]>0, 1, cond[getinvcount[Wrapped Bundle of Arrowshafts]>0, 2, 0]]]}
|
||||
SetState {Hunt}
|
||||
IF: All
|
||||
Expr {getvar[isLeader]==0}
|
||||
|
|
@ -93,7 +93,6 @@ STATE: {Default} ~~ {
|
|||
Chat {/vt opt set enablebuffing true}
|
||||
Chat {/vt opt set enablenav true}
|
||||
Chat {/vt opt set navpriorityboost true}
|
||||
DoExpr {setvar[ammoType, cond[getinvcount[Wrapped Bundle of Quarrelshafts]>0, 1, cond[getinvcount[Wrapped Bundle of Arrowshafts]>0, 2, 0]]]}
|
||||
SetState {Hunt}
|
||||
~~ }
|
||||
STATE: {Hunt} ~~ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue