From: Alexis.Scheuer@rfee.fr
Still writing a doc., I would like to remind an error
already specified in a forum
(http://sourceforge.net/forum/forum.php?thread_id=1292799&forum_id=52944).
The point is that priest spells do not recharge, except
if the priest know spellcasting skill.
This is due to line 248 of Being.java : spells are
recharged only for beings having spellcasting skill.
This is strange for me, as recharging depends on focus
(for true and black magic spells) or prayer (for holy
magic spells) skills, but not on spellcasting.
Moreover, priest do not start with spellcasting, but
with focus (which is unusefull, I think).
This could be easily corrected (for the moment,
priests have to pray for spellcasting as a first
thing). Two solutions are possible:
1.- change the test at line 248 of Being.java,
replacing "if (t.getFlag(Skill.CASTING))" by "if
(t.getFlag(Skill.FOCUS) || t.getFlag(Skill.PRAYER))"
2.- change the initial skills of priest, replacing
FOCUS at line 239 of Hero.java by CASTING (and perhaps
RPG.r(2) by RPG.d(2))
I find first solution to be better, IMHO. In that
case, line 239 of Hero.java can be removed (no use of
Focus), or changed (but priest are already very
powerfull)...
Logged In: YES
user_id=95445
Solution 1 sounds right to me, cvs is fixed.
T.