1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-06 15:25:11 +01:00

Update masks to allow multiple god anger values

This commit is contained in:
Chris-plus-alphanumericgibberish 2015-02-11 03:53:34 -05:00
parent d3fa2ea793
commit 15b784786e
2 changed files with 6 additions and 2 deletions
include
src

View file

@ -170,7 +170,7 @@ struct mask_properties {
schar mskluck;
int mskhp,mskhpmax;
int msken,mskenmax;
int mskgangr;
int mskgangr[GA_NUM];
long mskexp, mskrexp;
int mskweapon_slots; /* unused skill slots */
int mskskills_advanced; /* # of advances made so far */

View file

@ -950,7 +950,11 @@ doMaskStats(mask)
// mask->mp->mskhpmax = mask->mp->mskhp;
// mask->mp->msken =
// mask->mp->mskenmax = mask->mp->msken;
mask->mp->mskgangr = 0;
mask->mp->mskgangr[0] = 0;
mask->mp->mskgangr[1] = 0;
mask->mp->mskgangr[2] = 0;
mask->mp->mskgangr[3] = 0;
mask->mp->mskgangr[4] = 0;
// mask->mp->mskexp =
mask->mp->mskrexp = mask->mp->msklevel-1;
mask->mp->mskweapon_slots = 0;