save/lower/restore attackdistance during bella and stipend services in neftet
All checks were successful
/ test (push) Successful in 1m7s
All checks were successful
/ test (push) Successful in 1m7s
This commit is contained in:
parent
23bd9a0708
commit
28a75a6d74
2 changed files with 95 additions and 7 deletions
|
|
@ -111,6 +111,7 @@ STATE: {Default} ~~ {
|
|||
Chat {/vt opt set enablebuffing true}
|
||||
Chat {/vt opt set enablenav true}
|
||||
Chat {/vt opt set navpriorityboost false}
|
||||
GetOpt {attackdistance} {savedAttackRange}
|
||||
ChatExpr {\/vt nav load +getvar[navRoute]}
|
||||
Chat {/ub fellow create Sawato Rockstyle}
|
||||
DoExpr {setvar[pickFlowers, 1]}
|
||||
|
|
@ -126,6 +127,7 @@ STATE: {Default} ~~ {
|
|||
Chat {/vt opt set enablebuffing true}
|
||||
Chat {/vt opt set enablenav true}
|
||||
Chat {/vt opt set navpriorityboost true}
|
||||
GetOpt {attackdistance} {savedAttackRange}
|
||||
SetState {service_quest_refresh}
|
||||
~~ }
|
||||
STATE: {Hunt} ~~ {
|
||||
|
|
@ -383,6 +385,7 @@ STATE: {service_decide} ~~ {
|
|||
IF: Always
|
||||
DO: DoAll
|
||||
ChatExpr {\/vt opt set navpriorityboost +iif[getvar[isLeader],`false`,`true`]}
|
||||
ChatExpr {\/vt opt set attackdistance +getvar[savedAttackRange]}
|
||||
DoExpr {setvar[serviceClock,stopwatchcreate[]]}
|
||||
DoExpr {stopwatchstart[getvar[serviceClock]]}
|
||||
SetState {Hunt}
|
||||
|
|
@ -397,6 +400,7 @@ STATE: {service_stipend} ~~ {
|
|||
Chat {/vt opt set enablecombat false}
|
||||
Chat {/vt opt set enablelooting false}
|
||||
Chat {/vt opt set enablenav true}
|
||||
Chat {/vt opt set attackdistance 0.0208333333333333}
|
||||
DoExpr {setvar[stipendBackoffClock, stopwatchcreate[]]}
|
||||
DoExpr {stopwatchstart[getvar[stipendBackoffClock]]}
|
||||
DoExpr {touchvar[stipendNavLoaded]}
|
||||
|
|
@ -420,6 +424,7 @@ STATE: {service_bella_start} ~~ {
|
|||
Chat {/vt opt set enablelooting false}
|
||||
Chat {/vt opt set enablenav false}
|
||||
Chat {/vt opt set enablebuffing true}
|
||||
Chat {/vt opt set attackdistance 0.0208333333333333}
|
||||
IF: SecsInStateGE 2
|
||||
DO: DoAll
|
||||
Chat {/a [bella] starting marketplace entry}
|
||||
|
|
@ -438,6 +443,7 @@ STATE: {service_bella_backoff} ~~ {
|
|||
Chat {/a [bella] backoff tripped, disabling augment services for 24h}
|
||||
Chat {/vt opt set enablecombat true}
|
||||
Chat {/vt opt set enablenav true}
|
||||
ChatExpr {\/vt opt set attackdistance +getvar[savedAttackRange]}
|
||||
DoExpr {setvar[disableAugmentServices, 1]}
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
DoExpr {setvar[bellaMpPrimaryAttempts, 0]}
|
||||
|
|
@ -1066,6 +1072,7 @@ STATE: {service_reset_main} ~~ {
|
|||
IF: Always
|
||||
DO: DoAll
|
||||
ChatExpr {\/vt opt set navpriorityboost +iif[getvar[isLeader],`false`,`true`]}
|
||||
ChatExpr {\/vt opt set attackdistance +getvar[savedAttackRange]}
|
||||
DoExpr {clearvar[questsRequested]}
|
||||
DoExpr {clearvar[stipendNavLoaded]}
|
||||
DoExpr {clearvar[augmentNav]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue