mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix: background value drink_energyregen not only increased breath gain, but also loss, which was not intended
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8358 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+2
-1
@@ -937,7 +937,8 @@ void DeductPoints( SOLDIERTYPE *pSoldier, INT16 sAPCost, INT32 iBPCost, UINT8 ub
|
||||
ReduceBPRegenForHunger(pSoldier, &iBPCost);
|
||||
|
||||
// Flugente: backgrounds
|
||||
iBPCost = (INT32) (iBPCost * (100 + pSoldier->GetBackgroundValue(BG_PERC_REGEN_ENERGY)) / 100);
|
||||
if ( iBPCost < 0 )
|
||||
iBPCost = (INT32) (iBPCost * (100 + pSoldier->GetBackgroundValue(BG_PERC_REGEN_ENERGY)) / 100);
|
||||
|
||||
if (is_networked)
|
||||
{
|
||||
|
||||
@@ -8933,7 +8933,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%%队伍劝降能力\n", //L" %s%d%% team capitulation strength if we lead negotiations\n",
|
||||
L" %s%d%%跑步速度\n", //L" %s%d%% faster running\n",
|
||||
L" %s%d%%包扎速度\n", //L" %s%d%% bandaging speed\n",
|
||||
L" 饮酒可恢复%s%d%%能量\n", //L" drinking restores %s%d%% energy\n",
|
||||
L" %s%d%% breath regeneration\n", // TODO.Translate
|
||||
L" %s%d%%负重能力\n", //L" %s%d%% strength to carry items\n",
|
||||
L" %s%d%%食物需求\n", //L" %s%d%% food consumption\n",
|
||||
L" %s%d%%饮水需求\n", //L" %s%d%% water consumption\n",
|
||||
|
||||
@@ -8953,7 +8953,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%% team capitulation strength if we lead negotiations\n",
|
||||
L" %s%d%% faster running\n",
|
||||
L" %s%d%% bandaging speed\n",
|
||||
L" drinking restores %s%d%% energy\n",
|
||||
L" %s%d%% breath regeneration\n", // TODO.Translate
|
||||
L" %s%d%% strength to carry items\n",
|
||||
L" %s%d%% food consumption\n",
|
||||
L" %s%d%% water consumption\n",
|
||||
|
||||
@@ -8934,7 +8934,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%% team capitulation strength if we lead negotiations\n",
|
||||
L" %s%d%% faster running\n",
|
||||
L" %s%d%% bandaging speed\n",
|
||||
L" drinking restores %s%d%% energy\n",
|
||||
L" %s%d%% breath regeneration\n",
|
||||
L" %s%d%% strength to carry items\n",
|
||||
L" %s%d%% food consumption\n",
|
||||
L" %s%d%% water consumption\n",
|
||||
|
||||
@@ -8935,7 +8935,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%% à la force de capitulation de l'équipe, si nous menons les négociations\n",
|
||||
L" %s%d%% plus rapide à la marche\n",
|
||||
L" %s%d%% de vitesse de bandage\n",
|
||||
L" Boire restaure %s%d%% d'énergie\n",
|
||||
L" %s%d%% breath regeneration\n", // TODO.Translate
|
||||
L" %s%d%% de force pour porter des objets\n",
|
||||
L" %s%d%% de besoins énergétiques (nourriture)\n",
|
||||
L" %s%d%% de réhydratation nécessaire (eau)\n",
|
||||
|
||||
@@ -8765,7 +8765,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%% team capitulation strength if we lead negotiations\n",
|
||||
L" %s%d%% faster running\n",
|
||||
L" %s%d%% bandaging speed\n",
|
||||
L" drinking restores %s%d%% energy\n",
|
||||
L" %s%d%% breath regeneration\n", // TODO.Translate
|
||||
L" %s%d%% strength to carry items\n",
|
||||
L" %s%d%% food consumption\n",
|
||||
L" %s%d%% water consumption\n",
|
||||
|
||||
@@ -8944,7 +8944,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%% team capitulation strength if we lead negotiations\n",
|
||||
L" %s%d%% faster running\n",
|
||||
L" %s%d%% bandaging speed\n",
|
||||
L" drinking restores %s%d%% energy\n",
|
||||
L" %s%d%% breath regeneration\n", // TODO.Translate
|
||||
L" %s%d%% strength to carry items\n",
|
||||
L" %s%d%% food consumption\n",
|
||||
L" %s%d%% water consumption\n",
|
||||
|
||||
@@ -8957,7 +8957,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%% team capitulation strength if we lead negotiations\n",
|
||||
L" %s%d%% faster running\n",
|
||||
L" %s%d%% bandaging speed\n",
|
||||
L" drinking restores %s%d%% energy\n",
|
||||
L" %s%d%% breath regeneration\n", // TODO.Translate
|
||||
L" %s%d%% strength to carry items\n",
|
||||
L" %s%d%% food consumption\n",
|
||||
L" %s%d%% water consumption\n",
|
||||
|
||||
@@ -8934,7 +8934,7 @@ STR16 szBackgroundText_Value[]=
|
||||
L" %s%d%% к силе капитуляции при ведении переговоров\n",
|
||||
L" %s%d%% быстрее бег\n",
|
||||
L" %s%d%% скорость перевязки\n",
|
||||
L" питье восстанавливает %s%d%% энергии\n",
|
||||
L" %s%d%% breath regeneration\n", // TODO.Translate
|
||||
L" %s%d%% сила для переноски вещей\n",
|
||||
L" %s%d%% потребление еды\n",
|
||||
L" %s%d%% потребление воды\n",
|
||||
|
||||
Reference in New Issue
Block a user