Skip to content

Commit 19efb4f

Browse files
committed
Adjust feedback when hitting a water-based monster or one that is underwater with burning hands spell.
There's also a 25% chance that the players burning hands will be extinguished from hitting a monster that is underwater or a monster that is water-based.
1 parent 7901906 commit 19efb4f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

doc/evilhack-changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -3535,4 +3535,6 @@ The following changes to date are:
35353535
- Wand of probing or a stethoscope used on oneself will show reflection
35363536
status (spell only)
35373537
- Tweak power cost for wizards casting force bolt spell
3538+
- Adjust feedback when hitting a water-based monster or one that is
3539+
underwater with burning hands spell
35383540

src/uhitm.c

+10-2
Original file line numberDiff line numberDiff line change
@@ -2116,8 +2116,16 @@ int dieroll;
21162116
makeplural(body_part(HAND)),
21172117
mon_nam(mon));
21182118
} else {
2119-
You("burn %s with your %s!", mon_nam(mon),
2120-
makeplural(body_part(HAND)));
2119+
You("%s %s with your %s!",
2120+
can_vaporize(mon->data)
2121+
? "vaporize part of" : "burn",
2122+
mon_nam(mon), makeplural(body_part(HAND)));
2123+
2124+
if (!rn2(4) &&
2125+
(mon_underwater(mon) || can_vaporize(mon->data))) {
2126+
u.umburn = 0;
2127+
Your("%s are extinguished.", makeplural(body_part(HAND)));
2128+
}
21212129

21222130
if (completelyburns(mon->data) || is_wooden(mon->data)
21232131
|| mon->data == &mons[PM_GREEN_SLIME]) {

0 commit comments

Comments
 (0)