Bugs item #514032, was opened at 2002-02-06 18:44
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=424867&aid=514032&group_id=39321
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect formula for reading spellbooks
Initial Comment:
The formula:
==
int read_ability = ACURR(A_INT) + 4 + u.ulevel/2
- 2*objects[booktype].oc_level
+ (ublindf && ublindf->otyp == LENSES) ? 2 :
0;
==
returns either 2 or 0, due to the extremely low
precedence of the conditional operator. This makes
successfully reading spellbooks, for any character,
extremely difficult. This bug could be fixed by the
proper use of parentheses.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=424867&aid=514032&group_id=39321
|