move manaMissing calc to recomp state alongside diamondMissing in bore and neftet
All checks were successful
/ test (push) Successful in 19s
All checks were successful
/ test (push) Successful in 19s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ce62dd0b22
commit
7c553e19ab
4 changed files with 60 additions and 60 deletions
|
|
@ -1071,6 +1071,8 @@ STATE: {recomp} ~~ {
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
DoExpr {setvar[diamondMissing, 100 - getitemcountininventorybyname[`Diamond Scarab`]]}
|
DoExpr {setvar[diamondMissing, 100 - getitemcountininventorybyname[`Diamond Scarab`]]}
|
||||||
DoExpr {ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]}
|
DoExpr {ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]}
|
||||||
|
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 nav load ah_rarecomp}
|
Chat {/vt nav load ah_rarecomp}
|
||||||
|
|
@ -1080,8 +1082,6 @@ 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}
|
||||||
|
|
|
||||||
|
|
@ -1185,6 +1185,8 @@ STATE: {recomp} ~~ {
|
||||||
DO: DoAll
|
DO: DoAll
|
||||||
DoExpr {setvar[diamondMissing, 100 - getitemcountininventorybyname[`Diamond Scarab`]]}
|
DoExpr {setvar[diamondMissing, 100 - getitemcountininventorybyname[`Diamond Scarab`]]}
|
||||||
DoExpr {ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]}
|
DoExpr {ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]}
|
||||||
|
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 nav load ah_recomp}
|
Chat {/vt nav load ah_recomp}
|
||||||
|
|
@ -1199,8 +1201,6 @@ 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}
|
||||||
|
|
|
||||||
56
met/bore.met
56
met/bore.met
|
|
@ -10056,7 +10056,7 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
5
|
7
|
||||||
i
|
i
|
||||||
7
|
7
|
||||||
TABLE
|
TABLE
|
||||||
|
|
@ -10084,6 +10084,32 @@ e
|
||||||
s
|
s
|
||||||
ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]
|
ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]
|
||||||
i
|
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
|
2
|
||||||
s
|
s
|
||||||
/vt opt set enablecombat false
|
/vt opt set enablecombat false
|
||||||
|
|
@ -10119,33 +10145,7 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
6
|
4
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -11121,7 +11121,7 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
6
|
8
|
||||||
i
|
i
|
||||||
7
|
7
|
||||||
TABLE
|
TABLE
|
||||||
|
|
@ -11149,6 +11149,32 @@ e
|
||||||
s
|
s
|
||||||
ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]
|
ifthen[$diamondMissing < 0, `setvar[diamondMissing, 0]`]
|
||||||
i
|
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
|
2
|
||||||
s
|
s
|
||||||
/vt opt set enablecombat false
|
/vt opt set enablecombat false
|
||||||
|
|
@ -11225,33 +11251,7 @@ K
|
||||||
V
|
V
|
||||||
n
|
n
|
||||||
n
|
n
|
||||||
6
|
4
|
||||||
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