HomeSort by: relevance | last modified time | path
    Searched refs:weapon (Results 1 - 8 of 8) sorted by relevancy

  /src/games/rogue/
throw.c 67 object *weapon; local
82 if ((wch = pack_letter("throw what?", WEAPON)) == CANCEL) {
87 if (!(weapon = get_letter_object(wch))) {
91 if ((weapon->in_use_flags & BEING_USED) && weapon->is_cursed) {
97 if ((weapon->in_use_flags & BEING_WIELDED) && (weapon->quantity <= 1)) {
98 unwield(rogue.weapon);
99 } else if (weapon->in_use_flags & BEING_WORN) {
103 } else if (weapon->in_use_flags & ON_EITHER_HAND)
    [all...]
hit.c 133 hit_chance = force_hit ? 100 : get_hit_chance(rogue.weapon);
145 damage = get_weapon_damage(rogue.weapon);
217 if ((!obj) || (obj->what_is != WEAPON)) {
436 get_hit_chance(const object *weapon)
441 hit_chance += 3 * to_hit(weapon);
447 get_weapon_damage(const object *weapon)
451 damage = get_w_damage(weapon);
use.c 217 if (rogue.weapon) {
218 if (rogue.weapon->what_is == WEAPON) {
220 name_of(rogue.weapon),
221 ((rogue.weapon->quantity <= 1) ? "s" : ""),
224 rogue.weapon->hit_enchant++;
226 rogue.weapon->d_enchant++;
229 rogue.weapon->is_cursed = 0;
386 if (obj->what_is & (SCROL | POTION | WEAPON | ARMOR | WAND | RING)) {
pack.c 178 unwield(rogue.weapon);
197 if ((obj->quantity > 1) && (obj->what_is != WEAPON)) {
218 if (!(obj->what_is & (WEAPON | FOOD | SCROL | POTION))) {
230 if ((obj->what_is != WEAPON) ||
231 ((obj->what_is == WEAPON) &&
393 if (rogue.weapon && rogue.weapon->is_cursed) {
397 ch = pack_letter("wield what?", WEAPON);
414 unwield(rogue.weapon);
425 rogue.weapon = obj
    [all...]
inventory.c 169 {'w', "w wield a weapon"},
184 {')', ") print current weapon"},
556 if (obj->what_is & (WEAPON | ARMOR | WAND | RING)) {
645 case WEAPON:
739 case WEAPON:
751 if (rogue.weapon) {
752 single_inv(rogue.weapon->ichar);
820 id = "weapon";
rogue.h 63 #define WEAPON ((unsigned short) 02)
258 object *weapon; member in struct:fightr
score.c 142 unwield(rogue.weapon); /* disarm and relax */
567 case WEAPON:
  /src/games/warp/
Makefile 9 them.c us.c util.c version.c warp.c weapon.c

Completed in 38 milliseconds