quake2ts 0.0.166 → 0.0.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/packages/client/dist/browser/index.global.js +1 -1
- package/packages/client/dist/browser/index.global.js.map +1 -1
- package/packages/client/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/game/dist/browser/index.global.js +2 -2
- package/packages/game/dist/browser/index.global.js.map +1 -1
- package/packages/game/dist/cjs/index.cjs +2 -1
- package/packages/game/dist/cjs/index.cjs.map +1 -1
- package/packages/game/dist/esm/index.js +2 -1
- package/packages/game/dist/esm/index.js.map +1 -1
- package/packages/game/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/game/dist/types/combat/weapons/firing.d.ts.map +1 -1
- package/packages/game/dist/types/entities/entity.d.ts +1 -0
- package/packages/game/dist/types/entities/entity.d.ts.map +1 -1
- package/packages/game/dist/types/entities/monsters/tank.d.ts.map +1 -1
|
@@ -10336,7 +10336,7 @@ function tank_fire_machinegun(self, context) {
|
|
|
10336
10336
|
z: self.origin.z + (self.viewheight || 0)
|
|
10337
10337
|
};
|
|
10338
10338
|
const dir = normalizeVec3(subtractVec3(self.enemy.origin, start));
|
|
10339
|
-
const damage =
|
|
10339
|
+
const damage = 20;
|
|
10340
10340
|
const kick = 2;
|
|
10341
10341
|
monster_fire_bullet(self, start, dir, damage, kick, 0.05, 0.05, 0, context, 4 /* MACHINEGUN */);
|
|
10342
10342
|
}
|
|
@@ -10482,6 +10482,7 @@ function SP_monster_tank(self, context) {
|
|
|
10482
10482
|
self.monsterinfo.walk = tank_walk;
|
|
10483
10483
|
self.monsterinfo.run = tank_run;
|
|
10484
10484
|
self.monsterinfo.attack = tank_attack;
|
|
10485
|
+
self.monsterinfo.attack_machinegun = attack_machinegun_move;
|
|
10485
10486
|
self.think = monster_think;
|
|
10486
10487
|
tank_stand(self);
|
|
10487
10488
|
self.nextthink = self.timestamp + MONSTER_TICK20;
|