This commit is contained in:
parent
680ba520a8
commit
00c2bf0a37
2 changed files with 289 additions and 22 deletions
|
|
@ -45,7 +45,10 @@ STATE: {Default}
|
|||
|
||||
STATE: {Hunt}
|
||||
IF: Death
|
||||
DO: SetState {death}
|
||||
DO: DoAll
|
||||
DoExpr {clearvar[deathCount]}
|
||||
DoExpr {clearvar[deathClock]}
|
||||
SetState {death}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
Chat {/vt opt set IdlePeaceMode false}
|
||||
|
|
@ -69,13 +72,23 @@ STATE: {Hunt}
|
|||
IF: All
|
||||
Expr {getvar[isLeader]}
|
||||
ChatMatch {the acidic mist!}
|
||||
DO: CallState {vr_gas_dodge} {Hunt}
|
||||
DO: CallState {vr_gas_dodge} {Hunt}
|
||||
IF: All
|
||||
ChatCapture {(?<who>\w[\w ]*\w) +getvar[followTarget] has died!$} {}
|
||||
Expr {getvar[isLeader]==0}
|
||||
DO: SetState {run_away}
|
||||
IF: ChatCapture {(?<who>\w[\w ]*\w) has died!$} {}
|
||||
DO: DoAll
|
||||
Chat {/vt opt set enablelooting false}
|
||||
Chat {/vt opt set enablecombat false}
|
||||
Chat {/vt opt set navpriorityboost true}
|
||||
SetState {vr_runback}
|
||||
DO: DoExpr {setvar[deathCount, getvar[deathCount]+1]}
|
||||
IF: Expr {getvar[deathCount]==1}
|
||||
DO: DoAll
|
||||
DoExpr {setvar[deathClock,stopwatchcreate[]]}
|
||||
DoExpr {stopwatchstart[getvar[deathClock]]}
|
||||
IF: Expr {getvar[deathCount]>1}
|
||||
DO: SetState {run_away}
|
||||
IF: Expr {stopwatchelapsedseconds[getvar[deathClock]]>60}
|
||||
DO: DoAll
|
||||
DoExpr {clearvar[deathCount]}
|
||||
DoExpr {clearvar[deathClock]}
|
||||
IF: All
|
||||
ItemCountLE 100 {Prismatic Taper}
|
||||
NoMobsInDist 5
|
||||
|
|
@ -120,6 +133,16 @@ STATE: {Hunt}
|
|||
DO: DoAll
|
||||
Chat {/ub fellow quit}
|
||||
SetState {Default}
|
||||
|
||||
STATE: {run_away}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
Chat {/vt opt set enablelooting false}
|
||||
Chat {/vt opt set enablecombat false}
|
||||
Chat {/vt opt set navpriorityboost true}
|
||||
DoExpr {clearvar[deathCount]}
|
||||
DoExpr {clearvar[deathClock]}
|
||||
SetState {vr_runback}
|
||||
|
||||
STATE: {vr_gas_dodge}
|
||||
IF: Always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue