remove state goingback
All checks were successful
/ test (push) Successful in 18s

This commit is contained in:
Johan Lundberg 2025-04-12 00:01:55 +02:00
parent f2cd8faffb
commit 541948f1ec
2 changed files with 57 additions and 103 deletions

View file

@ -53,7 +53,7 @@ STATE: {death} ~~ {
Chat {/vt opt set enablecombat false}
Chat {/a ARGH I died!}
IF: ExitPortal
DO: SetState {goingback}
DO: SetState {tusker_run}
~~ }
STATE: {Default} ~~ {
IF: Always
@ -76,21 +76,6 @@ STATE: {Default} ~~ {
DoExpr {setvar[lootclock,stopwatchcreate[]]}
DoExpr {stopwatchstart[getvar[lootclock]]}
SetState {hunt}
IF: Death
DO: SetState {death}
~~ }
STATE: {goingback} ~~ {
IF: SecsInStateGE 900
DO: SetState {goingback}
IF: Death
DO: SetState {death}
IF: Always
DO: DoAll
Chat {/vt opt set enablenav true}
Chat {/vt opt set enablebuffing true}
Chat {/vt opt set enablecombat false}
Chat {/vt nav load aphus_route+getvar[navNumber]}
SetState {tusker_run}
~~ }
STATE: {hunt} ~~ {
IF: Always
@ -105,18 +90,16 @@ STATE: {hunt} ~~ {
Chat {/vt opt set enablenav false}
SetState {combat}
IF: Always
DO: SetWatchdog 10 600 {goingback}
DO: SetWatchdog 10 600 {tusker_run}
IF: ItemCountLE 100 {Prismatic Taper}
DO: DoAll
SetState {out_of_comp}
IF: DistToRteGE 100
DO: SetState {goingback}
DO: SetState {tusker_run}
IF: All
Expr {stopwatchelapsedseconds[getvar[lootclock]]>getvar[lootTime]}
DO: DoAll
SetState {loot}
IF: PSecsInStateGE 300
DO: SetState {goingback}
~~ }
STATE: {loot} ~~ {
IF: Always
@ -151,13 +134,19 @@ STATE: {out_of_comp} ~~ {
IF: Always
DO: Chat {/vt nav load ah_recomp}
IF: NavEmpty
DO: SetState {goingback}
DO: SetState {tusker_run}
~~ }
STATE: {tusker_run} ~~ {
IF: SecsInStateGE 900
DO: SetState {goingback}
DO: SetState {tusker_run}
IF: Death
DO: SetState {death}
IF: Always
DO: DoAll
Chat {/vt opt set enablenav true}
Chat {/vt opt set enablebuffing true}
Chat {/vt opt set enablecombat false}
ChatExpr {\/vt nav load aphus_route+getvar[navNumber]}
IF: NavEmpty
DO: DoAll
ChatExpr {\/vt nav load aphus_circuit+getvar[navNumber]}