X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fw_minstanex.qc;h=f1d9df9cbd831f888cc39463649494e940904c86;hb=aaa3b7d4a08f8271df86b2aad2e88fa616b5e7e2;hp=f28c8581cc5ee3c6fa2550561a6c994f8fcd55a5;hpb=5edeb786a80b4ea0254d504f655447174375b7e3;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_minstanex.qc b/qcsrc/server/w_minstanex.qc index f28c8581c..f1d9df9cb 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", 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; @@ -232,10 +231,6 @@ float w_minstanex(float req) } else if (req == WR_CHECKAMMO2) return TRUE; - else if (req == WR_SUICIDEMESSAGE) - w_deathtypestring = "did the impossible"; - else if (req == WR_KILLMESSAGE) - w_deathtypestring = "has been vaporized by"; else if (req == WR_RESETPLAYER) { self.minstanex_lasthit = 0; @@ -258,6 +253,10 @@ float w_minstanex(float req) { precache_sound("weapons/neximpact.wav"); } + else if (req == WR_SUICIDEMESSAGE) + w_deathtypestring = "%s did the impossible"; + else if (req == WR_KILLMESSAGE) + w_deathtypestring = "%s has been vaporized by %s"; return TRUE; } #endif