mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
NEW_SUPPRESSION_CODE:
- use effective experience level when calculating base suppression tolerance, so nearby squad leaders may raise effective level and help fight suppression - if NEARBY_FRIENDLIES_AFFECT_TOLERANCE option is active, nearby friends can help increase suppression tolerance, up to +-3 points added depending on distance, only for merc bodytypes CheckStatusNearbyFriendlies: minor code improvements, fixed variable names, use INT16 for calculation git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9182 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -291,6 +291,8 @@ SOLDIERTYPE * ReduceAttackBusyCount( );
|
||||
INT8 CalcSuppressionTolerance( SOLDIERTYPE * pSoldier );
|
||||
// HEADROCK HAM 3.2: A new function for checking the condition of nearby friendlies and returning a modifier.
|
||||
INT8 CheckStatusNearbyFriendlies( SOLDIERTYPE *pSoldier );
|
||||
// sevenfm: simplified version
|
||||
INT8 CheckStatusNearbyFriendliesSimple(SOLDIERTYPE *pSoldier);
|
||||
|
||||
void CommonEnterCombatModeCode( );
|
||||
void CheckForPotentialAddToBattleIncrement( SOLDIERTYPE *pSoldier );
|
||||
|
||||
Reference in New Issue
Block a user