Home
last modified time | relevance | path

Searched refs:uwep (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/games/hack/
H A Dhack.wield.c87 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 Dhack.do_wear.c100 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 Dhack.fight.c231 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 Dhack.apply.c123 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 Dhack.do.c111 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 Dhack.engrave.c232 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 Dhack.read.c227 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 Dhack.eat.c198 if (uwep) { in doeat()
199 switch (uwep->otyp) { in doeat()
215 aobjnam(uwep, NULL)); in doeat()
225 if (otmp == uwep) in doeat()
H A Dhack.trap.c305 if (uwep && uwep->otyp == DEAD_COCKATRICE) { in selftouch()
308 killer = objects[uwep->otyp].oc_name; in selftouch()
H A Dhack.steal.c211 } else if (otmp == uwep) in steal()
245 if (otmp == uwep) in stealamulet()
H A Dhack.Decl.c86 struct obj *fobj = 0, *fcobj = 0, *invent = 0, *uwep = 0, *uarm = 0, *uarm2 = 0, variable
H A Dhack.u_init.c261 uarm = uarm2 = uarmh = uarms = uarmg = uwep = uball = uchain = in u_init()
378 if (!uwep) in ini_inv()
H A Dhack.worn.c98 W_WEP, &uwep
H A Dhack.invent.c539 if (otmp == uwep) in getobj()
968 if (!uwep) in doprwep()
971 prinv(uwep); in doprwep()
H A Dhack.h225 extern struct obj *invent, *uwep, *uarm, *uarm2, *uarmh, *uarms, *uarmg;
H A Dhack.mhitu.c273 if (!uwep && !uarm && !uarmh && !uarms && !uarmg) { in mhitu()