From e0a442313c848a0b78c23cb3e578507bd2c95cd1 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Fri, 14 Aug 2026 22:23:36 +0200 Subject: [PATCH] debug logging --- af/viridian_rise.af | 6 +++++- met/viridian_rise.met | 23 ++++++++++++++++++++++- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/af/viridian_rise.af b/af/viridian_rise.af index 3a4f92f..853fab9 100644 --- a/af/viridian_rise.af +++ b/af/viridian_rise.af @@ -78,9 +78,12 @@ STATE: {Hunt} Expr {getvar[isLeader]==0} DO: SetState {run_away} IF: ChatCapture {(?\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 diff --git a/met/viridian_rise.met b/met/viridian_rise.met index 4321da7..7c11723 100644 --- a/met/viridian_rise.met +++ b/met/viridian_rise.met @@ -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