Home
last modified time | relevance | path

Searched refs:mslot_item (Results 1 – 17 of 17) sorted by relevance

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dmonster.cc442 item_def *weap = mslot_item(MSLOT_WEAPON); in launcher()
446 weap = mslot_item(MSLOT_ALT_WEAPON); in launcher()
1476 weap = mslot_item(slot); in pickup_melee_weapon()
1600 || mslot_item(MSLOT_WEAPON) in wants_armour()
1763 if (!mslot_item(mslot) && value_new > 0) in pickup_armour()
1853 if (!mslot_item(mslot) && value_new > 0) in pickup_jewellery()
2136 item_def *weap = mslot_item(MSLOT_WEAPON); in swap_weapons()
2188 return mslot_item(MSLOT_SHIELD); in shield()
4116 || mslot_item(MSLOT_ARMOUR) in airborne()
4119 || mslot_item(MSLOT_JEWELLERY) in airborne()
[all …]
H A Dareas.cc625 item_def* weap = mslot_item(MSLOT_WEAPON); in halo_radius()
757 item_def* ring = mslot_item(MSLOT_JEWELLERY); in umbra_radius()
H A Dmon-act.cc809 item_def* potion = mons.mslot_item(MSLOT_POTION); in _handle_potion()
965 item_def* scroll = mons.mslot_item(MSLOT_SCROLL); in _handle_scroll()
1073 item_def *wand = mons.mslot_item(MSLOT_WAND); in _handle_wand()
1229 weapon = mons->mslot_item(MSLOT_WEAPON); in handle_throw()
2257 const item_def * weapon = mons->mslot_item(MSLOT_WEAPON); in _post_monster_move()
3486 ASSERT(mons->mslot_item(MSLOT_WAND)); in _monster_move()
3487 item_def &wand = *mons->mslot_item(MSLOT_WAND); in _monster_move()
H A Dmon-util.cc465 item = mslot_item((mon_inv_type) i); in wearing()
485 item = mslot_item(MSLOT_SHIELD); in wearing()
493 item = mslot_item(MSLOT_ARMOUR); in wearing()
501 item = mslot_item(MSLOT_JEWELLERY); in wearing()
534 item = mslot_item((mon_inv_type) i); in wearing_ego()
551 item = mslot_item(MSLOT_SHIELD); in wearing_ego()
563 item = mslot_item(MSLOT_ARMOUR); in wearing_ego()
3861 const item_def *primary = mon->mslot_item(MSLOT_WEAPON); in _mons_has_usable_ranged_weapon()
3877 const item_def *wand = mon.mslot_item(MSLOT_WAND); in _mons_has_attack_wand()
H A Dmon-place.cc1283 item_def* wpn = mon->mslot_item(MSLOT_WEAPON); in _place_monster_aux()
1287 item_def* alt_wpn = mon->mslot_item(MSLOT_ALT_WEAPON); in _place_monster_aux()
1467 ASSERT(mon->mslot_item(MSLOT_WEAPON)); in _place_monster_aux()
1473 ghost.init_dancing_weapon(*(mon->mslot_item(MSLOT_WEAPON)), in _place_monster_aux()
1478 ghost.init_spectral_weapon(*(mon->mslot_item(MSLOT_WEAPON))); in _place_monster_aux()
H A Dmonster.h293 item_def *mslot_item(mon_inv_type sl) const;
H A Dmon-gear.cc1540 const item_def *main_weap = mon->mslot_item(MSLOT_WEAPON); in _give_shield()
1541 const item_def *alt_weap = mon->mslot_item(MSLOT_ALT_WEAPON); in _give_shield()
H A Dthrow.cc933 is_launched(mons, mons->mslot_item(MSLOT_WEAPON), in mons_throw()
H A Dfight.cc995 if (item_def *item = mons->mslot_item(static_cast<mon_inv_type>(i))) in mons_usable_missile()
H A Dxom.cc1397 mon->unequip(*(mon->mslot_item(MSLOT_WEAPON)), false, true); in _xom_animate_monster_weapon()
2144 item_def* const item = mon->mslot_item(slots[i]); in _xom_chaos_upgrade()
H A Ditems.cc2677 if (mon->mslot_item(slot) == &item) in get_mon_equip_slot()
2680 if (slot == MSLOT_WEAPON && mon->mslot_item(MSLOT_ALT_WEAPON) == &item) in get_mon_equip_slot()
H A Dgod-abil.cc1544 const item_def* mons_alt_weapon = mons->mslot_item(MSLOT_ALT_WEAPON); in beogh_gift_item()
1731 item_def *wpn = mon->mslot_item(static_cast<mon_inv_type>(slot)); in yred_make_enslaved_soul()
H A Dmelee-attack.cc849 attacker->as_monster()->mslot_item(static_cast<mon_inv_type>(i)); in check_autoberserk()
H A Dbeam.cc4725 item_def *shield = mon->mslot_item(MSLOT_SHIELD); in attempt_block()
4745 item_def *amulet = mon->mslot_item(MSLOT_JEWELLERY); in attempt_block()
H A Dspl-summoning.cc769 montarget->unequip(*(montarget->mslot_item(wp_slot)), false, true); in _animate_weapon()
H A Ddungeon.cc5211 item_def *wpn = mons->mslot_item(MSLOT_WEAPON); in dgn_place_monster()
H A Dmon-cast.cc6258 const item_def *weapon = mons->mslot_item(MSLOT_WEAPON); in mons_cast()