From 317282c469a9762698caf0c32e80f49d98e471fa Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Sat, 1 Nov 2025 16:09:25 +0000 Subject: [PATCH] Paper objects (except books) also do no damage These are even flimsier than vegetables are. --- src/uhitm.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/uhitm.c b/src/uhitm.c index 8d2feb1fa..160d2e0a2 100644 --- a/src/uhitm.c +++ b/src/uhitm.c @@ -1316,9 +1316,12 @@ hmon_hitmon_misc_obj( hmd->get_dmg_bonus = FALSE; break; default: - if (objects[obj->otyp].oc_material == VEGGY) { + if ((objects[obj->otyp].oc_material == VEGGY || + objects[obj->otyp].oc_material == PAPER) && + obj->oclass != SPBOOK_CLASS) { /* vegetables (and similar) do no damage, because they - aren't rigid enough */ + aren't rigid enough; paper objects also do no damage, + except for books */ hmd->dmg = 0; hmd->get_dmg_bonus = FALSE; break;