WEAPON_PIPEBOMB: adjust damage and radius

This commit is contained in:
Marco Cawthorne 2023-01-27 17:23:36 -08:00
parent bba99076d5
commit e3cdcbc2e2
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 3 additions and 3 deletions

View File

@ -70,10 +70,10 @@ w_pipebomb_draw(player pl)
#ifdef SERVER
void w_pipebomb_explode(void)
{
float dmg = 100;
FX_Explosion(self.origin);
Damage_Radius(self.origin, self.owner, dmg, dmg * 2.5f, TRUE, WEAPON_GLAUNCHER);
/* dmg/radius taken from http://web.archive.org/web/20030323072941fw_/http://www.planetfortress.com/tfce/grenades/pipebomb.htm */
Damage_Radius(self.origin, self.owner, 80, 128, TRUE, WEAPON_GLAUNCHER);
sound(self, CHAN_WEAPON, sprintf("weapons/explode%d.wav", floor(random() * 2) + 3), 1, ATTN_NORM);
NSEntity::Destroy();
}