mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
mercs entering combat via air who do not have the 'airdrop' background receive a penalty on their interrupt level
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6651 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1935,16 +1935,6 @@ INT8 CalcInterruptDuelPts( SOLDIERTYPE * pSoldier, UINT8 ubOpponentID, BOOLEAN f
|
||||
}
|
||||
}
|
||||
|
||||
// Flugente: drugs can alter our perception
|
||||
if ( pSoldier->drugs.bDrugEffect[ DRUG_TYPE_PERCEPTION ] )
|
||||
{
|
||||
iPoints += 1;
|
||||
}
|
||||
else if ( pSoldier->drugs.bDrugSideEffect[ DRUG_TYPE_PERCEPTION ] )
|
||||
{
|
||||
iPoints -= 1;
|
||||
}
|
||||
|
||||
// Flugente: interrupt modifier from special stats
|
||||
iPoints += pSoldier->GetInterruptModifier( ubDistance );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user