clear vrRunbackNavLoaded in Default
All checks were successful
/ test (push) Successful in 23s

This commit is contained in:
Johan Lundberg 2026-09-03 20:07:26 +02:00
parent 0d7f9befc0
commit 81345ed1c9
2 changed files with 78 additions and 2 deletions

View file

@ -25,6 +25,7 @@ STATE: {Default}
DO: DoAll DO: DoAll
DoExpr {touchvar[deathCount]} DoExpr {touchvar[deathCount]}
DoExpr {touchvar[deathClock]} DoExpr {touchvar[deathClock]}
DoExpr {clearvar[vrRunbackNavLoaded]}
IF: All IF: All
Expr {getvar[isLeader]} Expr {getvar[isLeader]}
DO: DoAll DO: DoAll
@ -83,6 +84,8 @@ STATE: {Hunt}
DO: Chat {/fellowship #tomuchviteaviridianrise} DO: Chat {/fellowship #tomuchviteaviridianrise}
IF: ChatMatch {^\[Fellowship\].*(say|says), \"#tomuchviteaviridianrise\"$} IF: ChatMatch {^\[Fellowship\].*(say|says), \"#tomuchviteaviridianrise\"$}
DO: SetState {vitae_run} DO: SetState {vitae_run}
IF: ChatMatch {^\[Fellowship\].*(say|says), \"#vitaerundoneviridianrise\"$}
DO: SetState {Default}
IF: All IF: All
ChatCapture {^Your fellow (?<who>\w[\w ]*\w) has died!$} {} ChatCapture {^Your fellow (?<who>\w[\w ]*\w) has died!$} {}
Expr {getvar[capturegroup_who]==getvar[followTarget]} Expr {getvar[capturegroup_who]==getvar[followTarget]}
@ -218,6 +221,11 @@ STATE: {run_away}
DO: SetState {vitae_run} DO: SetState {vitae_run}
STATE: {vitae_run} STATE: {vitae_run}
IF: Death
DO: DoAll
DoExpr {clearvar[deathCount]}
DoExpr {clearvar[deathClock]}
SetState {death}
IF: Always IF: Always
DO: DoAll DO: DoAll
Chat {/vt opt set enablecombat false} Chat {/vt opt set enablecombat false}

View file

@ -11,7 +11,7 @@ n
n n
n n
n n
76 78
i i
1 1
i i
@ -24,7 +24,7 @@ K
V V
n n
n n
2 3
i i
7 7
TABLE TABLE
@ -51,6 +51,19 @@ s
e e
s s
touchvar[deathClock] touchvar[deathClock]
i
7
TABLE
2
k
v
n
n
1
s
e
s
clearvar[vrRunbackNavLoaded]
s s
Default Default
i i
@ -509,6 +522,16 @@ vitae_run
s s
Hunt Hunt
i i
4
i
1
s
^\[Fellowship\].*(say|says), \"#vitaerundoneviridianrise\"$
s
Default
s
Hunt
i
2 2
i i
3 3
@ -1818,6 +1841,51 @@ vitae_run
s s
run_away run_away
i i
8
i
3
i
0
TABLE
2
K
V
n
n
3
i
7
TABLE
2
k
v
n
n
1
s
e
s
clearvar[deathCount]
i
7
TABLE
2
k
v
n
n
1
s
e
s
clearvar[deathClock]
i
1
s
death
s
vitae_run
i
1 1
i i
3 3