diff --git a/bore.af b/bore.af index 5136a49..96a3c6b 100644 --- a/bore.af +++ b/bore.af @@ -139,8 +139,10 @@ STATE: {Default} ~~ { DoExpr {setvar[lootclock,stopwatchcreate[]]} DoExpr {stopwatchstart[getvar[lootclock]]} SetState {hunt} - IF: All + IF: Any Expr {getvar[lootTime] == 0} + Not Expr {touchvar[lootTime]} + Not Expr {testvar[lootTime]} DO: DoExpr {setvar[lootTime, 21600]} ~~ } STATE: {avoid_portal} ~~ { diff --git a/bore.met b/bore.met index f54ecfa..89f08fc 100644 --- a/bore.met +++ b/bore.met @@ -834,7 +834,7 @@ hunt s Default i -2 +3 i 7 TABLE @@ -843,6 +843,28 @@ K V n n +3 +i +26 +TABLE +2 +k +v +n +n +1 +s +e +s +getvar[lootTime] == 0 +i +21 +TABLE +2 +K +V +n +n 1 i 26 @@ -856,7 +878,29 @@ n s e s -getvar[lootTime] == 0 +touchvar[lootTime] +i +21 +TABLE +2 +K +V +n +n +1 +i +26 +TABLE +2 +k +v +n +n +1 +s +e +s +testvar[lootTime] TABLE 2 k