mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52: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
|
||||
{
|
||||
// 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)
|
||||
|
||||
Reference in New Issue
Block a user