55import de .peeeq .wurstscript .intermediatelang .IlConstHandle ;
66
77import java .util .HashMap ;
8+ import java .util .HashSet ;
9+ import java .util .Set ;
810
911public class UnitMock {
1012 public IlConstHandle owner ;
@@ -13,8 +15,43 @@ public class UnitMock {
1315 public ILconstReal y ;
1416 public ILconstReal face ;
1517 public boolean removed ;
18+ public boolean hidden ;
19+ public boolean paused ;
20+ public boolean invulnerable ;
21+ public boolean pathing = true ;
22+ public boolean useFood = true ;
23+ public boolean exploded ;
24+ public final Set <Integer > selectedPlayers = new HashSet <>();
25+ public boolean suspendedXp ;
26+ public boolean sleeping ;
27+ public boolean canSleep = true ;
28+ public boolean canSleepPerm = true ;
29+ public ILconstReal acquireRange = ILconstReal .create (0 );
30+ public ILconstReal defaultAcquireRange = ILconstReal .create (0 );
31+ public ILconstReal waygateX = ILconstReal .create (0 );
32+ public ILconstReal waygateY = ILconstReal .create (0 );
33+ public boolean waygateActive ;
34+ public ILconstReal moveSpeed = ILconstReal .create (0 );
35+ public ILconstReal defaultMoveSpeed = ILconstReal .create (0 );
36+ public ILconstReal flyHeight = ILconstReal .create (0 );
37+ public ILconstReal defaultFlyHeight = ILconstReal .create (0 );
38+ public ILconstReal turnSpeed = ILconstReal .create (0 );
39+ public ILconstReal defaultTurnSpeed = ILconstReal .create (0 );
40+ public ILconstReal propWindow = ILconstReal .create (0 );
41+ public ILconstReal defaultPropWindow = ILconstReal .create (0 );
42+ public ILconstInt level = ILconstInt .create (1 );
43+ public ILconstInt heroXp = ILconstInt .create (0 );
44+ public ILconstInt heroStr = ILconstInt .create (0 );
45+ public ILconstInt heroAgi = ILconstInt .create (0 );
46+ public ILconstInt heroInt = ILconstInt .create (0 );
47+ public ILconstInt skillPoints = ILconstInt .create (0 );
48+ public ILconstInt resourceAmount = ILconstInt .create (0 );
1649 public final HashMap <String , ILconstReal > states = new HashMap <>();
1750 public final HashMap <Integer , ILconstInt > abilityLevels = new HashMap <>();
51+ public final Set <Integer > permanentAbilities = new HashSet <>();
52+ public final Set <String > unitTypes = new HashSet <>();
53+ public final java .util .ArrayList <IlConstHandle > inventory = new java .util .ArrayList <>();
54+ public IlConstHandle race ;
1855 public ILconstInt currentOrder = ILconstInt .create (0 );
1956
2057 public UnitMock (IlConstHandle owner , ILconstInt unitid , ILconstReal x , ILconstReal y , ILconstReal face ) {
@@ -28,4 +65,5 @@ public UnitMock(IlConstHandle owner, ILconstInt unitid, ILconstReal x, ILconstRe
2865 states .put ("unitstate2" , ILconstReal .create (0 ));
2966 states .put ("unitstate3" , ILconstReal .create (0 ));
3067 }
68+
3169}
0 commit comments