bore/neftet: migrate bella service from marketplace to AH via Lock n Key portal bot
All checks were successful
/ test (push) Successful in 31s
All checks were successful
/ test (push) Successful in 31s
This commit is contained in:
parent
c068543521
commit
5fec19be37
8 changed files with 246 additions and 194 deletions
82
af/bore.af
82
af/bore.af
|
|
@ -182,10 +182,10 @@ STATE: {Default} ~~ {
|
|||
DO: DoExpr {setvar[disableAugmentServices, 0]}
|
||||
IF: Not Expr {testvar[bellaStartAttempts]}
|
||||
DO: DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
IF: Not Expr {testvar[bellaMpPrimaryAttempts]}
|
||||
DO: DoExpr {setvar[bellaMpPrimaryAttempts, 0]}
|
||||
IF: Not Expr {testvar[bellaMpSecondaryAttempts]}
|
||||
DO: DoExpr {setvar[bellaMpSecondaryAttempts, 0]}
|
||||
IF: Not Expr {testvar[bellaAhPrimaryAttempts]}
|
||||
DO: DoExpr {setvar[bellaAhPrimaryAttempts, 0]}
|
||||
IF: Not Expr {testvar[bellaAhSecondaryAttempts]}
|
||||
DO: DoExpr {setvar[bellaAhSecondaryAttempts, 0]}
|
||||
IF: Not Expr {testvar[bellaTurnInAttempts]}
|
||||
DO: DoExpr {setvar[bellaTurnInAttempts, 0]}
|
||||
IF: Not Expr {testvar[bellaJawRunRecoverAttempts]}
|
||||
|
|
@ -283,8 +283,8 @@ STATE: {service_decide} ~~ {
|
|||
DO: DoAll
|
||||
DoExpr {setvar[disableAugmentServices, 0]}
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
DoExpr {setvar[bellaMpPrimaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaMpSecondaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaAhPrimaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaAhSecondaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaTurnInAttempts, 0]}
|
||||
DoExpr {setvar[bellaJawRunRecoverAttempts, 0]}
|
||||
DoExpr {clearvar[bellaBackoffClock]}
|
||||
|
|
@ -350,13 +350,13 @@ STATE: {service_bella_start} ~~ {
|
|||
Chat {/vt opt set enablebuffing true}
|
||||
IF: SecsInStateGE 2
|
||||
DO: DoAll
|
||||
Chat {/a [bella] starting marketplace entry}
|
||||
Chat {/a [bella] starting AH entry}
|
||||
Chat {/vt opt set enablenav false}
|
||||
Chat {/mp}
|
||||
Chat {/ah}
|
||||
IF: ExitPortal
|
||||
DO: DoAll
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
SetState {service_bella_mp_primary}
|
||||
SetState {service_bella_ah_primary}
|
||||
IF: SecsInStateGE 120
|
||||
DO: SetState {service_bella_start}
|
||||
~~ }
|
||||
|
|
@ -368,20 +368,20 @@ STATE: {service_bella_backoff} ~~ {
|
|||
Chat {/vt opt set enablenav true}
|
||||
DoExpr {setvar[disableAugmentServices, 1]}
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
DoExpr {setvar[bellaMpPrimaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaMpSecondaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaAhPrimaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaAhSecondaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaTurnInAttempts, 0]}
|
||||
DoExpr {setvar[bellaJawRunRecoverAttempts, 0]}
|
||||
DoExpr {setvar[bellaBackoffClock,stopwatchcreate[]]}
|
||||
DoExpr {stopwatchstart[getvar[bellaBackoffClock]]}
|
||||
SetState {Default}
|
||||
~~ }
|
||||
STATE: {service_bella_mp_primary} ~~ {
|
||||
STATE: {service_bella_ah_primary} ~~ {
|
||||
IF: Death
|
||||
DO: SetState {death}
|
||||
IF: Always
|
||||
DO: DoExpr {setvar[bellaMpPrimaryAttempts,getvar[bellaMpPrimaryAttempts]+1]}
|
||||
IF: Expr {getvar[bellaMpPrimaryAttempts]>=3}
|
||||
DO: DoExpr {setvar[bellaAhPrimaryAttempts,getvar[bellaAhPrimaryAttempts]+1]}
|
||||
IF: Expr {getvar[bellaAhPrimaryAttempts]>=3}
|
||||
DO: SetState {service_bella_backoff}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
|
|
@ -391,22 +391,22 @@ STATE: {service_bella_mp_primary} ~~ {
|
|||
Chat {/vt opt set enablelooting false}
|
||||
Chat {/vt opt set NavPriorityBoost false}
|
||||
Chat {/vt opt set navclosestoprange 0.008}
|
||||
IF: Expr {getplayerlandblock[]==23855104}
|
||||
DO: Chat {/vt nav load mp_primary}
|
||||
IF: Expr {getplayerlandblock[]==3378348032}
|
||||
DO: Chat {/vt nav load ah_primary}
|
||||
IF: All
|
||||
Expr {getplayerlandblock[]!=23855104}
|
||||
Expr {getplayerlandblock[]!=3378348032}
|
||||
SecsInStateGE 30
|
||||
DO: DoAll
|
||||
Chat {/a [bella] wrong mp_primary landblock, restarting marketplace entry}
|
||||
Chat {/a [bella] wrong ah_primary landblock, restarting AH entry}
|
||||
SetState {service_bella_start}
|
||||
IF: ExitPortal
|
||||
DO: DoAll
|
||||
Chat {/vt opt set enablenav false}
|
||||
DoExpr {setvar[bellaMpPrimaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaAhPrimaryAttempts, 0]}
|
||||
SetState {service_bella_jaw_run}
|
||||
IF: SecsInStateGE 60
|
||||
DO: DoAll
|
||||
Chat {/a [bella] mp_primary timed out, restarting marketplace entry}
|
||||
Chat {/a [bella] ah_primary timed out, restarting AH entry}
|
||||
SetState {service_bella_start}
|
||||
~~ }
|
||||
STATE: {service_bella_jaw_run} ~~ {
|
||||
|
|
@ -420,7 +420,7 @@ STATE: {service_bella_jaw_run} ~~ {
|
|||
Expr {getplayerlandblock[]!=9830400}
|
||||
SecsInStateGE 30
|
||||
DO: DoAll
|
||||
Chat {/a [bella] wrong jaw_run landblock, restarting marketplace entry}
|
||||
Chat {/a [bella] wrong jaw_run landblock, restarting AH entry}
|
||||
SetState {service_bella_start}
|
||||
IF: All
|
||||
Expr {getplayerlandblock[]==9830400}
|
||||
|
|
@ -472,10 +472,10 @@ STATE: {service_bella_turn_in_jaw} ~~ {
|
|||
DO: SetState {death}
|
||||
IF: ChatMatch {^.*One who obtains such as this is truly worthy of that which we would teach\. The highest peak of the deadliest isle contains that which you seek.*$}
|
||||
DO: DoAll
|
||||
Chat {/a [bella] jaw turned in, heading to secondary marketplace path}
|
||||
Chat {/a [bella] jaw turned in, heading to secondary AH path}
|
||||
DoExpr {setvar[bellaTurnInAttempts, 0]}
|
||||
Chat {/mp}
|
||||
SetState {service_bella_mp_trans}
|
||||
Chat {/ah}
|
||||
SetState {service_bella_ah_trans}
|
||||
IF: All
|
||||
SecsInStateGE 300
|
||||
ItemCountGE 1 {Insatiable Eater Jaw}
|
||||
|
|
@ -495,28 +495,28 @@ STATE: {service_bella_turn_in_jaw} ~~ {
|
|||
DoExpr {setvar[bellaTurnInAttempts, 0]}
|
||||
SetState {service_reset_main}
|
||||
~~ }
|
||||
STATE: {service_bella_mp_trans} ~~ {
|
||||
STATE: {service_bella_ah_trans} ~~ {
|
||||
IF: Death
|
||||
DO: SetState {death}
|
||||
IF: ExitPortal
|
||||
DO: SetState {service_bella_mp_secondary}
|
||||
DO: SetState {service_bella_ah_secondary}
|
||||
IF: SecsInStateGE 120
|
||||
DO: SetState {service_bella_start}
|
||||
~~ }
|
||||
STATE: {service_bella_mp_secondary} ~~ {
|
||||
STATE: {service_bella_ah_secondary} ~~ {
|
||||
IF: Death
|
||||
DO: SetState {death}
|
||||
IF: Always
|
||||
DO: DoExpr {setvar[bellaMpSecondaryAttempts,getvar[bellaMpSecondaryAttempts]+1]}
|
||||
IF: Expr {getvar[bellaMpSecondaryAttempts]>=3}
|
||||
DO: DoExpr {setvar[bellaAhSecondaryAttempts,getvar[bellaAhSecondaryAttempts]+1]}
|
||||
IF: Expr {getvar[bellaAhSecondaryAttempts]>=3}
|
||||
DO: SetState {service_bella_backoff}
|
||||
IF: Expr {getplayerlandblock[]==23855104}
|
||||
DO: Chat {/vt nav load mp_secondary}
|
||||
IF: Expr {getplayerlandblock[]==3378348032}
|
||||
DO: Chat {/vt nav load ah_secondary}
|
||||
IF: All
|
||||
Expr {getplayerlandblock[]!=23855104}
|
||||
Expr {getplayerlandblock[]!=3378348032}
|
||||
SecsInStateGE 30
|
||||
DO: DoAll
|
||||
Chat {/a [bella] wrong mp_secondary landblock, restarting marketplace entry}
|
||||
Chat {/a [bella] wrong ah_secondary landblock, restarting AH entry}
|
||||
SetState {service_bella_start}
|
||||
IF: ExitPortal
|
||||
DO: DoAll
|
||||
|
|
@ -531,11 +531,11 @@ STATE: {service_bella_secondary_recovery} ~~ {
|
|||
DO: SetState {death}
|
||||
IF: Always
|
||||
DO: Chat {/vt opt set enablenav false}
|
||||
IF: Expr {getvar[bellaMpSecondaryAttempts]>=3}
|
||||
IF: Expr {getvar[bellaAhSecondaryAttempts]>=3}
|
||||
DO: SetState {service_bella_backoff}
|
||||
IF: SecsInStateGE 20
|
||||
DO: DoAll
|
||||
DoExpr {setvar[bellaMpSecondaryAttempts,getvar[bellaMpSecondaryAttempts]+1]}
|
||||
DoExpr {setvar[bellaAhSecondaryAttempts,getvar[bellaAhSecondaryAttempts]+1]}
|
||||
Chat {/vt opt set enablenav true}
|
||||
Chat {/vt nav load nav_portal_recall}
|
||||
IF: All
|
||||
|
|
@ -555,16 +555,16 @@ STATE: {service_bella_kill_bella} ~~ {
|
|||
Expr {getplayerlandblock[]!=5636096}
|
||||
SecsInStateGE 30
|
||||
DO: DoAll
|
||||
Chat {/a [bella] wrong bella landblock, returning to mp_secondary}
|
||||
Chat {/a [bella] wrong bella landblock, returning to ah_secondary}
|
||||
Chat {/vt opt set enablenav false}
|
||||
Chat {/mp}
|
||||
SetState {service_bella_mp_secondary}
|
||||
Chat {/ah}
|
||||
SetState {service_bella_ah_secondary}
|
||||
IF: ItemCountGE 1 {Blank Augmentation Gem}
|
||||
DO: DoAll
|
||||
Chat {/a [bella] blank gem acquired, escaping and preparing augment}
|
||||
DoExpr {setvar[bellaStartAttempts, 0]}
|
||||
DoExpr {setvar[bellaMpPrimaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaMpSecondaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaAhPrimaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaAhSecondaryAttempts, 0]}
|
||||
DoExpr {setvar[bellaTurnInAttempts, 0]}
|
||||
DoExpr {setvar[bellaJawRunRecoverAttempts, 0]}
|
||||
Chat {/vt opt set enablelooting false}
|
||||
|
|
@ -572,7 +572,7 @@ STATE: {service_bella_kill_bella} ~~ {
|
|||
SetState {service_bella_escape}
|
||||
IF: SecsInStateGE 600
|
||||
DO: DoAll
|
||||
Chat {/a [bella] kill_bella timed out, restarting marketplace entry}
|
||||
Chat {/a [bella] kill_bella timed out, restarting AH entry}
|
||||
SetState {service_bella_start}
|
||||
~~ }
|
||||
STATE: {service_bella_escape} ~~ {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue