mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Zombie Update (by Flugente)
- new variables for additional strength, dexterity, agility, wisdom and experience level due to drugs, traits etc. - new flagmask for soldiers (so no new variables have to be added in the future) - fix: stat-altering drugs work again and can now have a higher magnitude - drug-altered stats now show up purple - fix: option screen help texts were missing WARING! This will break savegame compatibility git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5325 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1158,6 +1158,15 @@ public:
|
||||
INT16 bPoisonAbsorption; // for x points of poison damage received, you gain x * (bPoisonAbsorption / 100) poison life points
|
||||
///////////////////////////////////////////////////////
|
||||
|
||||
// Flugente: new variables for extra stats
|
||||
INT16 bExtraStrength; // additional strength gained via power armor
|
||||
INT16 bExtraDexterity; // additional dexterity gained via drugs
|
||||
INT16 bExtraAgility; // additional agility gained via drugs
|
||||
INT16 bExtraWisdom; // additional wisdom gained via drugs
|
||||
INT8 bExtraExpLevel; // corruption can temporarily alter our ExpLevel without messing up our stats this way
|
||||
|
||||
INT32 bSoldierFlagMask; // for various soldier-related flags (Illusion, Kill streak, etc.). Easier than adding 32 bool variables
|
||||
|
||||
|
||||
#ifdef JA2UB
|
||||
//ja25
|
||||
@@ -1355,6 +1364,9 @@ public:
|
||||
INT16 GetPoisonAbsorption( void );
|
||||
// returns the poison percentage of the damage we will be doing with the weapon currently in our hand
|
||||
INT16 GetPoisonDamagePercentage( void );
|
||||
|
||||
// reset the extra stat variables
|
||||
void ResetExtraStats();
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
}; // SOLDIERTYPE;
|
||||
|
||||
Reference in New Issue
Block a user