add death check to run_away state
All checks were successful
/ test (push) Successful in 43s

This commit is contained in:
Johan Lundberg 2026-09-02 22:16:34 +02:00
parent 51fd6e5ab9
commit 79ee9d853f
2 changed files with 51 additions and 1 deletions

View file

@ -200,6 +200,11 @@ STATE: {count_death}
Return
STATE: {run_away}
IF: Death
DO: DoAll
DoExpr {clearvar[deathCount]}
DoExpr {clearvar[deathClock]}
SetState {death}
IF: Always
DO: DoAll
Chat {/vt opt set enablelooting false}