Go to the documentation of this file.
68 "Your potion had no effect.");
76 for (i = 1; i <
MIN(11, applier->
level); i++) {
112 "The Gods smile upon you and remake you a little more in their image. "
113 "You feel a little more perfect.");
116 "The potion had no effect - you are already perfect");
121 "The Gods are angry and punish you.");
124 "You are fortunate that you are so pathetic.");
141 "Yech! Your lungs are on fire!");
166 force->duration = 60;
178 force->duration *= 10;
180 if (
force->resist[i] > 0)
183 force->speed_left = -1;
205 && potion->
value != 0)
211 "Nothing happened.");
sstring add_string(const char *str)
#define QUERY_FLAG(xyz, p)
int cast_spell(object *op, object *caster, int dir, object *spell_ob, char *stringarg)
#define MSG_TYPE_APPLY_CURSED
void play_sound_map(int8_t sound_type, object *emitter, int dir, const char *action)
void store_spell_expiry(object *spell)
object * identify(object *op)
void free_string(sstring str)
#define object_decrease_nrof_by_one(xyz)
#define MSG_TYPE_APPLY_SUCCESS
#define EXPLODING_FIREBALL
int remove_depletion(object *op, int level)
void fix_object(object *op)
struct archt * other_arch
static method_ret potion_type_apply(object *potion, object *applier, int aflags)
void init_type_potion(void)
object * create_archetype(const char *name)
int random_roll(int min, int max, const object *op, int goodbad)
void register_apply(int ob_type, apply_func method)
const EXTERN char *const change_resist_msg[NROFATTACKS]
void apply_handle_yield(object *tmp)
#define CLEAR_FLAG(xyz, p)
object * object_insert_in_ob(object *op, object *where)
object * arch_to_object(archetype *at)
#define MSG_TYPE_APPLY_FAILURE
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *message)
void drain_stat(object *op)
int change_abil(object *op, object *tmp)
static const float MOVE_PER_SECOND
int16_t resist[NROFATTACKS]
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...)