mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-17 02:53:23 +01:00
feat: generalized tank stats
This commit is contained in:
1 parent
913411275b
commit
bd412cdaa2
11 files changed
+633
-331
No files matched your search
@@ -69,7 +69,12 @@ export function Controls() {
|
||||
);
|
||||
|
||||
async function handlePoseEvent(event: Pose) {
|
||||
const hasImprovedVerticalStabilizer = await hasEquipment(122);
|
||||
const duel = useDuel.getState();
|
||||
const hasImprovedVerticalStabilizer = await hasEquipment(
|
||||
122,
|
||||
duel.protagonist!.tank.equipment,
|
||||
duel.protagonist!.equipment,
|
||||
);
|
||||
|
||||
switch (event) {
|
||||
case Pose.HullDown: {
|
||||
|
||||
Reference in new issue
Block a user