gate bella jaw backoff by attempts
All checks were successful
/ test (push) Successful in 18s

This commit is contained in:
Erik 2026-03-12 10:33:46 +01:00
parent 5dcee09b7b
commit 52a1006372
4 changed files with 56 additions and 8 deletions

View file

@ -389,14 +389,16 @@ STATE: {service_bella_jaw_run} ~~ {
Chat {/vt opt set lootonlyrarecorpses false} Chat {/vt opt set lootonlyrarecorpses false}
SetState {service_bella_jaw_hunt} SetState {service_bella_jaw_hunt}
IF: All IF: All
SecsInStateGE 30 SecsInStateGE 300
Expr {getvar[bellaJawRunRecoverAttempts]<3} Expr {getvar[bellaJawRunRecoverAttempts]<3}
DO: DoAll DO: DoAll
DoExpr {chatbox[`/a [bella] jaw_run stuck, recall retry `+cstr[getvar[bellaJawRunRecoverAttempts]+1]+`/3`]} DoExpr {chatbox[`/a [bella] jaw_run stuck, recall retry `+cstr[getvar[bellaJawRunRecoverAttempts]+1]+`/3`]}
DoExpr {setvar[bellaJawRunRecoverAttempts,getvar[bellaJawRunRecoverAttempts]+1]} DoExpr {setvar[bellaJawRunRecoverAttempts,getvar[bellaJawRunRecoverAttempts]+1]}
Chat {/vt nav load nav_portal_recall} Chat {/vt nav load nav_portal_recall}
SetState {service_bella_jaw_run} SetState {service_bella_jaw_run}
IF: SecsInStateGE 300 IF: All
SecsInStateGE 300
Expr {getvar[bellaJawRunRecoverAttempts]>=3}
DO: SetState {service_bella_backoff} DO: SetState {service_bella_backoff}
~~ } ~~ }
STATE: {service_bella_jaw_hunt} ~~ { STATE: {service_bella_jaw_hunt} ~~ {

View file

@ -454,14 +454,16 @@ STATE: {service_bella_jaw_run} ~~ {
Chat {/vt opt set lootonlyrarecorpses false} Chat {/vt opt set lootonlyrarecorpses false}
SetState {service_bella_jaw_hunt} SetState {service_bella_jaw_hunt}
IF: All IF: All
SecsInStateGE 30 SecsInStateGE 300
Expr {getvar[bellaJawRunRecoverAttempts]<3} Expr {getvar[bellaJawRunRecoverAttempts]<3}
DO: DoAll DO: DoAll
DoExpr {chatbox[`/a [bella] jaw_run stuck, recall retry `+cstr[getvar[bellaJawRunRecoverAttempts]+1]+`/3`]} DoExpr {chatbox[`/a [bella] jaw_run stuck, recall retry `+cstr[getvar[bellaJawRunRecoverAttempts]+1]+`/3`]}
DoExpr {setvar[bellaJawRunRecoverAttempts,getvar[bellaJawRunRecoverAttempts]+1]} DoExpr {setvar[bellaJawRunRecoverAttempts,getvar[bellaJawRunRecoverAttempts]+1]}
Chat {/vt nav load nav_portal_recall} Chat {/vt nav load nav_portal_recall}
SetState {service_bella_jaw_run} SetState {service_bella_jaw_run}
IF: SecsInStateGE 300 IF: All
SecsInStateGE 300
Expr {getvar[bellaJawRunRecoverAttempts]>=3}
DO: SetState {service_bella_backoff} DO: SetState {service_bella_backoff}
~~ } ~~ }
STATE: {service_bella_jaw_hunt} ~~ { STATE: {service_bella_jaw_hunt} ~~ {

View file

@ -3541,7 +3541,7 @@ n
i i
6 6
i i
30 300
i i
26 26
TABLE TABLE
@ -3599,11 +3599,33 @@ service_bella_jaw_run
s s
service_bella_jaw_run service_bella_jaw_run
i i
6 2
i i
1 1
TABLE
2
K
V
n
n
2
i
6
i i
300 300
i
26
TABLE
2
k
v
n
n
1
s
e
s
getvar[bellaJawRunRecoverAttempts]>=3
s s
service_bella_backoff service_bella_backoff
s s

View file

@ -4293,7 +4293,7 @@ n
i i
6 6
i i
30 300
i i
26 26
TABLE TABLE
@ -4351,11 +4351,33 @@ service_bella_jaw_run
s s
service_bella_jaw_run service_bella_jaw_run
i i
6 2
i i
1 1
TABLE
2
K
V
n
n
2
i
6
i i
300 300
i
26
TABLE
2
k
v
n
n
1
s
e
s
getvar[bellaJawRunRecoverAttempts]>=3
s s
service_bella_backoff service_bella_backoff
s s