still more thitu() and Half_physical_damage
Half_physical_damage does not reduce damage from acid.
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user