quake2ts 0.0.166 → 0.0.167

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.
@@ -10502,7 +10502,7 @@ function tank_fire_machinegun(self, context) {
10502
10502
  z: self.origin.z + (self.viewheight || 0)
10503
10503
  };
10504
10504
  const dir = normalizeVec3(subtractVec3(self.enemy.origin, start));
10505
- const damage = 10;
10505
+ const damage = 20;
10506
10506
  const kick = 2;
10507
10507
  monster_fire_bullet(self, start, dir, damage, kick, 0.05, 0.05, 0, context, 4 /* MACHINEGUN */);
10508
10508
  }
@@ -10648,6 +10648,7 @@ function SP_monster_tank(self, context) {
10648
10648
  self.monsterinfo.walk = tank_walk;
10649
10649
  self.monsterinfo.run = tank_run;
10650
10650
  self.monsterinfo.attack = tank_attack;
10651
+ self.monsterinfo.attack_machinegun = attack_machinegun_move;
10651
10652
  self.think = monster_think;
10652
10653
  tank_stand(self);
10653
10654
  self.nextthink = self.timestamp + MONSTER_TICK20;