add manaMissing calculation to recomp_mana_scarab in bore and neftet
All checks were successful
/ test (push) Successful in 23s
All checks were successful
/ test (push) Successful in 23s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2a93127c68
commit
ce62dd0b22
4 changed files with 58 additions and 2 deletions
|
|
@ -1080,6 +1080,8 @@ STATE: {recomp_mana_scarab} ~~ {
|
||||||
DO: SetState {death}
|
DO: SetState {death}
|
||||||
IF: Always
|
IF: Always
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
|
DoExpr {setvar[manaMissing, 100 - getitemcountininventorybyname[`Mana Scarab`]]}
|
||||||
|
DoExpr {ifthen[$manaMissing < 0, `setvar[manaMissing, 0]`]}
|
||||||
Chat {/vt opt set enablecombat false}
|
Chat {/vt opt set enablecombat false}
|
||||||
Chat {/vt opt set enablebuffing false}
|
Chat {/vt opt set enablebuffing false}
|
||||||
Chat {/vt opt set NavCloseStopRange 0.00425}
|
Chat {/vt opt set NavCloseStopRange 0.00425}
|
||||||
|
|
|
||||||
|
|
@ -1199,6 +1199,8 @@ STATE: {recomp_mana_scarab} ~~ {
|
||||||
DO: SetState {death}
|
DO: SetState {death}
|
||||||
IF: Always
|
IF: Always
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
|
DoExpr {setvar[manaMissing, 100 - getitemcountininventorybyname[`Mana Scarab`]]}
|
||||||
|
DoExpr {ifthen[$manaMissing < 0, `setvar[manaMissing, 0]`]}
|
||||||
Chat {/vt opt set enablecombat false}
|
Chat {/vt opt set enablecombat false}
|
||||||
Chat {/vt opt set enablebuffing false}
|
Chat {/vt opt set enablebuffing false}
|
||||||
Chat {/vt opt set NavCloseStopRange 0.00425}
|
Chat {/vt opt set NavCloseStopRange 0.00425}
|
||||||
|
|
|
||||||
28
met/bore.met
28
met/bore.met
|
|
@ -10119,7 +10119,33 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
4
|
6
|
||||||
|
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
|
i
|
||||||
2
|
2
|
||||||
s
|
s
|
||||||
|
|
|
||||||
|
|
@ -11225,7 +11225,33 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
4
|
6
|
||||||
|
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
|
i
|
||||||
2
|
2
|
||||||
s
|
s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue