#include "hack.h"
Defines | |
#define | MAGIC_COOKIE 1000 |
#define | ZT_MAGIC_MISSILE (AD_MAGM-1) |
#define | ZT_FIRE (AD_FIRE-1) |
#define | ZT_COLD (AD_COLD-1) |
#define | ZT_SLEEP (AD_SLEE-1) |
#define | ZT_DEATH (AD_DISN-1) |
#define | ZT_LIGHTNING (AD_ELEC-1) |
#define | ZT_POISON_GAS (AD_DRST-1) |
#define | ZT_ACID (AD_ACID-1) |
#define | ZT_WAND(x) (x) |
#define | ZT_SPELL(x) (10+(x)) |
#define | ZT_BREATH(x) (20+(x)) |
#define | is_hero_spell(type) ((type) >= 10 && (type) < 20) |
#define | USES_CORPSENM(typ) ((typ)==CORPSE || (typ)==STATUE || (typ)==FIGURINE) |
#define | oresist_disintegration(obj) |
Functions | |
STATIC_DCL void | FDECL (costly_cancel,(struct obj *)) |
STATIC_DCL void | FDECL (polyuse,(struct obj *, int, int)) |
STATIC_DCL void | FDECL (create_polymon,(struct obj *, int)) |
STATIC_DCL boolean | FDECL (zap_updown,(struct obj *)) |
STATIC_DCL int | FDECL (zhitm,(struct monst *, int, int, struct obj **)) |
STATIC_DCL void | FDECL (zhitu,(int, int, const char *, XCHAR_P, XCHAR_P)) |
STATIC_DCL void | FDECL (revive_egg,(struct obj *)) |
STATIC_DCL int | FDECL (zap_hit,(int, int)) |
STATIC_DCL void | FDECL (backfire,(struct obj *)) |
STATIC_DCL int | FDECL (spell_hit_bonus,(int)) |
int | bhitm (struct monst *mtmp, struct obj *otmp) |
void | probe_monster (struct monst *mtmp) |
boolean | get_obj_location (struct obj *obj, xchar *xp, xchar *yp, int locflags) |
boolean | get_mon_location (struct monst *mon, xchar *xp, xchar *yp, int locflags) |
struct monst * | montraits (struct obj *obj, coord *cc) |
struct monst * | get_container_location (struct obj *obj, int *loc, int *container_nesting) |
struct monst * | revive (struct obj *obj) |
STATIC_OVL void | revive_egg (struct obj *obj) |
int | unturn_dead (struct monst *mon) |
STATIC_OVL void | costly_cancel (struct obj *obj) |
boolean | cancellable (struct obj *obj) |
void | cancel_item (struct obj *obj) |
boolean | drain_item (struct obj *obj) |
boolean | obj_resists (struct obj *obj, int ochance, int achance) |
boolean | obj_shudders (struct obj *obj) |
STATIC_OVL void | polyuse (struct obj *objhdr, int mat, int minwt) |
STATIC_OVL void | create_polymon (struct obj *obj, int okind) |
void | do_osshock (struct obj *obj) |
struct obj * | poly_obj (struct obj *obj, int id) |
int | bhito (struct obj *obj, struct obj *otmp) |
int | bhitpile (struct obj *obj, fhito, int tx, int ty) |
int | zappable (struct obj *wand) |
void | zapnodir (struct obj *obj) |
STATIC_OVL void | backfire (struct obj *otmp) |
int | dozap () |
int | zapyourself (struct obj *obj, boolean ordinary) |
boolean | cancel_monst (struct monst *mdef, struct obj *obj, boolean youattack, boolean allow_cancel_kill, boolean self_cancel) |
STATIC_OVL boolean | zap_updown (struct obj *obj) |
void | weffects (struct obj *obj) |
int | spell_damage_bonus () |
STATIC_OVL int | spell_hit_bonus (int skill) |
const char * | exclam (int force) |
void | hit (const char *str, struct monst *mtmp, const char *force) |
void | miss (const char *str, struct monst *mtmp) |
struct monst * | bhit (int ddx, int ddy, int range, int weapon, fhitm, fhito, struct obj *obj, boolean *obj_destroyed) |
struct monst * | boomhit (int dx, int dy) |
STATIC_OVL int | zhitm (struct monst *mon, int type, int nd, struct obj **ootmp) |
STATIC_OVL void | zhitu (int type, int nd, const char *fltxt, xchar sx, xchar sy) |
int | burn_floor_paper (int x, int y, boolean give_feedback, boolean u_caused) |
STATIC_OVL int | zap_hit (int ac, int type) |
void | buzz (int type, int nd, xchar sx, xchar sy, int dx, int dy) |
void | melt_ice (xchar x, xchar y) |
int | zap_over_floor (xchar x, xchar y, int type, boolean *shopdamage) |
void | fracture_rock (struct obj *obj) |
boolean | break_statue (struct obj *obj) |
void | destroy_item (int osym, int dmgtyp) |
int | destroy_mitem (struct monst *mtmp, int osym, int dmgtyp) |
int | resist (struct monst *mtmp, char oclass, int damage, int tell) |
void | makewish (boolean magical) |
Variables | |
static NEARDATA boolean | obj_zapped |
static NEARDATA int | poly_zapped |
boolean | notonhead |
boolean | m_using |
STATIC_VAR const char | are_blinded_by_the_flash [] = "are blinded by the flash!" |
const char *const | flash_types [] |
static const char | charged_objs [] = { WAND_CLASS, WEAPON_CLASS, ARMOR_CLASS, 0 } |
static NEARDATA const char | zap_syms [] = { WAND_CLASS, 0 } |
const char *const | destroy_strings [] |
#define oresist_disintegration | ( | obj ) |
(objects[obj->otyp].oc_oprop == DISINT_RES || \ obj_resists(obj, 5, 50) || is_quest_artifact(obj) || \ obj == m_amulet)
Referenced by buzz(), ghitm(), help_monster_out(), hitmu(), hmon_hitmon(), hmonas(), kick_monster(), mdamagem(), ohitmon(), potionhit(), thitm(), and thitmonst().
#define USES_CORPSENM | ( | typ ) | ((typ)==CORPSE || (typ)==STATUE || (typ)==FIGURINE) |
Referenced by poly_obj().
#define ZT_BREATH | ( | x ) | (20+(x)) |
Referenced by buzz(), zap_over_floor(), zhitm(), and zhitu().
#define ZT_COLD (AD_COLD-1) |
Referenced by buzz(), zap_over_floor(), zhitm(), and zhitu().
#define ZT_DEATH (AD_DISN-1) |
Referenced by buzz(), zap_over_floor(), zhitm(), and zhitu().
#define ZT_FIRE (AD_FIRE-1) |
Referenced by buzz(), zap_over_floor(), zhitm(), and zhitu().
#define ZT_LIGHTNING (AD_ELEC-1) |
Referenced by buzz(), zap_over_floor(), zhitm(), and zhitu().
#define ZT_SPELL | ( | x ) | (10+(x)) |
Referenced by buzz(), zap_over_floor(), and zhitm().
#define ZT_WAND | ( | x ) | (x) |
Referenced by zhitm().
STATIC_OVL void backfire | ( | struct obj * | otmp ) |
struct monst* bhit | ( | int | ddx, |
int | ddy, | ||
int | range, | ||
int | weapon, | ||
fhitm | , | ||
fhito | , | ||
struct obj * | obj, | ||
boolean * | obj_destroyed | ||
) | [read] |
Called for the following distance effects: when a weapon is thrown (weapon == THROWN_WEAPON) when an object is kicked (KICKED_WEAPON) when an IMMEDIATE wand is zapped (ZAPPED_WAND) when a light beam is flashed (FLASHED_LIGHT) when a mirror is applied (INVIS_BEAM) A thrown/kicked object falls down at the end of its range or when a monster is hit. The variable 'bhitpos' is set to the final position of the weapon thrown/zapped. The ray of a wand may affect (by calling a provided function) several objects and monsters on its path. The return value is the monster hit (weapon != ZAPPED_WAND), or a null monster pointer.
Check !u.uswallow before calling bhit(). This function reveals the absence of a remembered invisible monster in necessary cases (throwing or kicking weapons). The presence of a real one is revealed for a weapon, but if not a weapon is left up to fhitm().
range | Called for the following distance effects: when a weapon is thrown (weapon == THROWN_WEAPON) when an object is kicked (KICKED_WEAPON) when an IMMEDIATE wand is zapped (ZAPPED_WAND) when a light beam is flashed (FLASHED_LIGHT) when a mirror is applied (INVIS_BEAM) A thrown/kicked object falls down at the end of its range or when a monster is hit. The variable 'bhitpos' is set to the final position of the weapon thrown/zapped. The ray of a wand may affect (by calling a provided function) several objects and monsters on its path. The return value is the monster hit (weapon != ZAPPED_WAND), or a null monster pointer. |
Check !u.uswallow before calling bhit(). This function reveals the absence of a remembered invisible monster in necessary cases (throwing or kicking weapons). The presence of a real one is revealed for a weapon, but if not a weapon is left up to fhitm(). direction and range
weapon | Called for the following distance effects: when a weapon is thrown (weapon == THROWN_WEAPON) when an object is kicked (KICKED_WEAPON) when an IMMEDIATE wand is zapped (ZAPPED_WAND) when a light beam is flashed (FLASHED_LIGHT) when a mirror is applied (INVIS_BEAM) A thrown/kicked object falls down at the end of its range or when a monster is hit. The variable 'bhitpos' is set to the final position of the weapon thrown/zapped. The ray of a wand may affect (by calling a provided function) several objects and monsters on its path. The return value is the monster hit (weapon != ZAPPED_WAND), or a null monster pointer. |
Check !u.uswallow before calling bhit(). This function reveals the absence of a remembered invisible monster in necessary cases (throwing or kicking weapons). The presence of a real one is revealed for a weapon, but if not a weapon is left up to fhitm(). see values in hack.h
obj | Called for the following distance effects: when a weapon is thrown (weapon == THROWN_WEAPON) when an object is kicked (KICKED_WEAPON) when an IMMEDIATE wand is zapped (ZAPPED_WAND) when a light beam is flashed (FLASHED_LIGHT) when a mirror is applied (INVIS_BEAM) A thrown/kicked object falls down at the end of its range or when a monster is hit. The variable 'bhitpos' is set to the final position of the weapon thrown/zapped. The ray of a wand may affect (by calling a provided function) several objects and monsters on its path. The return value is the monster hit (weapon != ZAPPED_WAND), or a null monster pointer. |
Check !u.uswallow before calling bhit(). This function reveals the absence of a remembered invisible monster in necessary cases (throwing or kicking weapons). The presence of a real one is revealed for a weapon, but if not a weapon is left up to fhitm(). object tossed/used
obj_destroyed | Called for the following distance effects: when a weapon is thrown (weapon == THROWN_WEAPON) when an object is kicked (KICKED_WEAPON) when an IMMEDIATE wand is zapped (ZAPPED_WAND) when a light beam is flashed (FLASHED_LIGHT) when a mirror is applied (INVIS_BEAM) A thrown/kicked object falls down at the end of its range or when a monster is hit. The variable 'bhitpos' is set to the final position of the weapon thrown/zapped. The ray of a wand may affect (by calling a provided function) several objects and monsters on its path. The return value is the monster hit (weapon != ZAPPED_WAND), or a null monster pointer. |
Check !u.uswallow before calling bhit(). This function reveals the absence of a remembered invisible monster in necessary cases (throwing or kicking weapons). The presence of a real one is revealed for a weapon, but if not a weapon is left up to fhitm(). has object been deallocated? Pointer to boolean, may be NULL
References add_damage(), an(), bhitpile(), bhitpos, BOULDER, cansee, canspotmon, close_drawbridge(), closed_door(), cmap_to_glyph, COIN_CLASS, costly_spot(), D_BROKEN, delay_output, destroy_drawbridge(), DISP_BEAM, DISP_END, DISP_FLASH, distant_name(), doorlock(), DRAWBRIDGE_DOWN, DRAWBRIDGE_UP, FALSE, find_drawbridge(), flash_hits_mon(), FLASHED_LIGHT, glyph_is_invisible, HEAVY_IRON_BALL, hits_bars(), HOLE, in_rooms(), In_sokoban, inside_shop(), INVIS_BEAM, IRONBARS, is_db_wall(), IS_DOOR, is_lava(), is_pick, is_pool(), IS_SINK, isok(), KICKED_WEAPON, levl, m_at, makeknown, map_invisible(), monst::mx, monst::my, newsym(), notonhead, OBJ_AT, obj_to_glyph, obj::oclass, open_drawbridge(), obj::otyp, obj::ox, obj::oy, pay_for_damage(), PIT, pline(), rn2(), S_flashbeam, SDOOR, ship_object(), shkcatch(), SHOPBASE, sobj_at(), SPE_FORCE_BOLT, SPE_KNOCK, SPE_WIZARD_LOCK, SPIKED_PIT, t_at(), TEST_MOVE, test_move(), The(), THROWN_WEAPON, tmp_at(), TRAPDOOR, TRUE, u, uball, unmap_object(), you::ux, you::uy, you::uz, WAN_LOCKING, WAN_OPENING, WAN_PROBING, WAN_STRIKING, nhcoord::x, xname(), nhcoord::y, ZAP_POS, and ZAPPED_WAND.
Referenced by kick_object(), throw_gold(), throwit(), use_mirror(), and weffects().
References adjalign(), bhitpos, Blind, BUFSZ, bypass_obj(), flag::bypasses, cancel_monst(), cansee, canseemon, canspotmon, CHAM_ORDINARY, d(), exclam(), expels(), FALSE, find_mac(), flags, flash_hits_mon(), Hallucination, hit(), hot_pursuit(), is_animal, is_undead, is_whirly, knowninvisible, M_AP_NOTHING, M_AP_OBJECT, m_dowear(), m_respond(), makeknown, map_invisible(), mimic_hit_msg(), miss(), mon_adjust_speed(), mon_nam(), mon_set_minvis(), monflee(), Monnam(), mons, monsndx(), nambuf, name, newcham(), newsym(), obj::nobj, NOTELL, obj_extract_self(), obj::oclass, obj::otyp, obj::owornmask, place_object(), pline(), PM_FLESH_GOLEM, PM_HEALER, PM_KNIGHT, PM_PESTILENCE, PM_STONE_GOLEM, POT_POLYMORPH, probe_monster(), resist(), resists_drli(), resists_magm(), rn2(), rnd(), Role_if, S_MIMIC, seemimic(), set_mimic_sym(), sgn(), shieldeff(), sleep_monst(), slept_monst(), obj::spe, SPE_CANCELLATION, SPE_DRAIN_LIFE, SPE_EXTRA_HEALING, SPE_FORCE_BOLT, SPE_HEALING, SPE_KNOCK, SPE_POLYMORPH, SPE_SLOW_MONSTER, SPE_STONE_TO_FLESH, SPE_TELEPORT_AWAY, SPE_TURN_UNDEAD, SPE_WIZARD_LOCK, spell_damage_bonus(), STRANGE_OBJECT, Strcpy, TELL, TRUE, align::type, u, u_teleport_mon(), you::ualign, you::uhave, unturn_dead(), update_mon_intrinsics(), you::ushops, you::ustuck, wakeup(), WAN_CANCELLATION, WAN_LIGHT, WAN_LOCKING, WAN_MAKE_INVISIBLE, WAN_NOTHING, WAN_OPENING, WAN_POLYMORPH, WAN_PROBING, WAN_SLEEP, WAN_SLOW_MONSTER, WAN_SPEED_MONSTER, WAN_STRIKING, WAN_TELEPORTATION, WAN_UNDEAD_TURNING, WAND_CLASS, which_armor(), nhcoord::x, xkilled(), and nhcoord::y.
Referenced by do_break_wand(), potionhit(), and weffects().
References AMULET_OF_UNCHANGING, ANIMATE_SPELL, animate_statue(), BOULDER, boxlock(), break_statue(), breaks(), flag::bypasses, cancel_item(), cansee, carnivorous, obj::cobj, CORPSE, monst::data, delobj(), display_cinventory(), do_osshock(), drain_item(), EGG, FALSE, FIGURINE, flags, fracture_rock(), G_NOCORPSE, G_UNIQ, GEM_CLASS, GEMSTONE, permonst::geno, get_obj_location(), herbivorous, hero_breaks(), HUGE_CHUNK_OF_MEAT, Is_box, Is_container, makeknown, makemon(), MEAT_RING, MEAT_STICK, MEATBALL, MINERAL, mon, flag::mon_moving, mons, monst::mx, monst::my, newsym(), NO_MM_FLAGS, obj::nobj, obj_extract_self(), OBJ_FLOOR, obj_resists(), obj_shudders(), objects, objclass::oc_class, place_object(), pline(), PM_MONK, poly_obj(), u_conduct::polypiles, POT_POLYMORPH, revive(), revive_egg(), RING_CLASS, rloco(), ROCK_CLASS, Role_if, SPE_CANCELLATION, SPE_DRAIN_LIFE, SPE_EXTRA_HEALING, SPE_FORCE_BOLT, SPE_HEALING, SPE_KNOCK, SPE_POLYMORPH, SPE_SLOW_MONSTER, SPE_STONE_TO_FLESH, SPE_TELEPORT_AWAY, SPE_TURN_UNDEAD, SPE_WIZARD_LOCK, STATUE, STRANGE_OBJECT, Tobjnam(), TOOL_CLASS, TRUE, u, uball, uchain, you::uconduct, unpunish(), u_conduct::unvegetarian, vegetarian, WAN_CANCELLATION, WAN_LOCKING, WAN_MAKE_INVISIBLE, WAN_NOTHING, WAN_OPENING, WAN_POLYMORPH, WAN_PROBING, WAN_SLOW_MONSTER, WAN_SPEED_MONSTER, WAN_STRIKING, WAN_TELEPORTATION, WAN_UNDEAD_TURNING, WAND_CLASS, WEAPON_CLASS, and youmonst.
Referenced by do_break_wand(), use_defensive(), use_offensive(), weffects(), zap_updown(), and zapyourself().
int bhitpile | ( | struct obj * | obj, |
fhito | , | ||
int | tx, | ||
int | ty | ||
) |
References activate_statue_trap(), create_polymon(), level, makeknown, dlevel_t::objects, otmp, poly_zapped, SPE_FORCE_BOLT, STATUE_TRAP, t_at(), TRUE, and WAN_STRIKING.
Referenced by bhit(), do_break_wand(), and zap_updown().
struct monst* boomhit | ( | int | dx, |
int | dy | ||
) | [read] |
References A_DEX, ACURR, bhitpos, closed_door(), cmap_to_glyph, delay_output, DISP_CHANGE, DISP_END, DISP_FLASH, Fumbling, IS_SINK, levl, m_at, m_respond(), MON_AT, rn2(), rnd(), S_boomleft, S_boomright, thitu(), tmp_at(), u, you::ux, you::uy, nhcoord::x, xdir, nhcoord::y, ydir, youmonst, and ZAP_POS.
Referenced by throwit().
References activate_statue_trap(), adjalign(), obj::cobj, FALSE, flags, fracture_rock(), flag::mon_moving, obj_extract_self(), obj::ox, place_object(), PM_ARCHEOLOGIST, Role_if, STATUE_HISTORIC, STATUE_TRAP, t_at(), and TRUE.
Referenced by bhito(), dig(), and scatter().
References An(), BUFSZ, delobj(), distant_name(), level, obj_resists(), dlevel_t::objects, obj::oclass, obj::otyp, pline(), obj::quan, rn2(), SCR_FIRE, SCROLL_CLASS, SPBOOK_CLASS, SPE_FIREBALL, Strcpy, u, useupf(), you::ux, you::uy, and xname().
Referenced by cast_cleric_spell(), dofiretrap(), mintrap(), and zap_over_floor().
References AD_RBRE, bhitpos, Blind, body_part(), cansee, canseemon, canspotmon, closed_door(), d(), monst::data, delay_output, DISP_BEAM, DISP_CHANGE, DISP_END, distant_name(), exclam(), EXPL_FIERY, explode(), EYE, eyecount, FALSE, find_mac(), glyph_is_invisible, hit(), is_hero_spell, is_rider, IS_ROOM, isok(), killed(), levl, m_at, m_useup(), MAGIC_COOKIE, make_blinded(), makeplural(), map_invisible(), monst::mgold, monst::mhp, monst::mhpmax, monst::minvent, miss(), mlifesaver(), mon, mon_nam(), mon_reflects(), monkilled(), Monnam(), mons, monst::mstrategy, monst::mx, monst::my, newsym(), obj::nobj, nomul(), obfree(), obj_extract_self(), oresist_disintegration, otmp, pay_for_damage(), pline(), PM_DEATH, Reflecting, resists_blnd(), rn1, rn2(), s_suffix(), shieldeff(), showdmg(), slept_monst(), SPE_MAGIC_MISSILE, stop_occupation(), STRAT_WAITMASK, The(), tmp_at(), rm::typ, u, you::uac, unmap_object(), ureflects(), you::ustuck, you::ux, you::uy, vision_clears, WEBB_DISINT, nhcoord::x, xkilled(), xname(), nhcoord::y, youmonst, zap_hit(), zap_over_floor(), ZAP_POS, zapdir_to_glyph(), zhitm(), zhitu(), ZT_BREATH, ZT_COLD, ZT_DEATH, ZT_FIRE, ZT_LIGHTNING, and ZT_SPELL.
Referenced by breamu(), buzzmu(), do_improvisation(), do_storms(), dobreathe(), ghod_hitsu(), use_offensive(), and weffects().
void cancel_item | ( | struct obj * | obj ) |
References A_CHA, A_CON, A_DEX, A_INT, A_STR, A_WIS, ABON, ARMOR_CLASS, Blind, flag::botl, BUFSZ, CANDELABRUM_OF_INVOCATION, costly_cancel(), flags, GAUNTLETS_OF_DEXTERITY, GRAY_DRAGON_SCALE_MAIL, GRAY_DRAGON_SCALES, HELM_OF_BRILLIANCE, is_weptool, MAGIC_LAMP, objects, pline(), POT_ACID, POT_BLOOD, POT_FRUIT_JUICE, POT_SEE_INVISIBLE, POT_SICKNESS, POT_VAMPIRE_BLOOD, POT_WATER, POTION_CLASS, RIN_ADORNMENT, RIN_GAIN_CONSTITUTION, RIN_GAIN_DEXTERITY, RIN_GAIN_INTELLIGENCE, RIN_GAIN_STRENGTH, RIN_GAIN_WISDOM, RIN_INCREASE_ACCURACY, RIN_INCREASE_DAMAGE, SCR_BLANK_PAPER, SCROLL_CLASS, setworn(), Shk_Your(), SPBOOK_CLASS, SPE_BLANK_PAPER, SPE_BOOK_OF_THE_DEAD, SPE_CANCELLATION, u, uarm, uarmg, uarmh, you::udaminc, you::uhitinc, uleft, unbless(), uncurse(), uright, W_ARM, W_ARMG, W_ARMH, W_RING, WAN_CANCELLATION, WAND_CLASS, WEAPON_CLASS, xname(), and YELLOW_DRAGON_SCALE_MAIL.
Referenced by bhito(), and cancel_monst().
boolean cancel_monst | ( | struct monst * | mdef, |
struct obj * | obj, | ||
boolean | youattack, | ||
boolean | allow_cancel_kill, | ||
boolean | self_cancel | ||
) |
References AD_SPEL, Antimagic, ART_MAGICBANE, Blind, flag::botl, cancel_item(), cancellable(), canseemon, FALSE, find_ac(), flags, invent, is_were, killed(), mon_nam(), monkilled(), mons, obj::nobj, NOTELL, otmp, pline(), PM_CLAY_GOLEM, rehumanize(), resist(), rnd(), S_HUMAN, s_suffix(), TRUE, u, you::umonnum, Unchanging, Upolyd, were_change(), and youmonst.
Referenced by artifact_hit(), bhitm(), Mb_hit(), mbhitm(), and zapyourself().
References ARMOR_CLASS, is_weptool, objects, POT_ACID, POT_SICKNESS, and WEAPON_CLASS.
Referenced by cancel_monst().
STATIC_OVL void costly_cancel | ( | struct obj * | obj ) |
References bill_dummy_object(), costly_spot(), FALSE, in_rooms(), inhishop(), OBJ_FLOOR, OBJ_INVENT, shop_keeper(), SHOPBASE, stolen_value(), u, you::ushops, you::ux, and you::uy.
Referenced by cancel_item(), and drain_item().
STATIC_OVL void create_polymon | ( | struct obj * | obj, |
int | okind | ||
) |
References a_monnam(), BONE, cansee, CLOTH, COPPER, FLESH, G_GENOD, GEMSTONE, GLASS, GOLD, IRON, LEATHER, makemon(), METAL, MINERAL, MITHRIL, mons, monst::mx, monst::my, NO_MM_FLAGS, PAPER, PLATINUM, pline(), PM_CLAY_GOLEM, PM_FLESH_GOLEM, PM_GLASS_GOLEM, PM_GOLD_GOLEM, PM_IRON_GOLEM, PM_LEATHER_GOLEM, PM_PAPER_GOLEM, PM_ROPE_GOLEM, PM_SKELETON, PM_STONE_GOLEM, PM_STRAW_GOLEM, PM_WOOD_GOLEM, polyuse(), rn2(), SILVER, and WOOD.
Referenced by bhitpile().
void destroy_item | ( | int | osym, |
int | dmgtyp | ||
) |
References A_STR, AD_COLD, AD_ELEC, AD_FIRE, Blind, breathless, current_wand, monst::data, exercise(), FALSE, Fire_resistance, haseyes, hcolor(), invent, KILLED_BY, KILLED_BY_AN, losehp(), makeplural(), obj::nobj, obj::oartifact, obj::oclass, obj::otyp, obj::owornmask, pline(), POT_OIL, POTION_CLASS, potionbreathe(), obj::quan, RIN_SHOCK_RESISTANCE, RING_CLASS, Ring_gone(), rn2(), rnd(), SCR_FIRE, SCROLL_CLASS, setnotworn(), Shock_resistance, SPBOOK_CLASS, SPE_BOOK_OF_THE_DEAD, SPE_FIREBALL, The(), useup(), W_RING, WAN_LIGHTNING, WAND_CLASS, xname(), and youmonst.
Referenced by cast_cleric_spell(), chest_trap(), destroy_mitem(), dofiretrap(), explode(), gazemu(), hitmu(), lava_effects(), zapyourself(), and zhitu().
int destroy_mitem | ( | struct monst * | mtmp, |
int | osym, | ||
int | dmgtyp | ||
) |
References AD_COLD, AD_ELEC, AD_FIRE, canseemon, destroy_item(), distant_name(), hcolor(), m_useup(), Monnam(), obj::nobj, obj::oclass, obj::otyp, pline(), POT_OIL, POTION_CLASS, obj::quan, RIN_SHOCK_RESISTANCE, RING_CLASS, rn2(), s_suffix(), SCR_FIRE, SCROLL_CLASS, SPBOOK_CLASS, SPE_BOOK_OF_THE_DEAD, SPE_FIREBALL, The(), vis, WAN_LIGHTNING, WAND_CLASS, xname(), and youmonst.
Referenced by artifact_hit(), damageum(), dogaze(), explode(), mdamagem(), mintrap(), use_offensive(), and zhitm().
void do_osshock | ( | struct obj * | obj ) |
References addtobill(), costly_spot(), delobj(), FALSE, LARGEST_INT, Luck, obj_zapped, objects, poly_zapped, rn2(), rnd(), SCR_MAIL, splitobj(), stolen_value(), TRUE, u, and you::ushops.
Referenced by bhito().
int dozap | ( | ) |
References A_STR, backfire(), Blind, BUFSZ, check_capacity(), check_unpaid(), current_wand, you::dx, you::dy, you::dz, exercise(), FALSE, getdir(), getobj(), losehp(), NO_KILLER_PREFIX, NODIR, nothing_happens, objects, obj::otyp, pline(), rn2(), obj::spe, Sprintf, The(), Tobjnam(), TRUE, u, uhim, update_inventory, useup(), weffects(), xname(), zappable(), and zapyourself().
References A_CHA, A_CON, A_DEX, A_INT, A_STR, A_WIS, ABON, ARMOR_CLASS, flag::botl, carried, costly_cancel(), FALSE, flags, GAUNTLETS_OF_DEXTERITY, HELM_OF_BRILLIANCE, is_weptool, obj_resists(), objects, RIN_ADORNMENT, RIN_GAIN_CONSTITUTION, RIN_GAIN_STRENGTH, RIN_INCREASE_ACCURACY, RIN_INCREASE_DAMAGE, RIN_PROTECTION, TRUE, u, uarmg, uarmh, you::udaminc, you::uhitinc, uleft, update_inventory, uright, W_ARMG, W_ARMH, W_RING, and WEAPON_CLASS.
Referenced by bhito(), hitmu(), passive_obj(), passivemm(), and passiveum().
const char* exclam | ( | int | force ) |
STATIC_DCL int FDECL | ( | zap_hit | , |
(int, int) | |||
) |
STATIC_DCL void FDECL | ( | backfire | , |
(struct obj *) | |||
) |
STATIC_DCL void FDECL | ( | polyuse | , |
(struct obj *, int, int) | |||
) |
STATIC_DCL int FDECL | ( | spell_hit_bonus | , |
(int) | |||
) |
STATIC_DCL void FDECL | ( | costly_cancel | , |
(struct obj *) | |||
) |
STATIC_DCL void FDECL | ( | create_polymon | , |
(struct obj *, int) | |||
) |
STATIC_DCL void FDECL | ( | zhitu | , |
(int, int, const char *, XCHAR_P, XCHAR_P) | |||
) |
STATIC_DCL void FDECL | ( | revive_egg | , |
(struct obj *) | |||
) |
void fracture_rock | ( | struct obj * | obj ) |
References BOULDER, cansee, change_luck(), does_block(), FALSE, flags, GEM_CLASS, In_sokoban, levl, flag::mon_moving, newsym(), OATTACHED_NOTHING, obj_extract_self(), OBJ_FLOOR, place_object(), rn1, ROCK, u, unblock_point(), you::uz, and weight().
Referenced by bhito(), break_statue(), dig(), launch_obj(), mkinvpos(), and scatter().
struct monst* get_container_location | ( | struct obj * | obj, |
int * | loc, | ||
int * | container_nesting | ||
) | [read] |
References OBJ_CONTAINED, OBJ_MINVENT, and obj::where.
Referenced by revive(), and revive_corpse().
References BURIED_TOO, CONTAINED_TOO, FALSE, OBJ_BURIED, OBJ_CONTAINED, OBJ_FLOOR, OBJ_INVENT, OBJ_MINVENT, TRUE, u, you::ux, and you::uy.
Referenced by begin_burn(), bhito(), burn_object(), catch_lit(), chest_trap(), clear_bypasses(), do_light_sources(), doname_base(), fig_transform(), get_cost_of_shop_item(), hatch_egg(), mon_arrive(), observe_quantum_cat(), poly_obj(), revive(), shk_owns(), snuff_candle(), and snuff_lit().
void hit | ( | const char * | str, |
struct monst * | mtmp, | ||
const char * | force | ||
) |
References bhitpos, cansee, canspotmon, flags, mon_nam(), pline(), The(), u, you::ustuck, flag::verbose, vtense(), nhcoord::x, and nhcoord::y.
Referenced by bhitm(), buzz(), hmon_hitmon(), mbhitm(), and ohitmon().
void makewish | ( | boolean | magical ) |
Lets the player make a wish. Entering an empty string selects a random object. Entering "nothing" returns nothing and keeps the wishing conduct.
magical | Lets the player make a wish. Entering an empty string selects a random object. Entering "nothing" returns nothing and keeps the wishing conduct. if wishing for magical items is allowed |
References aobjnam(), artifact_exists(), BUFSZ, FALSE, flags, getlin, hold_another_object(), ICE, IRONBARS, Is_airlevel, Is_waterlevel, levl, nothing, obj::oartifact, obfree(), objects, ONAME, otmp, obj::otyp, pline(), readobjnam(), rn1, rn2(), Strcpy, thats_enough_tries, The(), TRUE, u, you::ublesscnt, you::uconduct, you::ux, you::uy, you::uz, flag::verbose, u_conduct::wishes, u_conduct::wishmagic, and zeroobj.
Referenced by djinni_from_bottle(), dowaterdemon(), and zapnodir().
References An(), BOULDER, boulder_hits_pool(), cansee, DB_ICE, DRAWBRIDGE_UP, FALSE, ICED_POOL, is_pool(), levl, MOAT, newsym(), obj_extract_self(), obj_ice_effects(), otmp, pline(), POOL, sobj_at(), spoteffects(), TRUE, rm::typ, u, Underwater, unearth_objs(), you::ux, you::uy, vision_recalc(), and xname().
Referenced by dofiretrap(), mintrap(), and zap_over_floor().
void miss | ( | const char * | str, |
struct monst * | mtmp | ||
) |
References bhitpos, cansee, canspotmon, flags, mon_nam(), pline(), The(), flag::verbose, vtense(), nhcoord::x, and nhcoord::y.
Referenced by bhitm(), buzz(), drag_ball(), ghitm(), mbhitm(), ohitmon(), thitmonst(), and tmiss().
References AD_SEDU, AD_SSEX, monst::data, dmgtype(), get_mtraits(), is_rider, monst::m_ap_type, monst::m_id, makemon(), monst::meating, monst::mhp, monst::mhpmax, monst::minvent, monst::misc_worn_check, monst::mlstmv, MM_NOCOUNTBIRTH, MM_NOWAIT, monst::mnum, mons, monst::mtrapseen, monst::mux, monst::muy, monst::mw, monst::mx, monst::my, NO_MINVENT, OATTACHED_MONST, replmon(), SEDUCE, TRUE, monst::weapon_check, nhcoord::x, and nhcoord::y.
Referenced by animate_statue(), and revive().
References AMULET_OF_YENDOR, BELL_OF_OPENING, CANDELABRUM_OF_INVOCATION, CORPSE, is_rider, mons, rn2(), SPE_BOOK_OF_THE_DEAD, and TRUE.
Referenced by bhito(), breaktest(), burn_floor_paper(), bury_an_obj(), container_impact_dmg(), dip(), dogfood(), drain_item(), forcelock(), hmon_hitmon(), joust(), mdrop_special_objs(), meatmetal(), meatobj(), monstone(), polyuse(), use_bell(), and use_stone().
References rn2(), and WAND_CLASS.
Referenced by bhito().
References addinv_core1(), addinv_core2(), ARMOR_CLASS, attach_egg_hatch_timeout(), BOULDER, BURIED_TOO, can_be_hatched(), carried, change_luck(), contained_cost(), CONTAINED_TOO, CORPSE, obj::corpsenm, costly_spot(), dead_species(), delete_contents(), delobj(), EGG, FALSE, freeinv_core(), GEM_CLASS, get_obj_location(), Has_contents, hot_pursuit(), in_rooms(), In_sokoban, index, inhishop(), obj::invlet, Is_box, is_corrodeable, is_damageable, is_flammable(), is_poisonable, is_rottable(), is_rustprone, kill_egg(), LEFT_RING, LOW_BOOTS, MAGIC_MARKER, make_angry_shk(), MINERAL, mkobj(), mksobj(), Monnam(), monst::mx, monst::my, NON_PM, OBJ_FLOOR, OBJ_INVENT, objects, obj::oclass, otmp, obj::otyp, obj::owornmask, obj::owt, obj::ox, obj::oy, pline(), PM_CROCODILE, POT_GAIN_ABILITY, POT_POLYMORPH, POT_WATER, POTION_CLASS, obj::quan, random_monster, remove_worn_item(), replace_object(), RIGHT_RING, rn2(), rnd(), rnd_class(), ROCK, SCR_MAIL, setworn(), shop_keeper(), SHOPBASE, SPBOOK_CLASS, obj::spe, SPE_BLANK_PAPER, SPE_DIG, SPE_POLYMORPH, STRANGE_OBJECT, TOOL_CLASS, TRUE, u, uleft, unblock_point(), uquiver, uright, USES_CORPSENM, you::ushops, uswapwep, uwep, you::ux, you::uy, you::uz, W_QUIVER, W_SWAPWEP, W_WEP, WAN_LIGHT, WAN_LIGHTNING, WAN_POLYMORPH, WAN_WISHING, WAND_CLASS, and weight().
Referenced by bhito(), and dip().
STATIC_OVL void polyuse | ( | struct obj * | objhdr, |
int | mat, | ||
int | minwt | ||
) |
References addtobill(), costly_spot(), delobj(), FALSE, LARGEST_INT, obj_resists(), objects, otmp, rn2(), SCR_MAIL, stolen_value(), u, uball, uchain, and you::ushops.
Referenced by create_polymon().
void probe_monster | ( | struct monst * | mtmp ) |
References display_minventory(), MINV_ALL, mstatusline(), obj::nobj, noit_Monnam(), notonhead, otmp, and pline().
Referenced by bhitm(), and Mb_hit().
int resist | ( | struct monst * | mtmp, |
char | oclass, | ||
int | damage, | ||
int | tell | ||
) |
References AD_RBRE, if(), is_mplayer, killed(), m_using, monkilled(), Monnam(), pline(), POTION_CLASS, RING_CLASS, rn2(), SCROLL_CLASS, shieldeff(), TOOL_CLASS, u, you::ulevel, WAND_CLASS, and WEAPON_CLASS.
Referenced by awaken_monsters(), bagotricks(), bhitm(), cancel_monst(), charm_monsters(), dochug(), dog_move(), doturn(), explode(), fightm(), hmon_hitmon(), m_move(), maybe_tame(), Mb_hit(), mbhitm(), mintrap(), potionhit(), pri_move(), seffects(), shk_move(), sleep_monst(), and zhitm().
References BAG_OF_HOLDING, canseemon, cant_create(), christen_monst(), CONTAINED_TOO, CORPSE, monst::data, delobj(), eaten_stat(), enexto(), FALSE, find_mid(), FM_FMON, get_container_location(), get_obj_location(), in_container(), q_score::leader_m_id, monst::m_id, m_useup(), makemon(), monst::mhp, monst::mhpmax, MM_NOCOUNTBIRTH, MM_NOWAIT, mon_adjust_speed(), MON_AT, mondead(), Monnam(), mons, montraits(), MS_LEADER, permonst::msound, monst::mtame, monst::mx, monst::my, newsym(), NO_MINVENT, OATTACHED_M_ID, OATTACHED_MONST, OATTACHED_NOTHING, obfree(), OBJ_CONTAINED, obj_extract_self(), OBJ_FLOOR, OBJ_INVENT, OBJ_MINVENT, ONAME, obj::otyp, pline(), PM_GHOST, quest_status, rn2(), splitobj(), STATUE, tamedog(), TRUE, u, useup(), you::ux, you::uy, wary_dog(), nhcoord::x, and nhcoord::y.
Referenced by bhito(), mkundead(), revive_corpse(), and unturn_dead().
STATIC_OVL void revive_egg | ( | struct obj * | obj ) |
References attach_egg_hatch_timeout(), dead_species(), EGG, NON_PM, and TRUE.
Referenced by bhito(), and unturn_dead().
int spell_damage_bonus | ( | ) |
References A_INT, ACURR, u, and you::ulevel.
Referenced by bhitm(), spelleffects(), and zhitm().
STATIC_OVL int spell_hit_bonus | ( | int | skill ) |
References A_DEX, ACURR, P_BASIC, P_EXPERT, P_ISRESTRICTED, P_SKILL, P_SKILLED, P_UNSKILLED, and spell_skilltype().
Referenced by zap_hit().
int unturn_dead | ( | struct monst * | mon ) |
References Amonnam(), BUFSZ, canseemon, CORPSE, corpse_xname(), EGG, invent, Monnam(), obj::nobj, otmp, obj::otyp, pline(), revive(), revive_egg(), s_suffix(), Strcpy, TRUE, and youmonst.
Referenced by bhitm(), deadbook(), and zapyourself().
void weffects | ( | struct obj * | obj ) |
References A_WIS, bhit(), bhitm(), bhito(), buzz(), disclose(), you::dx, you::dy, you::dz, exercise(), FALSE, IMMEDIATE, makeknown, more_experienced(), NODIR, obj_zapped, objects, rn1, SPE_DIG, SPE_FINGER_OF_DEATH, SPE_MAGIC_MISSILE, TRUE, u, you::ulevel, you::ustuck, you::ux, you::uy, WAN_DIGGING, WAN_LIGHTNING, WAN_MAGIC_MISSILE, zap_dig(), zap_updown(), zapnodir(), and ZAPPED_WAND.
Referenced by dozap(), and spelleffects().
STATIC_OVL int zap_hit | ( | int | ac, |
int | type | ||
) |
References AC_VALUE, rn2(), rnd(), and spell_hit_bonus().
Referenced by buzz().
References add_damage(), Blind, burn_floor_paper(), bury_objs(), cansee, closed_door(), couldsee, D_BROKEN, D_NODOOR, monst::data, DB_FLOOR, DB_ICE, DB_UNDER, delfloortrap(), docrt(), DRAWBRIDGE_UP, dryup(), FALSE, flags, ghod_hitsu(), hot_pursuit(), ICE, ICED_MOAT, ICED_POOL, in_rooms(), IS_FOUNTAIN, is_ice(), is_lava(), Is_medusa_level, is_pool(), is_swimmer, Is_waterlevel, levl, monst::m_ap_type, m_at, maketrap(), melt_ice(), mon, monst::mx, monst::my, newsym(), OBJ_AT, obj_ice_effects(), Passes_walls, picking_at(), PIT, pline(), POOL, reset_pick(), rn1, ROOM, seemimic(), setmangry(), SHOPBASE, flag::soundok, stop_occupation(), t_at(), TEMPLE, TRUE, TT_INFLOOR, TT_LAVA, rm::typ, u, unblock_point(), you::ushops, you::utrap, you::utraptype, you::ux, you::uy, you::uz, vision_full_recalc, WATER, WEB, ZT_BREATH, ZT_COLD, ZT_DEATH, ZT_FIRE, ZT_LIGHTNING, and ZT_SPELL.
Referenced by buzz(), and explode().
References bhito(), bhitpile(), Blind, body_part(), BUFSZ, ceiling(), close_drawbridge(), d(), del_engr(), deltrap(), destroy_drawbridge(), disclose(), display_binventory(), DRAWBRIDGE_DOWN, you::dz, engr_at(), engr::engr_type, ENGRAVE, FACE, FALSE, find_drawbridge(), FOOT, Hallucination, HEAD, HEADSTONE, Is_airlevel, is_db_wall(), is_drawbridge_wall(), is_ice(), is_lava(), is_metallic, is_pool(), Is_qstart, Is_waterlevel, KILLED_BY_AN, Levitation, levl, losehp(), make_engr_at(), makeplural(), mksobj_at(), moves, newsym(), nothing_happens, OBJ_AT, ok_to_quest(), on_level(), open_drawbridge(), otmp, pline(), qstart_level, random_engraving(), rloc_engr(), rn2(), rnd(), ROCK, SPE_CANCELLATION, SPE_FORCE_BOLT, SPE_KNOCK, SPE_POLYMORPH, SPE_STONE_TO_FLESH, SPE_TELEPORT_AWAY, SPE_WIZARD_LOCK, stackobj(), surface(), t_at(), TRAPDOOR, TRUE, u, uarmh, Underwater, you::ux, you::uy, you::uz, WAN_CANCELLATION, WAN_LOCKING, WAN_MAKE_INVISIBLE, WAN_OPENING, WAN_POLYMORPH, WAN_PROBING, WAN_STRIKING, WAN_TELEPORTATION, wipe_engr_at(), xdnstair, xname(), and ydnstair.
Referenced by weffects().
void zapnodir | ( | struct obj * | obj ) |
References A_WIS, Blind, create_critters(), display_nhwindow, enlightenment(), exercise(), FALSE, findit(), known, litroom(), Luck, makeknown, makewish(), more_experienced(), objects, pline(), rn1, rn2(), SPE_DETECT_UNSEEN, SPE_LIGHT, TRUE, WAN_CREATE_MONSTER, WAN_ENLIGHTENMENT, WAN_LIGHT, WAN_SECRET_DOOR_DETECTION, WAN_WISHING, and WIN_MESSAGE.
Referenced by engrave(), and weffects().
int zappable | ( | struct obj * | wand ) |
References A_CON, A_DEX, A_STR, AD_COLD, AD_ELEC, AD_FIRE, Antimagic, bhito(), BInvis, Blind, BUFSZ, burn_away_slime(), burnarmor(), cancel_monst(), Cold_resistance, d(), monst::data, destroy_item(), DIED, done(), Drain_resistance, exercise(), EXPENSIVE_CAMERA, EXPL_FIERY, explode(), fall_asleep(), FALSE, Fast, FIRE_HORN, Fire_resistance, fix_petrification(), FROMOUTSIDE, FROST_HORN, healup(), HFast, HInvis, HStun, incr_itimeout(), INTRINSIC, invent, Invis, is_demon, is_undead, killer, killer_format, losexp(), make_blinded(), make_stunned(), makeknown, merged(), MUMMY_WRAPPING, newsym(), NO_KILLER_PREFIX, obj::nobj, nonliving, obj::otyp, pline(), PM_FLESH_GOLEM, PM_STONE_GOLEM, polymon(), polyself(), POTION_CLASS, Punished, resists_blnd(), RING_CLASS, rn2(), rnd(), SCROLL_CLASS, self_invis_message(), shieldeff(), Shock_resistance, Sleep_resistance, SPBOOK_CLASS, SPE_CANCELLATION, SPE_CONE_OF_COLD, SPE_DETECT_UNSEEN, SPE_DIG, SPE_DRAIN_LIFE, SPE_EXTRA_HEALING, SPE_FINGER_OF_DEATH, SPE_FIREBALL, SPE_FORCE_BOLT, SPE_HEALING, SPE_KNOCK, SPE_MAGIC_MISSILE, SPE_POLYMORPH, SPE_SLEEP, SPE_SLOW_MONSTER, SPE_STONE_TO_FLESH, SPE_TELEPORT_AWAY, SPE_TURN_UNDEAD, SPE_WIZARD_LOCK, Sprintf, Stoned, Stunned, tele(), TIMEOUT, TRUE, u, u_slow_down(), uarmc, ugolemeffects(), uhim, you::umonnum, Unchanging, unturn_dead(), ustatusline(), you::ux, you::uy, vision_clears, WAN_CANCELLATION, WAN_COLD, WAN_DEATH, WAN_DIGGING, WAN_FIRE, WAN_LIGHT, WAN_LIGHTNING, WAN_LOCKING, WAN_MAGIC_MISSILE, WAN_MAKE_INVISIBLE, WAN_NOTHING, WAN_OPENING, WAN_POLYMORPH, WAN_PROBING, WAN_SLEEP, WAN_SLOW_MONSTER, WAN_SPEED_MONSTER, WAN_STRIKING, WAN_TELEPORTATION, WAN_UNDEAD_TURNING, WAND_CLASS, xname(), and youmonst.
Referenced by do_break_wand(), do_improvisation(), dozap(), and spelleffects().
References AD_COLD, AD_ELEC, AD_FIRE, burnarmor(), d(), destroy_mitem(), erode_armor(), erode_obj(), FALSE, is_demon, is_hero_spell, m_useup(), MAGIC_COOKIE, MON_WEP, mons, nonliving, NOTELL, pline(), PM_DEATH, PM_KNIGHT, POTION_CLASS, resist(), resists_acid, resists_blnd(), resists_cold, resists_disint, resists_elec, resists_fire, resists_magm(), resists_poison, RING_CLASS, rn2(), rnd(), Role_if, SCROLL_CLASS, shieldeff(), sleep_monst(), SPBOOK_CLASS, spell_damage_bonus(), TRUE, u, you::uhave, you::ustuck, W_ARM, W_ARMC, W_ARMS, WAND_CLASS, which_armor(), ZT_ACID, ZT_BREATH, ZT_COLD, ZT_DEATH, ZT_FIRE, ZT_LIGHTNING, ZT_MAGIC_MISSILE, ZT_POISON_GAS, ZT_SLEEP, ZT_SPELL, and ZT_WAND.
Referenced by buzz().
References A_CON, A_DEX, A_STR, Acid_resistance, AD_COLD, AD_ELEC, AD_FIRE, Antimagic, burn_away_slime(), burnarmor(), Cold_resistance, d(), monst::data, destroy_arm(), destroy_item(), DIED, Disint_resistance, DISINTEGRATED, done(), erode_armor(), erode_obj(), exercise(), fall_asleep(), FALSE, Fire_resistance, Half_spell_damage, is_demon, KILLED_BY_AN, killer, killer_format, losehp(), NON_PM, nonliving, poisoned(), POTION_CLASS, RING_CLASS, rn2(), SCROLL_CLASS, shieldeff(), Shock_resistance, Sleep_resistance, SPBOOK_CLASS, TRUE, you::twoweap, u, uarm, uarmc, uarms, ugolemeffects(), you::ugrave_arise, uswapwep, uwep, you::ux, you::uy, WAND_CLASS, youmonst, ZT_ACID, ZT_BREATH, ZT_COLD, ZT_DEATH, ZT_FIRE, ZT_LIGHTNING, ZT_MAGIC_MISSILE, ZT_POISON_GAS, and ZT_SLEEP.
Referenced by buzz().
STATIC_VAR const char are_blinded_by_the_flash[] = "are blinded by the flash!" |
const char charged_objs[] = { WAND_CLASS, WEAPON_CLASS, ARMOR_CLASS, 0 } [static] |
const char* const destroy_strings[] |
{ "freezes and shatters", "freeze and shatter", "shattered potion", "boils and explodes", "boil and explode", "boiling potion", "catches fire and burns", "catch fire and burn", "burning scroll", "catches fire and burns", "catch fire and burn", "burning book", "turns to dust and vanishes", "turn to dust and vanish", "", "breaks apart and explodes", "break apart and explode", "exploding wand" }
Referenced by fire_damage().
const char* const flash_types[] |
Referenced by resist(), use_defensive(), and use_offensive().
NEARDATA boolean obj_zapped [static] |
Referenced by do_osshock(), and weffects().
NEARDATA int poly_zapped [static] |
Referenced by bhitpile(), and do_osshock().
NEARDATA const char zap_syms[] = { WAND_CLASS, 0 } [static] |