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:
Flugente
2013-09-04 21:13:40 +00:00
parent 5ca8da319c
commit 251d96ccb6
15 changed files with 101 additions and 14 deletions
+3 -1
View File
@@ -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];