debug logging
All checks were successful
/ test (push) Successful in 36s

This commit is contained in:
Johan Lundberg 2026-08-14 22:23:36 +02:00
parent 5527a6ed38
commit e0a442313c
2 changed files with 27 additions and 2 deletions

View file

@ -78,9 +78,12 @@ STATE: {Hunt}
Expr {getvar[isLeader]==0}
DO: SetState {run_away}
IF: ChatCapture {(?<who>\w[\w ]*\w) has died!$} {}
DO: DoExpr {setvar[deathCount, getvar[deathCount]+1]}
DO: DoAll
Chat {/f I SAW DEATH!}
DoExpr {setvar[deathCount, getvar[deathCount]+1]}
IF: Expr {getvar[deathCount]==1}
DO: DoAll
Chat {/f deathClock started}
DoExpr {setvar[deathClock,stopwatchcreate[]]}
DoExpr {stopwatchstart[getvar[deathClock]]}
IF: Expr {getvar[deathCount]>1}
@ -89,6 +92,7 @@ STATE: {Hunt}
Expr {getvar[deathClock]}
Expr {stopwatchelapsedseconds[getvar[deathClock]]>60}
DO: DoAll
Chat {/f deathClock stoppped}
DoExpr {clearvar[deathCount]}
DoExpr {clearvar[deathClock]}
IF: All

View file

@ -460,7 +460,7 @@ Hunt
i
28
i
7
3
TABLE
2
k
@ -476,6 +476,19 @@ s
c
s
TABLE
2
K
V
n
n
2
i
2
s
/f I SAW DEATH!
i
7
TABLE
2
k
@ -510,7 +523,11 @@ K
V
n
n
3
i
2
s
/f deathClock started
i
7
TABLE
@ -601,7 +618,11 @@ K
V
n
n
3
i
2
s
/f deathClock stoppped
i
7
TABLE