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.");
static method_ret potion_type_apply(object *potion, object *applier, int aflags)
#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)
#define MSG_TYPE_APPLY_CURSED
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 play_sound_map(int8_t sound_type, object *emitter, int dir, const char *action)
void fix_object(object *op)
object * object_insert_in_ob(object *op, object *where)
int16_t resist[NROFATTACKS]
void store_spell_expiry(object *spell)
#define object_decrease_nrof_by_one(xyz)
#define MSG_TYPE_APPLY_SUCCESS
#define EXPLODING_FIREBALL
sstring add_string(const char *str)
const char *const change_resist_msg[NROFATTACKS]
int random_roll(int min, int max, const object *op, int goodbad)
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
struct archetype * other_arch
object * create_archetype(const char *name)
void free_string(sstring str)
void init_type_potion(void)
int change_abil(object *op, object *tmp)
void apply_handle_yield(object *tmp)
void drain_stat(object *op)
#define CLEAR_FLAG(xyz, p)
object * arch_to_object(archetype *at)
#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)
int remove_depletion(object *op, int level)
static const float MOVE_PER_SECOND
object * identify(object *op)