Skip to content

Commit

Permalink
Extrinsic fire resistance grants a small reduction in hellfire damage.
Browse files Browse the repository at this point in the history
  • Loading branch information
elunna committed Oct 28, 2023
1 parent ac7873a commit 25289a7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/trap.c
Original file line number Diff line number Diff line change
Expand Up @@ -6521,10 +6521,15 @@ in_hell_effects()
if (likes_lava(youmonst.data))
return FALSE;

/* Small break for Ice Mages or other races that
* are intrinsically vulnerable to fire */
if (EFire_resistance)
dmg -= 1;

usurvive = how_resistant(FIRE_RES) == 100 || (dmg < u.uhp);

if (how_resistant(FIRE_RES) < 100) {
if (how_resistant(FIRE_RES) > 50) {
if (how_resistant(FIRE_RES) >= 50) {
if (rn2(3))
pline_The("flames of hell are slowly %s you alive!",
rn2(2) ? "roasting" : "burning");
Expand Down

0 comments on commit 25289a7

Please sign in to comment.