If a merc's background has <druguse> set, they occasionally consume beneficial drugs in combat for free.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8530 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2018-02-28 20:01:07 +00:00
parent abb8152d24
commit f4171a3889
13 changed files with 82 additions and 18 deletions
+2
View File
@@ -619,6 +619,7 @@ enum {
SOLDIER_COOLDOWN_COVERTOPS_TEMPORARYOVERT_APS,
SOLDIER_COOLDOWN_CRYO, // counts how many turns character will be frozen
SOLDIER_COOLDOWN_INTEL_PENALTY, // after being discovered, we can't gain intel from the assignment for this many hours
SOLDIER_COOLDOWN_DRUGUSER_COMBAT, // after a drug user deliberately took drugs, he will not do so on his own for a while
SOLDIER_COOLDOWN_MAX = 20, // enough space for fillers
};
@@ -1981,6 +1982,7 @@ public:
FLOAT GetIntelGain();
void StopChatting();
void DrugAutoUse();
//////////////////////////////////////////////////////////////////////////////
}; // SOLDIERTYPE;