add diamondMissing calculation to recomp state in bore and neftet
All checks were successful
/ test (push) Successful in 20s
All checks were successful
/ test (push) Successful in 20s
Sets diamondMissing = 100 - diamond scarabs in inventory (clamped to 0) before loading recomp nav, so ah_recomp/ah_rarecomp can report missing diamonds to Nyckelmonster. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3a21056eb7
commit
63199f62f3
4 changed files with 58 additions and 2 deletions
|
|
@ -1169,6 +1169,8 @@ STATE: {recomp} ~~ {
|
|||
DO: SetState {death}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
DoExpr {setvar[diamondMissing, 100 - getitemcountininventorybyname[`Diamond Scarab`]]}
|
||||
DoExpr {ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]}
|
||||
Chat {/vt opt set enablecombat false}
|
||||
Chat {/vt opt set enablebuffing false}
|
||||
Chat {/vt nav load ah_recomp}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue