Go to the documentation of this file.
56 object *applier,
int aflags) {
66 "You are unable to read while blind.");
72 "The scroll just doesn't make sense!");
87 "You are unable to decipher the strange symbols.");
104 failure = -
rndm(35, 100);
120 "Your scroll of %s glows for a second!",
124 "The scroll of %s turns to dust.",
object * find_skill_by_number(object *who, int skillno)
#define QUERY_FLAG(xyz, p)
int cast_spell(object *op, object *caster, int dir, object *spell_ob, char *stringarg)
void register_apply(int ob_type, apply_func method)
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...) PRINTF_ARGS(6
void scroll_failure(object *op, int failure, int power)
int rndm(int min, int max)
#define object_decrease_nrof_by_one(xyz)
#define MSG_TYPE_APPLY_SUCCESS
int64_t calc_skill_exp(const object *who, const object *op, const object *skill)
void change_exp(object *op, int64_t exp, const char *skill_name, int flag)
uint8_t spell_failure_effects
const typedef char * sstring
int die_roll(int num, int size, const object *op, int goodbad)
#define MSG_TYPE_APPLY_FAILURE
void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *message)
#define MSG_TYPE_APPLY_ERROR
object * identify(object *op)