shattering corpses
- generalize which weapons can be shattered to be >= WOOD
This commit is contained in:
+2
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user