mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
New feature: turncoats can be created from enemies and ordered to switch sides
Requires GameDir >= r2535 For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=360191&#msg_360191 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8811 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -300,6 +300,11 @@ void ReducePointsForFatigue( SOLDIERTYPE *pSoldier, UINT32 *pusPoints )
|
||||
*pusPoints -= (*pusPoints * GetPenaltyForFatigue( pSoldier )) / 100;
|
||||
}
|
||||
|
||||
void ReducePointsForFatigue( SOLDIERTYPE *pSoldier, INT32 *psPoints )
|
||||
{
|
||||
*psPoints -= ( *psPoints * GetPenaltyForFatigue( pSoldier ) ) / 100;
|
||||
}
|
||||
|
||||
INT32 GetSkillCheckPenaltyForFatigue( SOLDIERTYPE *pSoldier, INT32 iSkill )
|
||||
{
|
||||
// use only half the full effect of fatigue for skill checks
|
||||
|
||||
Reference in New Issue
Block a user