mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
CalcChanceHTH: restored higher base chance for melee attacks.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8927 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -9515,9 +9515,11 @@ UINT32 CalcChanceHTH( SOLDIERTYPE * pAttacker,SOLDIERTYPE *pDefender, INT16 ubAi
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Changed from DG by CJC to give higher chances of hitting with a stab or punch
|
// Changed from DG by CJC to give higher chances of hitting with a stab or punch
|
||||||
// sevenfm: lowered base chance
|
// sevenfm: lowered chance for HTH
|
||||||
iChance = 50 + (iAttRating - iDefRating) / 3;
|
if (ubMode == HTH_MODE_PUNCH)
|
||||||
//iChance = 67 + (iAttRating - iDefRating) / 3;
|
iChance = 50 + (iAttRating - iDefRating) / 3;
|
||||||
|
else
|
||||||
|
iChance = 67 + (iAttRating - iDefRating) / 3;
|
||||||
|
|
||||||
// SANDRO - Enhanced Close Combat System - chances to hit for punches aimed at body parts
|
// SANDRO - Enhanced Close Combat System - chances to hit for punches aimed at body parts
|
||||||
if (gGameExternalOptions.fEnhancedCloseCombatSystem)
|
if (gGameExternalOptions.fEnhancedCloseCombatSystem)
|
||||||
|
|||||||
Reference in New Issue
Block a user