testvar seems not to work
All checks were successful
/ test (push) Successful in 21s

This commit is contained in:
Johan Lundberg 2025-04-10 23:24:11 +02:00
parent f3b1e1b841
commit e19f169f43
2 changed files with 3 additions and 12 deletions

View file

@ -139,7 +139,7 @@ STATE: {Default} ~~ {
DoExpr {setvar[lootclock,stopwatchcreate[]]}
DoExpr {stopwatchstart[getvar[lootclock]]}
SetState {hunt}
IF: Not Expr {testvar[lootTime]}
IF: Expr {getvar[lootTime] == 0}
DO: DoExpr {setvar[lootTime, 21600]}
~~ }
STATE: {avoid_portal} ~~ {

View file

@ -834,20 +834,11 @@ hunt
s
Default
i
21
26
i
7
TABLE
2
K
V
n
n
1
i
26
TABLE
2
k
v
n
@ -856,7 +847,7 @@ n
s
e
s
testvar[lootTime]
getvar[lootTime] == 0
TABLE
2
k