60 int oldmagic = armour->
magic;
64 "This armour can not be enchanted any further.",
76 "This armour will not accept further enchantment.",
91 "You can't enchant this armour without unapplying it because it would consume your soul!", NULL);
109 while (pow < armour->magic) {
122 while (pow < armour->magic) {
130 if (armour->
weight <= 0) {
131 LOG(
llevInfo,
"Warning: enchanted armours can have negative weight\n.");
174 "Something blocks the magic of the scroll.", NULL);
180 "You need to mark an armor object.", NULL);
191 "Your marked item is not armour!", NULL);
196 "Applying armour enchantment.", NULL);
int get_map_flags(mapstruct *oldmap, mapstruct **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny)
int apply_special(object *who, object *op, int aflags)
void esrv_update_item(int flags, object *pl, object *op)
void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *message, const char *oldmessage)
static void improve_armour(object *op, object *improver, object *armour)
int armor_speed_improvement
static method_ret armour_improver_type_apply(ob_methods *context, object *lighter, object *applier, int aflags)
void init_type_armour_improver(void)
#define ARMOUR_SPEED(xyz)
void register_apply(int ob_type, apply_func method)
object * find_marked_object(object *op)
#define QUERY_FLAG(xyz, p)
object * insert_ob_in_ob(object *op, object *where)
#define MSG_TYPE_APPLY_SUCCESS
int armor_weight_reduction
uint8 armor_weight_linear
#define MSG_TYPE_APPLY_ERROR
void LOG(LogLevel logLevel, const char *format,...)
object * get_split_ob(object *orig_ob, uint32 nr, char *err, size_t size)
void fix_object(object *op)