U778 wielded silver arrows
This commit is contained in:
+2
-1
@@ -2,7 +2,8 @@ $RCSfile$ $Revision$ $Date$
|
|||||||
|
|
||||||
General Fixes and Modified Features
|
General Fixes and Modified Features
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
fix "You hear The food ration tumbles downwards." for blinded pit dropping
|
fix "You hear The food ration tumbles downwards" for blinded pit dropping
|
||||||
|
silver arrows weren't causing silver damage on some silver-haters when wielded
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -607,6 +607,12 @@ int thrown;
|
|||||||
tmp = 0;
|
tmp = 0;
|
||||||
else
|
else
|
||||||
tmp = rnd(2);
|
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 &&
|
if (!thrown && obj == uwep && obj->otyp == BOOMERANG &&
|
||||||
rnl(4) == 4-1) {
|
rnl(4) == 4-1) {
|
||||||
boolean more_than_1 = (obj->quan > 1L);
|
boolean more_than_1 = (obj->quan > 1L);
|
||||||
|
|||||||
Reference in New Issue
Block a user