From 6ad8b223687c945a99ecdf7cb074a9c21f52acdf Mon Sep 17 00:00:00 2001 From: Sevenfm Date: Sun, 7 Feb 2021 21:07:17 +0000 Subject: [PATCH] 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 --- Tactical/Weapons.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Tactical/Weapons.cpp b/Tactical/Weapons.cpp index 9739fa57a..9ecadd715 100644 --- a/Tactical/Weapons.cpp +++ b/Tactical/Weapons.cpp @@ -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)