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:
Sevenfm
2021-02-07 21:07:17 +00:00
parent 0abc2bf31f
commit 6ad8b22368
+5 -3
View File
@@ -9515,9 +9515,11 @@ UINT32 CalcChanceHTH( SOLDIERTYPE * pAttacker,SOLDIERTYPE *pDefender, INT16 ubAi
else
{
// Changed from DG by CJC to give higher chances of hitting with a stab or punch
// sevenfm: lowered base chance
iChance = 50 + (iAttRating - iDefRating) / 3;
//iChance = 67 + (iAttRating - iDefRating) / 3;
// sevenfm: lowered chance for HTH
if (ubMode == HTH_MODE_PUNCH)
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
if (gGameExternalOptions.fEnhancedCloseCombatSystem)