still more thitu() and Half_physical_damage

Half_physical_damage does not reduce damage from acid.
This commit is contained in:
PatR
2026-04-21 11:33:09 -07:00
parent 0ef54e364e
commit 2b74dce88c

View File

@@ -737,8 +737,9 @@ m_throw(
hitv += 8 + singleobj->spe; hitv += 8 + singleobj->spe;
if (dam < 1) if (dam < 1)
dam = 1; dam = 1;
hitu = thitu(hitv, Maybe_Half_Phys(dam), if (singleobj->otyp != ACID_VENOM)
&singleobj, (char *) 0); dam = Maybe_Half_Phys(dam);
hitu = thitu(hitv, dam, &singleobj, (char *) 0);
} }
} }
if (hitu && singleobj->opoisoned && is_poisonable(singleobj)) { if (hitu && singleobj->opoisoned && is_poisonable(singleobj)) {