reconcile toss_up() with hmon_hitmon()
Throwing silver or blessed non-weapons upward and having them fall back onto susceptible hero's head wasn't adding the extra bonus damage that a weapon would get in that situation. Make hitting vulnerable monsters with blessed just-about-anything get the 1d4 bonus that blessed weapons get for that. Doesn't apply to things that have their own special handing, like potions or eggs.
This commit is contained in:
@@ -1166,13 +1166,15 @@ hmon_hitmon(struct monst *mon,
|
||||
until after hit message */
|
||||
dryit = (rn2(obj->spe + 1) > 0);
|
||||
}
|
||||
/* things like silver wands can arrive here so
|
||||
so we need another silver check */
|
||||
/* things like silver wands can arrive here so we
|
||||
need another silver check; blessed check too */
|
||||
if (objects[obj->otyp].oc_material == SILVER
|
||||
&& mon_hates_silver(mon)) {
|
||||
tmp += rnd(20);
|
||||
silvermsg = silverobj = TRUE;
|
||||
}
|
||||
if (obj->blessed && mon_hates_blessings(mon))
|
||||
tmp += rnd(4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user