follow fix and set buff/loot/combat on start
All checks were successful
/ test (push) Successful in 30s

This commit is contained in:
Johan Lundberg 2026-08-07 23:23:51 +02:00
parent 8abac43697
commit 5d1bbefdf4
2 changed files with 82 additions and 8 deletions

View file

@ -48,13 +48,16 @@ STATE: {Hunt}
DO: SetState {death}
IF: Always
DO: DoAll
Chat {/vt opt set enablecombat true}
Chat {/vt opt set IdlePeaceMode false}
Chat {/vt opt set enablebuffing true}
Chat {/vt opt set enablelooting true}
Chat {/vt opt set enablecombat true}
IF: All
Expr {getvar[isLeader]}
DO: DoAll
Chat {/vt opt set navpriorityboost false}
Chat {/vt nav load vr_circuit}
Chat {/fellowship #followviridianrise}
IF: All
Expr {getvar[isLeader]}
ChatMatch {cloud of dangerous gas!}
@ -75,6 +78,11 @@ STATE: {Hunt}
Expr {getvar[isLeader]==0}
Expr {wobjectfindnearestbynameandobjectclass[24, getvar[followTarget]]!=0}
DO: ChatExpr {\/ub follow +getvar[followTarget]}
IF: All
ChatMatch {^\[Fellowship\].*(say|says), \"#followviridianrise\"$}
Expr {getvar[isLeader]==0}
Expr {wobjectfindnearestbynameandobjectclass[24, getvar[followTarget]]!=0}
DO: ChatExpr {\/ub follow +getvar[followTarget]}
IF: All
Expr {getvar[isLeader]==0}
Expr {getfellowshipstatus[]==0}

View file

@ -11,7 +11,7 @@ n
n
n
n
34
35
i
2
i
@ -178,15 +178,23 @@ K
V
n
n
2
i
2
s
/vt opt set enablecombat true
4
i
2
s
/vt opt set IdlePeaceMode false
i
2
s
/vt opt set enablebuffing true
i
2
s
/vt opt set enablelooting true
i
2
s
/vt opt set enablecombat true
s
Hunt
i
@ -219,7 +227,7 @@ K
V
n
n
2
3
i
2
s
@ -228,6 +236,10 @@ i
2
s
/vt nav load vr_circuit
i
2
s
/fellowship #followviridianrise
s
Hunt
i
@ -432,6 +444,60 @@ Hunt
i
2
i
8
TABLE
2
K
V
n
n
3
i
4
s
^\[Fellowship\].*(say|says), \"#followviridianrise\"$
i
26
TABLE
2
k
v
n
n
1
s
e
s
getvar[isLeader]==0
i
26
TABLE
2
k
v
n
n
1
s
e
s
wobjectfindnearestbynameandobjectclass[24, getvar[followTarget]]!=0
TABLE
2
k
v
n
n
1
s
e
s
\/ub follow +getvar[followTarget]
s
Hunt
i
2
i
3
TABLE
2