RE: [pcgen] Re: pcgen slowdown
> But once the character is loaded it should speed things up asThe rewrite of the bonus code eliminates most of those recalcs.
> most of the bonus calculations seem to happen moving from tab to tab.
> As a question: What _is_ requesting the bonus values during load?There are two problems:
First you have recursive BONUS statements. For instance, a FEAT may have a bonus
that depends on DEX. But DEX depends on race BONUSes, on PC equipment carried
(such as armor or max load), etc.
Second is that a BONUS may have a PREREQ statement in it. So, you may only be
able to use a BONUS if you are a dwarf or your DEX is higher than 13, etc.
The information contained within the .pcg file must be interpreted each time the
file is loaded. In other words, your character is built from the ground up each
time you load, just as if you were clicking around the GUI, adding levels,
The combination of these two is what causes the large number of bonus
recalculations, to see if you can have the BONUS from X which has a PreReq of Y
which depends on Z (which depends on A, which depends on B) applied to your
character or not.
- Tracker organized, number will be posted by David.
From: Jayme Cox [mailto:jayme@...]
Sent: Wednesday, 30 July 2003 8:18 a.m.
Subject: [pcgen] [LST - BUG/TM] natural attacks: damage bonus wrong
Per the SRD (and MM p. 61),
Bite: ...deal the listed damage plus the dragon's Strength bonus...",
Claw: ...deal the listed damage plus half the dragon's Strength bonus
Wing: ...plus half the dragon's Strength bonus..."
Tail Slap: ...plus 1 and 1/2 times the dragon's Strength bonus...".
I've checked in code to CVS which fixes all the above attacks except "Tail
Fixing the "Tail Slap" will require a .lst file change:
> BONUS:WEAPONPROF=Tail Slap|DAMAGE|STRSince all secondary weapons only get 1/2 STR bonus to damage, the Tail Slap
currently has 1/2 STR bonus, so it needs STR bonus added.
PS: Please post the tracker number here, so we know it's been entered,
[Non-text portions of this message have been removed]