mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New Feature: Drug System Overhaul. The drug system has been completely overhauled.
Requires GameDir >= r2257. For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&goto=341541&#msg_341541 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7896 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -4120,7 +4120,7 @@ void DebugSoldierPage1( )
|
||||
gprintf( 350, LINE_HEIGHT * ubLine, L"%d", pSoldier->stats.bMedical);
|
||||
ubLine++;
|
||||
|
||||
SetFontShade(LARGEFONT1, FONT_SHADE_GREEN);
|
||||
/*SetFontShade(LARGEFONT1, FONT_SHADE_GREEN);
|
||||
gprintf( 200, LINE_HEIGHT * ubLine, L"Drug Effects:");
|
||||
SetFontShade(LARGEFONT1, FONT_SHADE_NEUTRAL);
|
||||
gprintf( 400, LINE_HEIGHT * ubLine, L"%d", pSoldier->drugs.bDrugEffect[0] );
|
||||
@@ -4142,7 +4142,7 @@ void DebugSoldierPage1( )
|
||||
gprintf( 200, LINE_HEIGHT * ubLine, L"Hangover Side Effects:");
|
||||
SetFontShade(LARGEFONT1, FONT_SHADE_NEUTRAL);
|
||||
gprintf( 400, LINE_HEIGHT * ubLine, L"%d", pSoldier->drugs.bDrugSideEffect[1] );
|
||||
ubLine++;
|
||||
ubLine++;*/
|
||||
|
||||
SetFontShade(LARGEFONT1, FONT_SHADE_GREEN);
|
||||
gprintf( 200, LINE_HEIGHT * ubLine, L"AI has Keys:");
|
||||
@@ -5428,11 +5428,12 @@ UINT8 MovementNoise( SOLDIERTYPE *pSoldier )
|
||||
iStealthSkill -= 20; // 20% penalty
|
||||
}
|
||||
|
||||
if ( pSoldier->drugs.bDrugEffect[ DRUG_TYPE_ADRENALINE ] )
|
||||
// Flugente: deleting this
|
||||
/*if ( pSoldier->drugs.bDrugEffect[ DRUG_TYPE_ADRENALINE ] )
|
||||
{
|
||||
// minus 3 percent per bonus AP from adrenaline
|
||||
iStealthSkill -= 3 * pSoldier->drugs.bDrugEffect[ DRUG_TYPE_ADRENALINE ];
|
||||
}
|
||||
}*/
|
||||
|
||||
/*
|
||||
// if sneaker is too eager and impatient to "do it right"
|
||||
|
||||
Reference in New Issue
Block a user