fix more of #2629 - striking/force bolt feedback (trunk only)
From a bug report, the message "Boing!" is given if wand of striking or spell of force bolt is aimed at magic resistant hero by self or by monster, or at magic resistant monster by another monster, but it was omitted when aimed at magic resistant monster by the hero. The shield effect animation for resistance is given in all the cases.
This commit is contained in:
@@ -414,6 +414,7 @@ alchemical explosion or evaporation only used up one potion instead of all
|
|||||||
feedback for reverse-genocide was plural even when just one monster was created
|
feedback for reverse-genocide was plural even when just one monster was created
|
||||||
fix message given when part of a stack of items in a monster's inventory is
|
fix message given when part of a stack of items in a monster's inventory is
|
||||||
being destroyed
|
being destroyed
|
||||||
|
add "Boing!" message when hero zaps resistant monster with striking/force bolt
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ struct obj *otmp;
|
|||||||
reveal_invis = TRUE;
|
reveal_invis = TRUE;
|
||||||
if (resists_magm(mtmp)) { /* match effect on player */
|
if (resists_magm(mtmp)) { /* match effect on player */
|
||||||
shieldeff(mtmp->mx, mtmp->my);
|
shieldeff(mtmp->mx, mtmp->my);
|
||||||
|
pline("Boing!");
|
||||||
break; /* skip makeknown */
|
break; /* skip makeknown */
|
||||||
} else if (u.uswallow || rnd(20) < 10 + find_mac(mtmp)) {
|
} else if (u.uswallow || rnd(20) < 10 + find_mac(mtmp)) {
|
||||||
dmg = d(2,12);
|
dmg = d(2,12);
|
||||||
|
|||||||
Reference in New Issue
Block a user