4 * Information about "ego-items".
7 typedef struct ego_item_type ego_item_type;
11 STR_OFFSET name; /* Name (offset) */
12 STR_OFFSET text; /* Text (offset) */
14 INVENTORY_IDX slot; /*!< 装備部位 / Standard slot value */
15 PRICE rating; /*!< ベースアイテムからの価値加速 / Rating boost */
17 DEPTH level; /* Minimum level */
18 RARITY rarity; /* Object rarity */
20 HIT_PROB max_to_h; /* Maximum to-hit bonus */
21 HIT_POINT max_to_d; /* Maximum to-dam bonus */
22 ARMOUR_CLASS max_to_a; /* Maximum to-ac bonus */
24 PARAMETER_VALUE max_pval; /* Maximum pval */
26 PRICE cost; /* Ego-item "cost" */
28 BIT_FLAGS flags[TR_FLAG_SIZE]; /* Ego-Item Flags */
29 BIT_FLAGS gen_flags; /* flags for generate */
31 IDX act_idx; /* Activative ability index */
34 extern EGO_IDX max_e_idx;
35 extern ego_item_type *e_info;