Home
last modified time | relevance | path

Searched refs:uarm (Results 1 – 8 of 8) sorted by relevance

/openbsd/games/hack/
H A Dhack.worn.c70 { W_ARM, &uarm },
98 setworn(uarm, W_ARM2); in setworn()
103 if(uarm2 && !uarm) { in setworn()
104 uarm = uarm2; in setworn()
106 uarm->owornmask ^= (W_ARM | W_ARM2); in setworn()
121 if(uarm2 && !uarm) { in setnotworn()
122 uarm = uarm2; in setnotworn()
124 uarm->owornmask ^= (W_ARM | W_ARM2); in setnotworn()
H A Dhack.do_wear.c83 if(!uarm && !uarmh && !uarms && !uarmg) { in doremarm()
87 otmp = (!uarmh && !uarms && !uarmg) ? uarm : in doremarm()
88 (!uarms && !uarm && !uarmg) ? uarmh : in doremarm()
89 (!uarmh && !uarm && !uarmg) ? uarms : in doremarm()
90 (!uarmh && !uarm && !uarms) ? uarmg : in doremarm()
217 if(uarm) { in doweararm()
355 if(uarm) uac -= ARM_BONUS(uarm); in find_ac()
400 struct obj *otmph = uarm; in some_armor()
H A Dhack.mhitu.c130 (!uarm || objects[uarm->otyp].a_can < rnd(3) || !rn2(50)); in mhitu()
262 if(!uwep && !uarm && !uarmh && !uarms && !uarmg) { in mhitu()
303 if(ctmp && uarm && !uarm->rustfree && /* Mike Newton */ in mhitu()
304 uarm->otyp < STUDDED_LEATHER_ARMOR && in mhitu()
305 (int) uarm->spe >= -1) { in mhitu()
307 uarm->spe--; in mhitu()
H A Dhack.Decl.c80 struct obj *fobj = 0, *fcobj = 0, *invent = 0, *uwep = 0, *uarm = 0, variable
H A Dhack.u_init.c255 uarm = uarm2 = uarmh = uarms = uarmg = uwep = uball = uchain = in u_init()
363 if(!uarm) setworn(obj, W_ARM); in ini_inv()
H A Dhack.invent.c919 if(!uarm && !uarmg && !uarms && !uarmh) in doprarm()
925 if(uarm) lets[ct++] = obj_to_let(uarm); in doprarm()
H A Dhack.read.c132 if(uarm) { in doread()
134 useup(uarm); in doread()
H A Dhack.h104 extern struct obj *invent, *uwep, *uarm, *uarm2, *uarmh, *uarms, *uarmg,