Fix: fumbling vs losing footing in earthquake

Fumbling was apparently meant to make it harder to keep your footing
when an earthquake created a pit under you, requiring a 1/5 roll to
stay upright, but because it was added as an additional OR it actually
just gave the hero an additional (albeit unlikely) chance to retain her
footing.  Make it actually have a negative impact on the hero's ability
to retain his footing rather than a minor boost.
This commit is contained in:
Michael Meyer
2023-12-04 13:07:43 -05:00
parent 495a1a9b07
commit 05f9950c99

View File

@@ -415,9 +415,9 @@ do_earthquake(int force)
selftouch("Falling, you");
} else if (u.utrap && u.utraptype == TT_PIT) {
boolean keepfooting =
((Fumbling && !rn2(5))
|| (!rnl(Role_if(PM_ARCHEOLOGIST) ? 3 : 9))
|| ((ACURR(A_DEX) > 7) && rn2(5)));
(!(Fumbling && rn2(5))
&& (!(rnl(Role_if(PM_ARCHEOLOGIST) ? 3 : 9))
|| ((ACURR(A_DEX) > 7) && rn2(5))));
You("are jostled around violently!");
set_utrap(rn1(6, 2), TT_PIT);