mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- changed SHOT_HEAD_DIVISOR to SHOT_HEAD_MULTIPLIER. The old name was misleading
- fixed CTH bonus calculation for special characters in NCTH - fixed merc swap feature. Sometimes mercs became invisible because of wrong structure problems. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7235 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1245,7 +1245,7 @@ void AdjustImpactByHitLocation( INT32 iImpact, UINT8 ubHitLocation, INT32 * piNe
|
||||
case AIM_SHOT_HEAD:
|
||||
// 1.5x damage from successful hits to the head!
|
||||
//*piImpactForCrits = HEAD_DAMAGE_ADJUSTMENT( iImpact ); //comm by ddd
|
||||
*piImpactForCrits = INT32(gGameExternalOptions.fShotHeadDivisor*iImpact);
|
||||
*piImpactForCrits = INT32(gGameExternalOptions.fShotHeadMultiplier*iImpact);
|
||||
*piNewImpact = *piImpactForCrits;
|
||||
break;
|
||||
case AIM_SHOT_LEGS:
|
||||
@@ -5676,7 +5676,7 @@ else
|
||||
case OLGA:
|
||||
case TYRONE:
|
||||
case MIKE:
|
||||
iBaseModifier += gGameExternalOptions.usSpecialNPCStronger;
|
||||
iBaseModifier += (iBaseModifier * gGameExternalOptions.usSpecialNPCStronger / 100);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -12763,7 +12763,7 @@ FLOAT CalcNewChanceToHitBaseSpecialBonus(SOLDIERTYPE *pSoldier)
|
||||
case OLGA:
|
||||
case TYRONE:
|
||||
case MIKE:
|
||||
fBaseModifier += gGameExternalOptions.usSpecialNPCStronger;
|
||||
fBaseModifier += (fBaseModifier * gGameExternalOptions.usSpecialNPCStronger / 100);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user