… | |
… | |
62 | |
62 | |
63 | /* Mostly used by "alive" objects */ |
63 | /* Mostly used by "alive" objects */ |
64 | ACC_CLASS (living) |
64 | ACC_CLASS (living) |
65 | struct living |
65 | struct living |
66 | { |
66 | { |
67 | sint64 ACC (RW, exp); /* Experience. */ |
67 | sint64 ACC (RW, exp); /* Experience. */ |
68 | sint32 ACC (RW, food); /* How much food in stomach. 0 = starved. */ |
68 | sint32 ACC (RW, food); /* How much food in stomach. 0 = starved. */ |
69 | |
69 | |
70 | sint8 ACC (RW, Str), ACC (RW, Dex), ACC (RW, Con), ACC (RW, Int), ACC (RW, Wis), ACC (RW, Pow), ACC (RW, Cha); |
70 | sint8 ACC (RW, Str), ACC (RW, Dex), ACC (RW, Con), ACC (RW, Int), ACC (RW, Wis), ACC (RW, Pow), ACC (RW, Cha); |
71 | sint8 ACC (RW, wc), ACC (RW, ac); /* Weapon Class and Armour Class */ |
71 | sint8 ACC (RW, wc), ACC (RW, ac); /* Weapon Class and Armour Class */ |
72 | sint8 ACC (RW, luck); /* Affects thaco and ac from time to time */ |
72 | sint8 ACC (RW, luck); /* Affects thaco and ac from time to time */ |
73 | sint16 ACC (RW, dam); /* How much damage this object does when hitting */ |
73 | sint16 ACC (RW, dam); /* How much damage this object does when hitting */ |
74 | |
74 | |
75 | sint16 ACC (RW, hp); /* Hit Points. */ |
75 | sint16 ACC (RW, hp); /* Hit Points. */ |
76 | sint16 ACC (RW, maxhp); |
76 | sint16 ACC (RW, maxhp); |
77 | |
77 | |
78 | sint16 ACC (RW, sp); /* Spell points. Used to cast mage spells. */ |
78 | sint16 ACC (RW, sp); /* Spell points. Used to cast mage spells. */ |
79 | sint16 ACC (RW, maxsp); /* Max spell points. */ |
79 | sint16 ACC (RW, maxsp); /* Max spell points. */ |
80 | |
80 | |
81 | sint16 ACC (RW, grace); /* Grace. Used to invoke clerical prayers. */ |
81 | sint16 ACC (RW, grace); /* Grace. Used to invoke clerical prayers. */ |
82 | sint16 ACC (RW, maxgrace); /* Grace. Used to invoke clerical prayers. */ |
82 | sint16 ACC (RW, maxgrace); /* Grace. Used to invoke clerical prayers. */ |
83 | }; |
83 | }; |
84 | |
84 | |
85 | #endif |
85 | #endif |
86 | |
86 | |