Go to the documentation of this file.
60 int oldmagic = armour->
magic;
64 "This armour can not be enchanted any further.");
75 "This armour will not accept further enchantment.");
89 "You can't enchant this armour without unapplying it because it would consume your soul!");
110 if (armour->
weight <= 0) {
111 LOG(
llevInfo,
"Warning: enchanted armours can have negative weight\n.");
153 "Something blocks the magic of the scroll.");
159 "You need to mark an armor object.");
170 "Your marked item is not armour!");
175 "Applying armour enchantment.");
#define QUERY_FLAG(xyz, p)
#define object_decrease_nrof_by_one(xyz)
#define MSG_TYPE_APPLY_SUCCESS
void init_type_armour_improver(void)
static void improve_armour(object *op, object *improver, object *armour)
void fix_object(object *op)
void register_apply(int ob_type, apply_func method)
static method_ret armour_improver_type_apply(object *lighter, object *applier, int aflags)
void LOG(LogLevel logLevel, const char *format,...)
void esrv_update_item(int flags, object *pl, object *op)
int apply_special(object *who, object *op, int aflags)
object * object_insert_in_ob(object *op, object *where)
void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *message)
void set_abs_magic(object *op, int magic)
int get_map_flags(mapstruct *oldmap, mapstruct **newmap, int16_t x, int16_t y, int16_t *nx, int16_t *ny)
#define MSG_TYPE_APPLY_ERROR
object * object_split(object *orig_ob, uint32_t nr, char *err, size_t size)
object * find_marked_object(object *op)