mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- damage radius fixed
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@274 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
||||
#else
|
||||
|
||||
//RELEASE BUILD VERSION
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.273" };
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.274" };
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1573,15 +1573,15 @@ BOOLEAN ExpAffect( INT16 sBombGridNo, INT16 sGridNo, UINT32 uiDist, UINT16 usIte
|
||||
uiRoll = PreRandom( 100 );
|
||||
|
||||
// Calculate wound amount
|
||||
INT16 newDamage = pExplosive->ubDamage + (INT16)(( pExplosive->ubDamage * gGameExternalOptions.ubExplosivesDamageMultiplier) / 100) ); //lal
|
||||
|
||||
INT16 newDamage = pExplosive->ubDamage + (INT16)(( pExplosive->ubDamage * gGameExternalOptions.ubExplosivesDamageMultiplier) / 100); //lal
|
||||
|
||||
sWoundAmt = newDamage + (INT16) ( (newDamage * uiRoll) / 100 );
|
||||
|
||||
|
||||
|
||||
// Calculate breath amount ( if stun damage applicable )
|
||||
INT16 newBreath = pExplosive->ubStunDamage + (INT16)(( pExplosive->ubStunDamage * gGameExternalOptions.ubExplosivesDamageMultiplier) / 100) ); //lal
|
||||
|
||||
INT16 newBreath = pExplosive->ubStunDamage + (INT16)(( pExplosive->ubStunDamage * gGameExternalOptions.ubExplosivesDamageMultiplier) / 100); //lal
|
||||
|
||||
sBreathAmt = ( newBreath * 100 ) + (INT16) ( ( ( newBreath / 2 ) * 100 * uiRoll ) / 100 ) ;
|
||||
|
||||
|
||||
@@ -1620,7 +1620,7 @@ BOOLEAN ExpAffect( INT16 sBombGridNo, INT16 sGridNo, UINT32 uiDist, UINT16 usIte
|
||||
sBreathAmt = 0;
|
||||
|
||||
// damage structures
|
||||
if ( uiDist <= __max( 1, (UINT32) (pExplosive->ubDamage / 30) ) )
|
||||
if ( uiDist <= __max( 1, (UINT32) (newDamage / 30) ) )
|
||||
{
|
||||
if ( Item[ usItem ].usItemClass & IC_GRENADE )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user