mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- capped physical resistance at 95%
- mercs with the 'airdrop' background property do no get the interrupt penalty upon landing only if they have a positive bonus - Fix: supression resistence wasn't applied as a percentage - adjusted background min/max values git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6665 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -8008,7 +8008,7 @@ INT8 CalcSuppressionTolerance( SOLDIERTYPE * pSoldier )
|
||||
}
|
||||
|
||||
// Flugente: add personal bonus to suppresion tolerance
|
||||
bTolerance += pSoldier->GetSuppressionResistanceBonus();
|
||||
bTolerance = (bTolerance * (100 + pSoldier->GetSuppressionResistanceBonus() ) / 100);
|
||||
|
||||
bTolerance = __max(bTolerance, gGameExternalOptions.ubSuppressionToleranceMin);
|
||||
bTolerance = __min(bTolerance, gGameExternalOptions.ubSuppressionToleranceMax);
|
||||
|
||||
Reference in New Issue
Block a user