mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Mercs can now have multiple disabilities at the same time.
The new fSpecialFlagContractDisability tag for diseases adds a disability every time we are infected with the disease, it is used for PTSD. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8826 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1579,6 +1579,8 @@ public:
|
||||
|
||||
UINT32 usIndividualMilitiaID; // Flugente: if this is a militia, this is the ID of the militia data
|
||||
|
||||
// Flugente: store disabilities as a flagmask, so we can have multiple ones
|
||||
UINT32 usDisabilityFlagMask;
|
||||
|
||||
#ifdef JA2UB
|
||||
//ja25
|
||||
@@ -1958,6 +1960,7 @@ public:
|
||||
void Infect( UINT8 aDisease );
|
||||
void AddDiseasePoints( UINT8 aDisease, INT32 aVal );
|
||||
void AnnounceDisease( UINT8 aDisease );
|
||||
void AddDisability( UINT8 aDisability );
|
||||
|
||||
// do we have any disease?
|
||||
// fDiagnosedOnly: check for wether we know of this infection
|
||||
|
||||
Reference in New Issue
Block a user