shattering corpses

- generalize which weapons can be shattered to be >= WOOD
This commit is contained in:
cohrs
2002-02-26 22:07:24 +00:00
parent 0f1615c7ad
commit f33ab026b8
+2 -3
View File
@@ -575,9 +575,8 @@ int thrown;
((wtype = uwep_skill_type()) != P_NONE && ((wtype = uwep_skill_type()) != P_NONE &&
P_SKILL(wtype) >= P_SKILLED) && P_SKILL(wtype) >= P_SKILLED) &&
((monwep = MON_WEP(mon)) != 0 && ((monwep = MON_WEP(mon)) != 0 &&
weapon_type(monwep) != P_WHIP && objects[monwep->otyp].oc_material >= WOOD &&
monwep->otyp != SLING && !obj_resists(monwep,
!obj_resists(monwep,
50 + 15 * greatest_erosion(obj), 100))) { 50 + 15 * greatest_erosion(obj), 100))) {
/* /*
* 2.5% chance of shattering defender's weapon when * 2.5% chance of shattering defender's weapon when