track the handedness of the hero
Don't make either LEFT_HANDED or RIGHT_HANDED be an advantage or a disadvantage. use suggested macros
This commit is contained in:
12
src/uhitm.c
12
src/uhitm.c
@@ -5384,12 +5384,12 @@ hmonas(struct monst *mon)
|
||||
verb = (mattk->aatyp == AT_TUCH) ? "touch" : "claws";
|
||||
/* decide if silver-hater will be hit by silver ring(s);
|
||||
for 'multi_claw' where attacks alternate right/left,
|
||||
assume 'even' claw or touch attacks use right hand
|
||||
or paw, 'odd' ones use left for ring interaction;
|
||||
even vs odd is based on actual attacks rather
|
||||
than on index into mon->dat->mattk[] so that {bite,
|
||||
claw,claw} instead of {claw,claw,bite} doesn't
|
||||
make poly'd hero mysteriously become left-handed */
|
||||
assume 'even' claw or touch attacks use dominant hand
|
||||
or paw, 'odd' ones use non-dominant hand for ring
|
||||
interaction; even vs odd is based on actual attacks
|
||||
rather than on index into mon->dat->mattk[] so that
|
||||
{bite,claw,claw} instead of {claw,claw,bite} doesn't
|
||||
make poly'd hero mysteriously switch handedness */
|
||||
odd_claw = !odd_claw;
|
||||
specialdmg = special_dmgval(&gy.youmonst, mon,
|
||||
W_ARMG
|
||||
|
||||
Reference in New Issue
Block a user