Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Eating a shimmering dragon corpse results in displacement.
  • Loading branch information
Kestrel Gregorich-Trevor committed Apr 11, 2024
commit c6c52f2204b9d4581a8180c8b854714004222715
7 changes: 6 additions & 1 deletion src/eat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1230,9 +1230,14 @@ cpostfx(int pm)
}
break;
case PM_DISPLACER_BEAST:
case PM_SHIMMERING_DRAGON:
case PM_BABY_SHIMMERING_DRAGON:
if (!Displaced) /* give a message (before setting the timeout) */
toggle_displacement((struct obj *) 0, 0L, TRUE);
incr_itimeout(&HDisplaced, d(6, 6));
if (pm == PM_SHIMMERING_DRAGON)
incr_itimeout(&HDisplaced, rn1(300, 300))
else
incr_itimeout(&HDisplaced, d(6, 6));
break;
case PM_DISENCHANTER:
/* picks an intrinsic at random and removes it; there's
Expand Down