add manaMissing calculation to recomp_mana state (mirrors bore.af diamondMissing)
All checks were successful
/ test (push) Successful in 27s
All checks were successful
/ test (push) Successful in 27s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d308c0c118
commit
2a93127c68
2 changed files with 40 additions and 2 deletions
|
|
@ -150,7 +150,10 @@ STATE: {recomp_mana} ~~ {
|
|||
Chat {/a [motes] Timeout reaching recomp mana. Resetting.}
|
||||
SetState {Default}
|
||||
IF: Always
|
||||
DO: Chat {/vt opt set enablenav true}
|
||||
DO: DoAll
|
||||
DoExpr {setvar[manaMissing, 100 - getitemcountininventorybyname[`Mana Scarab`]]}
|
||||
DoExpr {ifthen[$manaMissing < 0, `setvar[manaMissing, 0]`]}
|
||||
Chat {/vt opt set enablenav true}
|
||||
~~ }
|
||||
STATE: {hand_in_nugget} ~~ {
|
||||
IF: Death
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue