This commit is contained in:
parent
a5eff02ca1
commit
18bab23ead
4 changed files with 672 additions and 8 deletions
33
af/bore.af
33
af/bore.af
|
|
@ -169,6 +169,12 @@ STATE: {Default} ~~ {
|
|||
DO: DoExpr {setvar[augResistFrostTarget, 0]}
|
||||
IF: Not Expr {testvar[augResistAcidTarget]}
|
||||
DO: DoExpr {setvar[augResistAcidTarget, 0]}
|
||||
IF: Not Expr {testvar[disableAugmentServices]}
|
||||
DO: DoExpr {setvar[disableAugmentServices, 0]}
|
||||
IF: Not Expr {testvar[bellaStartAttempts]}
|
||||
DO: DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
IF: Not Expr {testvar[bellaBackoffSeconds]}
|
||||
DO: DoExpr {setvar[bellaBackoffSeconds, 86400]}
|
||||
IF: Not Expr {testvar[serviceCheckInterval]}
|
||||
DO: DoExpr {setvar[serviceCheckInterval, 43200]}
|
||||
IF: Not Expr {testvar[serviceClock]}
|
||||
|
|
@ -254,14 +260,24 @@ STATE: {service_pending_eval} ~~ {
|
|||
SetState {service_decide}
|
||||
~~ }
|
||||
STATE: {service_decide} ~~ {
|
||||
IF: All
|
||||
Expr {getvar[disableAugmentServices]==1}
|
||||
Expr {testvar[bellaBackoffClock]}
|
||||
Expr {stopwatchelapsedseconds[getvar[bellaBackoffClock]]>=getvar[bellaBackoffSeconds]}
|
||||
DO: DoAll
|
||||
DoExpr {setvar[disableAugmentServices, 0]}
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
DoExpr {clearvar[bellaBackoffClock]}
|
||||
IF: All
|
||||
Expr {getqueststatus[`stipendtimer_0812`]==1}
|
||||
DO: SetState {service_stipend}
|
||||
IF: All
|
||||
Expr {getvar[disableAugmentServices]!=1}
|
||||
ItemCountGE 1 {Blank Augmentation Gem}
|
||||
Expr {getvar[pendingAugments]==1}
|
||||
DO: SetState {service_apply_augment}
|
||||
IF: All
|
||||
Expr {getvar[disableAugmentServices]!=1}
|
||||
Expr {getqueststatus[`augmentationblankgemacquired`]==1}
|
||||
Expr {getvar[pendingAugments]==1}
|
||||
DO: SetState {service_bella_start}
|
||||
|
|
@ -292,13 +308,28 @@ STATE: {service_stipend} ~~ {
|
|||
STATE: {service_bella_start} ~~ {
|
||||
IF: Death
|
||||
DO: SetState {death}
|
||||
IF: Always
|
||||
DO: DoExpr {setvar[bellaStartAttempts,getvar[bellaStartAttempts]+1]}
|
||||
IF: Expr {getvar[bellaStartAttempts]>3}
|
||||
DO: SetState {service_bella_backoff}
|
||||
IF: ExitPortal
|
||||
DO: SetState {service_bella_mp_primary}
|
||||
DO: DoAll
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
SetState {service_bella_mp_primary}
|
||||
IF: Always
|
||||
DO: Chat {/mp}
|
||||
IF: SecsInStateGE 120
|
||||
DO: SetState {service_reset_main}
|
||||
~~ }
|
||||
STATE: {service_bella_backoff} ~~ {
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
DoExpr {setvar[disableAugmentServices, 1]}
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
DoExpr {setvar[bellaBackoffClock,stopwatchcreate[]]}
|
||||
DoExpr {stopwatchstart[getvar[bellaBackoffClock]]}
|
||||
SetState {service_reset_main}
|
||||
~~ }
|
||||
STATE: {service_bella_mp_primary} ~~ {
|
||||
IF: Death
|
||||
DO: SetState {death}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue