dipping in acid
Add checks to allow erosion of objects #dip'd in acid. From a bug report.
This commit is contained in:
@@ -891,7 +891,7 @@ mdamagem(magr, mdef, mattk)
|
||||
pline("It burns %s!", mon_nam(mdef));
|
||||
}
|
||||
if (!rn2(30)) erode_armor(mdef, TRUE);
|
||||
if (!rn2(6)) erode_obj(MON_WEP(mdef), TRUE, TRUE);
|
||||
if (!rn2(6)) (void) erode_obj(MON_WEP(mdef), TRUE, TRUE, FALSE);
|
||||
break;
|
||||
case AD_RUST:
|
||||
if (magr->mcan) break;
|
||||
|
||||
Reference in New Issue
Block a user