Home
last modified time | relevance | path

Searched refs:armask (Results 1 – 5 of 5) sorted by relevance

/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/
H A Dweapon.c356 special_dmgval(magr, mdef, armask, silverhit_p) in special_dmgval() argument
370 if (armask & (W_ARMC | W_ARM | W_ARMU)) {
371 if ((armask & W_ARMC) != 0L
373 armask = W_ARMC;
374 else if ((armask & W_ARM) != 0L
376 armask = W_ARM;
377 else if ((armask & W_ARMU) != 0L
379 armask = W_ARMU;
381 armask = 0L;
385 obj = which_armor(magr, armask);
[all …]
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/
H A Dweapon.c356 special_dmgval(magr, mdef, armask, silverhit_p) in special_dmgval() argument
370 if (armask & (W_ARMC | W_ARM | W_ARMU)) {
371 if ((armask & W_ARMC) != 0L
373 armask = W_ARMC;
374 else if ((armask & W_ARM) != 0L
376 armask = W_ARM;
377 else if ((armask & W_ARMU) != 0L
379 armask = W_ARMU;
381 armask = 0L;
385 obj = which_armor(magr, armask);
[all …]
/dports/games/xnethack/xNetHack-xnh6.1/src/
H A Dweapon.c392 long armask, /* armor mask of all the slots that can be touching in special_dmgval() argument
433 if (((armask & W_ARMG) && !gloves) in special_dmgval()
434 || ((armask & W_ARMF) && !boots) in special_dmgval()
435 || ((armask & W_ARMH) && !helm) in special_dmgval()
436 || ((armask & (W_ARMC | W_ARM | W_ARMU)) in special_dmgval()
466 if (array[i].obj && (armask & array[i].mask)) { in special_dmgval()
H A Dmhitm.c893 long armask = attack_contact_slots(magr, mattk->aatyp); in mdamagem() local
895 mhm.damage += special_dmgval(magr, mdef, armask, &hated_obj); in mdamagem()
H A Dmhitu.c1019 long armask = attack_contact_slots(mtmp, mattk->aatyp); in hitmu() local
1021 mhm.damage += special_dmgval(mtmp, &g.youmonst, armask, &hated_obj); in hitmu()