Searched refs:uwep (Results 1 – 16 of 16) sorted by relevance
| /netbsd-src/games/hack/ |
| H A D | hack.wield.c | 87 else if (uwep == wep) in dowield() 89 else if (uwep && uwep->cursed) in dowield() 91 aobjnam(uwep, "are")); in dowield() 93 if (uwep == 0) { in dowield() 107 if (uwep->cursed) in dowield() 109 aobjnam(uwep, "weld"), in dowield() 110 (uwep->quan == 1) ? "itself" : "themselves"); /* a3 */ in dowield() 112 prinv(uwep); in dowield() 120 if (!uwep || uwep->olet != WEAPON_SYM) in corrode_weapon() 122 if (uwep->rustfree) in corrode_weapon() [all …]
|
| H A D | hack.do_wear.c | 100 if (otmp == uarmg && uwep && uwep->cursed) { /* myers@uwmacc */ in doremarm() 211 if (uwep && uwep->otyp == TWO_HANDED_SWORD) in doweararm() 219 } else if (uwep && uwep->cursed) { in doweararm() 234 if (otmp == uwep && uwep->cursed) { in doweararm() 236 pline("%s is welded to your hand.", Doname(uwep)); in doweararm() 241 if (otmp == uwep) in doweararm() 274 if (otmp == uwep && uwep->cursed) { in dowearring() 275 pline("%s is welded to your hand.", Doname(uwep)); in dowearring() 301 if (otmp == uwep) in dowearring() 412 if ((otmp = uwep) != Null(obj)) { in glibr()
|
| H A D | hack.fight.c | 231 if (obj == uwep && (obj->otyp > SPEAR || obj->otyp < BOOMERANG)) in hmon() 244 if (!thrown && obj == uwep && obj->otyp == BOOMERANG in hmon() 390 if (uwep) { in attack() 391 if (uwep->olet == WEAPON_SYM || uwep->otyp == PICK_AXE) in attack() 392 tmp += uwep->spe; in attack() 393 if (uwep->otyp == TWO_HANDED_SWORD) in attack() 395 else if (uwep->otyp == DAGGER) in attack() 397 else if (uwep->otyp == CRYSKNIFE) in attack() 399 else if (uwep->otyp == SPEAR && in attack() 428 if ((malive = hmon(mtmp, uwep, 0)) == TRUE) { in attack() [all …]
|
| H A D | hack.apply.c | 123 if (obj != uwep) in doapply() 204 if (obj == uwep) { in in_ice_box() 205 if (uwep->cursed) { in in_ice_box() 339 if (u.uswallow || !uwep || uwep->otyp != PICK_AXE || in dig() 345 dig_effort += 10 + abon() + uwep->spe + rn2(5); in dig() 445 if (obj != uwep) { in use_pick_axe() 446 if (uwep && uwep->cursed) { in use_pick_axe()
|
| H A D | hack.do.c | 111 if (obj == uwep) { in drop() 112 if (uwep->cursed) { in drop() 270 if (uwep != uball && rn2(3)) { in goto_level() 291 if (uwep != uball && !up /* %% */ && rn2(5)) { in goto_level() 347 if (obj == uwep) { in dothrow() 415 if (!uwep || in dothrow() 416 uwep->otyp != obj->otyp + (BOW - ARROW)) in dothrow() 419 tmp += uwep->spe; in dothrow()
|
| H A D | hack.engrave.c | 232 if (otmp != uwep) { in doengrave() 233 if (uwep && uwep->cursed) { in doengrave() 236 pline("you use the %s.", aobjnam(uwep, NULL)); in doengrave() 237 otmp = uwep; in doengrave()
|
| H A D | hack.read.c | 227 if (uwep && confused) { in doread() 229 objects[uwep->otyp].oc_name); in doread() 230 uwep->rustfree = 1; in doread() 235 if (uwep && confused) { in doread() 237 objects[uwep->otyp].oc_name); in doread() 238 uwep->rustfree = 0; in doread()
|
| H A D | hack.eat.c | 198 if (uwep) { in doeat() 199 switch (uwep->otyp) { in doeat() 215 aobjnam(uwep, NULL)); in doeat() 225 if (otmp == uwep) in doeat()
|
| H A D | hack.trap.c | 305 if (uwep && uwep->otyp == DEAD_COCKATRICE) { in selftouch() 308 killer = objects[uwep->otyp].oc_name; in selftouch()
|
| H A D | hack.steal.c | 211 } else if (otmp == uwep) in steal() 245 if (otmp == uwep) in stealamulet()
|
| H A D | hack.Decl.c | 86 struct obj *fobj = 0, *fcobj = 0, *invent = 0, *uwep = 0, *uarm = 0, *uarm2 = 0, variable
|
| H A D | hack.u_init.c | 261 uarm = uarm2 = uarmh = uarms = uarmg = uwep = uball = uchain = in u_init() 378 if (!uwep) in ini_inv()
|
| H A D | hack.worn.c | 98 W_WEP, &uwep
|
| H A D | hack.invent.c | 539 if (otmp == uwep) in getobj() 968 if (!uwep) in doprwep() 971 prinv(uwep); in doprwep()
|
| H A D | hack.h | 225 extern struct obj *invent, *uwep, *uarm, *uarm2, *uarmh, *uarms, *uarmg;
|
| H A D | hack.mhitu.c | 273 if (!uwep && !uarm && !uarmh && !uarms && !uarmg) { in mhitu()
|