Searched refs:ARM_BONUS (Results 1 - 3 of 3) sorted by relevance

/openbsd-current/games/hack/
H A Ddef.objclass.h80 #define a_ac oc_oc1 /* for armors - only used in ARM_BONUS */
81 #define ARM_BONUS(obj) ((10 - objects[obj->otyp].a_ac) + obj->spe) macro
H A Dhack.do_wear.c355 if(uarm) uac -= ARM_BONUS(uarm);
356 if(uarm2) uac -= ARM_BONUS(uarm2);
357 if(uarmh) uac -= ARM_BONUS(uarmh);
358 if(uarms) uac -= ARM_BONUS(uarms);
359 if(uarmg) uac -= ARM_BONUS(uarmg);
H A Dhack.shk.c873 ac = ARM_BONUS(obj);

Completed in 81 milliseconds