--- deliantra/server/include/living.h 2006/09/13 00:29:17 1.3 +++ deliantra/server/include/living.h 2006/09/26 17:19:38 1.4 @@ -58,20 +58,21 @@ extern const int cleric_chance[MAX_STAT + 1]; extern const int fear_bonus[MAX_STAT + 1]; +/* Mostly used by "alive" objects */ ACC_CLASS (living) struct living -{ /* Mostly used by "alive" objects */ - sint8 ACC (RW, Str), ACC (RW, Dex), ACC (RW, Con), ACC (RW, Wis), ACC (RW, Cha), ACC (RW, Int), ACC (RW, Pow); - sint8 ACC (RW, wc), ACC (RW, ac); /* Weapon Class and Armour Class */ +{ + sint64 ACC (RW, exp); /* Experience. */ sint16 ACC (RW, hp); /* Hit Points. */ sint16 ACC (RW, maxhp); sint16 ACC (RW, sp); /* Spell points. Used to cast mage spells. */ sint16 ACC (RW, maxsp); /* Max spell points. */ sint16 ACC (RW, grace); /* Grace. Used to invoke clerical prayers. */ sint16 ACC (RW, maxgrace); /* Grace. Used to invoke clerical prayers. */ - sint64 ACC (RW, exp); /* Experience. Killers gain 1/10. */ - sint16 ACC (RW, food); /* How much food in stomach. 0 = starved. */ + sint32 ACC (RW, food); /* How much food in stomach. 0 = starved. */ sint16 ACC (RW, dam); /* How much damage this object does when hitting */ + sint8 ACC (RW, Str), ACC (RW, Dex), ACC (RW, Con), ACC (RW, Wis), ACC (RW, Cha), ACC (RW, Int), ACC (RW, Pow); + sint8 ACC (RW, wc), ACC (RW, ac); /* Weapon Class and Armour Class */ sint8 ACC (RW, luck); /* Affects thaco and ac from time to time */ };