rubber hose attacks

Give similar feedback for attacking with a rubber hose as for bullwhip:
the wielder "lashes" rather than "swings".
This commit is contained in:
PatR
2022-02-03 04:42:19 -08:00
parent 8a722ea949
commit fffa9d58b7
2 changed files with 3 additions and 2 deletions

View File

@@ -98,7 +98,8 @@ mswings_verb(
{
const char *verb;
int otyp = mwep->otyp,
lash = (otyp == BULLWHIP),
/* (monsters don't actually wield towels, wet or otherwise) */
lash = (objects[otyp].oc_skill == P_WHIP || is_wet_towel(mwep)),
/* some weapons can have more than one strike type; for those,
give a mix of thrust and swing (caller doesn't care either way) */
thrust = ((objects[otyp].oc_dir & PIERCE) != 0