X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_minstanex.qc;h=ce97b02451210d7db63a342db4eb03254e98b2b8;hb=26c8963b7747f4c53fc541df0dd71b7024d1d496;hp=65d02dcb2d6422151b971a9b6c47e92cb1aa9e8f;hpb=55d5f004b38c1e911afa6ae0b244ae70b7c3fdab;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_minstanex.qc b/qcsrc/server/w_minstanex.qc index 65d02dcb2..ce97b0245 100644 --- a/qcsrc/server/w_minstanex.qc +++ b/qcsrc/server/w_minstanex.qc @@ -9,7 +9,7 @@ void W_MinstaNex_Attack (void) float flying; flying = IsFlying(self); // do this BEFORE to make the trace values from FireRailgunBullet last - W_SetupShot (self, TRUE, 0, "weapons/minstanexfire.wav", 0); + W_SetupShot (self, TRUE, 0, "weapons/minstanexfire.wav", CHAN_WEAPON, 10000); yoda = 0; damage_goodhits = 0; @@ -28,7 +28,6 @@ void W_MinstaNex_Attack (void) if(headshot) { AnnounceTo(self, "headshot"); - print("h\n"); } if(damage_goodhits && self.minstanex_lasthit) { @@ -195,7 +194,7 @@ float w_minstanex(float req) { if (self.jump_interval <= time) { - self.jump_interval = time + 0.9 * W_WeaponRateFactor(); + self.jump_interval = time + cvar("g_balance_laser_primary_refire") * W_WeaponRateFactor(); // ugly minstagib hack to reuse the fire mode of the laser float w; @@ -255,9 +254,9 @@ float w_minstanex(float req) precache_sound("weapons/neximpact.wav"); } else if (req == WR_SUICIDEMESSAGE) - w_deathtypestring = "did the impossible"; + w_deathtypestring = "%s did the impossible"; else if (req == WR_KILLMESSAGE) - w_deathtypestring = "has been vaporized by"; + w_deathtypestring = "%s has been vaporized by %s"; return TRUE; } #endif