This commit is contained in:
parent
0bad40588d
commit
b267827a94
2 changed files with 436 additions and 31 deletions
|
|
@ -145,12 +145,37 @@ STATE: {Hunt}
|
|||
Expr {wobjectgetname[wobjectfindnearestbyobjectclass[8]]==Amber Crystal}
|
||||
Expr {getvar[pickFlowers]==1}
|
||||
DO: SetState {picking_flowers}
|
||||
IF: All
|
||||
Expr {getvar[ammoType]==1}
|
||||
Any
|
||||
ItemCountLE 10 {Wrapped Bundle of Deadly Prismatic Arrowheads}
|
||||
ItemCountLE 10 {Wrapped Bundle of Quarrelshafts}
|
||||
NoMobsInDist 5
|
||||
DO: DoAll
|
||||
Chat {/fellowship Low on xbow ammo. Recomping.}
|
||||
SetState {recomp_missile}
|
||||
IF: All
|
||||
Expr {getvar[ammoType]==2}
|
||||
Any
|
||||
ItemCountLE 10 {Wrapped Bundle of Deadly Prismatic Arrowheads}
|
||||
ItemCountLE 10 {Wrapped Bundle of Arrowshafts}
|
||||
NoMobsInDist 5
|
||||
DO: DoAll
|
||||
Chat {/fellowship Low on bow ammo. Recomping.}
|
||||
SetState {recomp_missile}
|
||||
IF: All
|
||||
Expr {getvar[ammoType]==3}
|
||||
Any
|
||||
ItemCountLE 10 {Wrapped Bundle of Deadly Prismatic Arrowheads}
|
||||
ItemCountLE 10 {Wrapped Bundle of Atlatl Dartshafts}
|
||||
NoMobsInDist 5
|
||||
DO: DoAll
|
||||
Chat {/fellowship Low on bow ammo. Recomping.}
|
||||
SetState {recomp_missile}
|
||||
IF: All
|
||||
Expr {getvar[isLeader]}
|
||||
DistToRteGE 100
|
||||
DO: SetState {stuck}
|
||||
IF: Always
|
||||
DO: SetWatchdog 10 600 {stuck}
|
||||
IF: All
|
||||
Expr {getvar[isLeader]==0}
|
||||
ChatCapture {(?<who>\w[\w ]*\w) has left your Fellowship} {}
|
||||
|
|
@ -158,6 +183,8 @@ STATE: {Hunt}
|
|||
DO: DoAll
|
||||
Chat {/ub fellow quit}
|
||||
SetState {Default}
|
||||
IF: Always
|
||||
DO: SetWatchdog 10 600 {stuck}
|
||||
|
||||
STATE: {count_death}
|
||||
IF: Always
|
||||
|
|
@ -271,7 +298,7 @@ STATE: {recomp}
|
|||
IF: Always
|
||||
DO: SetWatchdog 3 300 {Default}
|
||||
|
||||
STATE: {picking_flowers} ~~ {
|
||||
STATE: {picking_flowers}
|
||||
IF: Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]+3}
|
||||
DO: DoAll
|
||||
DoExpr {setvar[ObjectClose, 1]}
|
||||
|
|
@ -286,6 +313,19 @@ STATE: {picking_flowers} ~~ {
|
|||
DO: SetState {death}
|
||||
IF: Always
|
||||
DO: SetWatchdog 5 120 {stuck}
|
||||
|
||||
STATE: {recomp_missile}
|
||||
IF: Death
|
||||
DO: SetState {death}
|
||||
IF: Always
|
||||
DO: DoAll
|
||||
Chat {/vt opt set enablecombat false}
|
||||
Chat {/vt opt set enablebuffing false}
|
||||
Chat {/vt nav load recomp_laurana}
|
||||
IF: Always
|
||||
DO: SetWatchdog 3 300 {stuck}
|
||||
IF: NavEmpty
|
||||
DO: SetState {stuck}
|
||||
|
||||
STATE: {death}
|
||||
IF: ExitPortal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue