fixed object class for amber crystal
All checks were successful
/ test (push) Successful in 25s

This commit is contained in:
Johan Lundberg 2026-09-02 22:56:47 +02:00
parent 9816c14f28
commit 1247348c13
2 changed files with 26 additions and 8 deletions

View file

@ -141,9 +141,10 @@ STATE: {Hunt}
SetState {Hunt}
IF: All
Expr {getvar[isLeader]}
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[8]]]<=getvar[pickupRange]}
Expr {wobjectgetname[wobjectfindnearestbyobjectclass[8]]==Amber Crystal}
Expr {coordinatedistancewithz[getplayercoordinates[], wobjectgetphysicscoordinates[wobjectfindnearestbyobjectclass[37]]]<=getvar[pickupRange]}
Expr {wobjectgetname[wobjectfindnearestbyobjectclass[37]]==Amber Crystal}
Expr {getvar[pickFlowers]==1}
ItemCountGE 5 {Viridian Essence}
DO: SetState {picking_flowers}
IF: All
Expr {getvar[ammoType]==1}
@ -368,6 +369,6 @@ STATE: {stuck}
SetState {Default}
NAV: nav2__pickup_nav circular ~~ {
cht 6.85679616481066 -19.8018191655477 2.08332513769468E-05 {/vt mexec actiontryuseitem[wobjectfindnearestbyobjectclass[8]]}
cht 6.85679616481066 -19.8018191655477 2.08332513769468E-05 {/vt mexec actiontryuseitem[wobjectfindnearestbyobjectclass[37]]}
pau 6.85679616481066 -19.8018191655477 2.08332513769468E-05 10000
~~ }