mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Background additions:
- <no_male> and <no_female> prohibit specific backgrounds to show up on IMP generation - <cth_vs_creatures> modifies gun CTH when aiming at creatures - added wisdom stat modifier - Fix: maximum cth can never exceed 100 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6359 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -129,6 +129,7 @@ enum {
|
||||
BG_MECHANICAL,
|
||||
BG_EXPLOSIVE_ASSIGN,
|
||||
BG_MEDICAL,
|
||||
BG_WISDOM,
|
||||
|
||||
// ap modifiers for non-sector related tasks
|
||||
BG_HEIGHT,
|
||||
@@ -181,6 +182,7 @@ enum {
|
||||
|
||||
// various
|
||||
BG_BONUS_BREACHINGCHARGE,
|
||||
BG_PERC_CTH_CREATURE,
|
||||
|
||||
BG_MAX,
|
||||
};
|
||||
@@ -196,7 +198,7 @@ typedef struct
|
||||
INT16 value[BG_MAX]; // property values
|
||||
} BACKGROUND_VALUES;
|
||||
|
||||
#define NUM_BACKGROUND 100
|
||||
#define NUM_BACKGROUND 200
|
||||
|
||||
extern BACKGROUND_VALUES zBackground[NUM_BACKGROUND];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user