Skip to content

Commit

Permalink
Adjust feedback when hit by an artifact or weapon that deals poison d…
Browse files Browse the repository at this point in the history
…amage.
  • Loading branch information
k21971 committed Jul 27, 2022
1 parent e7b5515 commit a01e2d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions doc/evilhack-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2393,4 +2393,6 @@ The following changes to date are:
- Fix: poisonous corpse can give conflicting message (issue #95)
- Fix: remove unnecessary feedback when a monster goes berserk
- Fix: any artifacts can glow to warn of specific monsters
- Adjust feedback when hit by an artifact or weapon that deals poison
damage

4 changes: 2 additions & 2 deletions src/artifact.c
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,7 @@ int dieroll; /* needed for Magicbane and vorpal blades */
pline_The("gigantic blade hits %s.", hittee);
} else {
pline_The("gigantic blade %s %s%c",
(how_resistant(POISON_RES) == 100)
(how_resistant(POISON_RES) >= 50)
? "hits"
: rn2(2) ? "poisons" : "eviscerates",
hittee, !spec_dbon_applies ? '.' : '!');
Expand All @@ -2112,7 +2112,7 @@ int dieroll; /* needed for Magicbane and vorpal blades */
} else {
pline_The("%s %s %s%c",
distant_name(otmp, xname),
(how_resistant(POISON_RES) == 100)
(how_resistant(POISON_RES) >= 50)
? "hits"
: rn2(2) ? "taints" : "poisons",
hittee, !spec_dbon_applies ? '.' : '!');
Expand Down

0 comments on commit a01e2d0

Please sign in to comment.