add manaMissing calculation to recomp_mana state (mirrors bore.af diamondMissing)
All checks were successful
/ test (push) Successful in 27s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Erik 2026-03-17 23:23:44 +01:00
parent d308c0c118
commit 2a93127c68
2 changed files with 40 additions and 2 deletions

View file

@ -931,9 +931,44 @@ recomp_mana
i
1
i
2
3
i
0
TABLE
2
K
V
n
n
3
i
7
TABLE
2
k
v
n
n
1
s
e
s
setvar[manaMissing, 100 - getitemcountininventorybyname[`Mana Scarab`]]
i
7
TABLE
2
k
v
n
n
1
s
e
s
ifthen[$manaMissing < 0, `setvar[manaMissing, 0]`]
i
2
s
/vt opt set enablenav true
s