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

@@ -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) {