check if deathclock is set
All checks were successful
/ test (push) Successful in 1m5s

This commit is contained in:
Johan Lundberg 2026-08-14 21:58:25 +02:00
parent 00c2bf0a37
commit 5527a6ed38
2 changed files with 26 additions and 2 deletions

View file

@ -85,7 +85,9 @@ STATE: {Hunt}
DoExpr {stopwatchstart[getvar[deathClock]]}
IF: Expr {getvar[deathCount]>1}
DO: SetState {run_away}
IF: Expr {stopwatchelapsedseconds[getvar[deathClock]]>60}
IF: All
Expr {getvar[deathClock]}
Expr {stopwatchelapsedseconds[getvar[deathClock]]>60}
DO: DoAll
DoExpr {clearvar[deathCount]}
DoExpr {clearvar[deathClock]}

View file

@ -559,11 +559,33 @@ run_away
s
Hunt
i
26
2
i
3
TABLE
2
K
V
n
n
2
i
26
TABLE
2
k
v
n
n
1
s
e
s
getvar[deathClock]
i
26
TABLE
2
k
v
n