U778 wielded silver arrows

This commit is contained in:
nethack.allison
2003-12-11 11:43:18 +00:00
parent a744b6b5bf
commit 86428dc172
2 changed files with 8 additions and 1 deletions

View File

@@ -607,6 +607,12 @@ int thrown;
tmp = 0;
else
tmp = rnd(2);
if (objects[obj->otyp].oc_material == SILVER
&& hates_silver(mdat)) {
silvermsg = TRUE; silverobj = TRUE;
/* if it will already inflict dmg, make it worse */
tmp += rnd((tmp) ? 20 : 10);
}
if (!thrown && obj == uwep && obj->otyp == BOOMERANG &&
rnl(4) == 4-1) {
boolean more_than_1 = (obj->quan > 1L);