#include "hack.h"
Functions | |
void | were_change (struct monst *mon) |
STATIC_DCL int | FDECL (counter_were,(int)) |
STATIC_OVL int | counter_were (int pm) |
void | new_were (struct monst *mon) |
int | were_summon (struct permonst *ptr, boolean yours, int *visible, char *genbuf) |
void | you_were () |
void | you_unwere (boolean purify) |
STATIC_OVL int counter_were | ( | int | pm ) |
References PM_HUMAN_WEREJACKAL, PM_HUMAN_WERERAT, PM_HUMAN_WEREWOLF, PM_WEREJACKAL, PM_WERERAT, and PM_WEREWOLF.
Referenced by new_were().
STATIC_DCL int FDECL | ( | counter_were | , |
(int) | |||
) |
void new_were | ( | struct monst * | mon ) |
References canseemon, counter_were(), FALSE, Hallucination, is_human, mon_break_armor(), Monnam(), mons, monsndx(), newsym(), pline(), pm, possibly_unwield(), and set_mon_data().
Referenced by mattacku(), potionhit(), rescham(), restore_cham(), and were_change().
void were_change | ( | struct monst * | mon ) |
References canseemon, flags, FULL_MOON, is_human, is_were, monsndx(), flag::moonphase, new_were(), night(), PM_WEREJACKAL, PM_WEREWOLF, Protection_from_shape_changers, rn2(), and flag::soundok.
Referenced by cancel_monst(), mcalcdistress(), and mdamagem().
References canseemon, makemon(), mons, monsndx(), NO_MM_FLAGS, pm, PM_GIANT_RAT, PM_HUMAN_WEREJACKAL, PM_HUMAN_WERERAT, PM_HUMAN_WEREWOLF, PM_JACKAL, PM_RABID_RAT, PM_SEWER_RAT, PM_WEREJACKAL, PM_WERERAT, PM_WEREWOLF, PM_WINTER_WOLF, PM_WOLF, Protection_from_shape_changers, rn2(), rnd(), Strcpy, tamedog(), u, you::ux, and you::uy.
Referenced by dosummon(), and mattacku().
void you_unwere | ( | boolean | purify ) |
References monst::data, is_were, NON_PM, Polymorph_control, rehumanize(), u, you::ulycn, Unchanging, yn, and youmonst.
Referenced by fix_worst_trouble(), fpostfx(), peffects(), and potionbreathe().
void you_were | ( | ) |
References an(), permonst::mname, mons, polymon(), Polymorph_control, QBUFSZ, Sprintf, u, you::ulycn, you::umonnum, Unchanging, and yn.
Referenced by moveloop(), peffects(), and potionbreathe().