Walking on ice can make you slide in a random direction

This commit is contained in:
Pasi Kallinen
2024-03-07 19:29:09 +02:00
parent aacfbecf5c
commit 8cd8759e04
2 changed files with 5 additions and 0 deletions

View File

@@ -1370,6 +1370,7 @@ monsters weren't randomly generating if exactly one square was outside LOS,
when a spellbook was polymorphed into a novel and then incrementing spestudied
field turned it into a blank spellbook, the novel's title would stick:
"{spellbook of blank paper|plain spellbook} named <Discworld title>"
walking on ice can make you slide in a random direction
Fixes to 3.7.0-x General Problems Exposed Via git Repository

View File

@@ -1235,6 +1235,10 @@ slip_or_trip(void)
&& (!ice_only || !rn2(3))) {
You("lose your balance.");
dismount_steed(DISMOUNT_FELL);
} else if (!rn2(10 + ACURR(A_DEX))) {
int dir = rn2(N_DIRS);
hurtle(xdir[dir], ydir[dir], 1, FALSE);
}
} else {
if (on_foot) {