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 {setvar[lootclock,stopwatchcreate[]]}
DoExpr {stopwatchstart[getvar[lootclock]]} DoExpr {stopwatchstart[getvar[lootclock]]}
SetState {hunt} SetState {hunt}
IF: Not Expr {testvar[lootTime]} IF: Expr {getvar[lootTime] == 0}
DO: DoExpr {setvar[lootTime, 21600]} DO: DoExpr {setvar[lootTime, 21600]}
~~ } ~~ }
STATE: {avoid_portal} ~~ { STATE: {avoid_portal} ~~ {

View file

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