| /src/games/hack/ |
| def.objects.h | 162 #define WEAPON(name,prob,wt,ldam,sdam) { name, NULL, NULL, 1, 0 /*%%*/,\ 165 WEAPON("arrow", 7, 0, 6, 6), 166 WEAPON("sling bullet", 7, 0, 4, 6), 167 WEAPON("crossbow bolt", 7, 0, 4, 6), 168 WEAPON("dart", 7, 0, 3, 2), 169 WEAPON("rock", 6, 1, 3, 3), 170 WEAPON("boomerang", 2, 3, 9, 9), 171 WEAPON("mace", 9, 3, 6, 7), 172 WEAPON("axe", 6, 3, 6, 4), 173 WEAPON("flail", 6, 3, 6, 5) [all...] |
| /src/games/rogue/ |
| 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...] |
| init.c | 169 obj->what_is = WEAPON; 178 obj->what_is = WEAPON; 187 obj->what_is = WEAPON;
|
| object.c | 67 INIT_AW, /* weapon */ 103 {235, "", "of enchant weapon ", 0}, 320 case WEAPON: 374 case WEAPON: 408 what_is = WEAPON; 533 obj->what_is = WEAPON;
|
| 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";
|
| spec_hit.c | 214 if (obj->what_is != WEAPON) { 221 obj->quantity = ((obj->what_is != WEAPON) ? t : 1);
|
| 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)) {
|
| throw.c | 67 object *weapon; local in function:throw 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);
|
| score.c | 142 unwield(rogue.weapon); /* disarm and relax */ 567 case WEAPON:
|
| rogue.h | 63 #define WEAPON ((unsigned short) 02) 258 object *weapon; member in struct:fightr
|
| save.c | 218 if (obj->what_is == WEAPON)
|
| room.c | 241 case WEAPON:
|