more jumping (trunk only)
Allow jumping via spell when hero or steed has wounded legs. Otherwise the previous fix for immobilized steed--and the existing code requiring limbs for physical jump but not for spell jump--is inconsistent.
This commit is contained in:
@@ -1377,7 +1377,7 @@ int magic; /* 0=Physical, otherwise skill level */
|
|||||||
} else if (!magic && (u.uhunger <= 100 || ACURR(A_STR) < 6)) {
|
} else if (!magic && (u.uhunger <= 100 || ACURR(A_STR) < 6)) {
|
||||||
You("lack the strength to jump!");
|
You("lack the strength to jump!");
|
||||||
return 0;
|
return 0;
|
||||||
} else if (Wounded_legs) {
|
} else if (!magic && Wounded_legs) {
|
||||||
long wl = (Wounded_legs & BOTH_SIDES);
|
long wl = (Wounded_legs & BOTH_SIDES);
|
||||||
const char *bp = body_part(LEG);
|
const char *bp = body_part(LEG);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user