Non-metallic gloves protect worn rings from shock
This commit is contained in:
committed by
Pasi Kallinen
parent
9942b65df7
commit
67295bc706
@@ -5070,7 +5070,8 @@ destroy_one_item(struct obj *obj, int osym, int dmgtyp)
|
||||
quan = obj->quan;
|
||||
switch (osym) {
|
||||
case RING_CLASS:
|
||||
if (obj->otyp == RIN_SHOCK_RESISTANCE) {
|
||||
if (((obj->owornmask & W_RING) && uarmg && !is_metallic(uarmg))
|
||||
|| obj->otyp == RIN_SHOCK_RESISTANCE) {
|
||||
skip++;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user