From 772c12ea987c67fa0f0de1333805354bfafeb0a6 Mon Sep 17 00:00:00 2001 From: Joseph Stalin Date: Tue, 6 Aug 2019 14:27:25 +0500 Subject: [PATCH] Rebalance flammenwerfer; add Fuel to Backpack --- src/game/g_player.pas | 6 ++++-- src/game/g_weapons.pas | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/game/g_player.pas b/src/game/g_player.pas index 71a2023..7e12a91 100644 --- a/src/game/g_player.pas +++ b/src/game/g_player.pas @@ -4120,6 +4120,8 @@ begin IncMax(FAmmo[A_ROCKETS], 1, FMaxAmmo[A_ROCKETS]); if FAmmo[A_CELLS] < FMaxAmmo[A_CELLS] then IncMax(FAmmo[A_CELLS], 40, FMaxAmmo[A_CELLS]); + if FAmmo[A_FUEL] < FMaxAmmo[A_FUEL] then + IncMax(FAmmo[A_FUEL], 50, FMaxAmmo[A_FUEL]); FRulez := FRulez + [R_ITEM_BACKPACK]; Result := True; @@ -5276,8 +5278,8 @@ begin if FFirePainTime <= 0 then begin if g_Game_IsServer then - Damage(6, FFireAttacker, 0, 0, HIT_FLAME); - FFirePainTime := 18; + Damage(2, FFireAttacker, 0, 0, HIT_FLAME); + FFirePainTime := 3; end; FFirePainTime := FFirePainTime - 1; FFireTime := FFireTime - 1; diff --git a/src/game/g_weapons.pas b/src/game/g_weapons.pas index 8a5e652..daae198 100644 --- a/src/game/g_weapons.pas +++ b/src/game/g_weapons.pas @@ -2346,7 +2346,7 @@ begin Stopped := MOVE_HITCEIL; end; - a := IfThen(Stopped = 0, 6, 1); + a := IfThen(Stopped = 0, 10, 1); // Åñëè â êîãî-òî ïîïàëè if g_Weapon_Hit(@Obj, a, SpawnerUID, HIT_FLAME, False) <> 0 then begin -- 2.29.2