bool aware; /* The player is "aware" of the item's effects */
bool tried; /* The player has "tried" one of the items */
+
+ byte act_idx; /* Activative ability index */
};
s16b hp; /* Current Hit points */
s16b maxhp; /* Max Hit points */
s16b max_maxhp; /* Max Max Hit points */
+ u32b dealt_damage; /* Sum of damages dealt by player */
s16b mtimed[MAX_MTIMED]; /* Timed status counter */
byte recall_dungeon; /* Dungeon set to be recalled */
s16b energy_need; /* Energy needed for next move */
+ s16b enchant_energy_need; /* Energy needed for next upkeep effect */
s16b food; /* Current nutrition */
* A structure type for travel command
*/
typedef struct {
- int run;
+ int run; /* Remaining grid number */
int cost[MAX_HGT][MAX_WID];
- int x;
- int y;
- int dir;
+ int x; /* Target X */
+ int y; /* Target Y */
+ int dir; /* Running direction */
} travel_type;
#endif
int constant;
int dice;
} timeout;
+ cptr desc;
} activation_type;
+
+typedef struct {
+ int flag;
+ int type;
+ cptr name;
+} dragonbreath_type;