Manikus: (or anyone interested)
The failure reported has to do with determining a characters's
BASECLASS level. In this particular instance, to satisfy
a script executing $GetBaseclassLevel() function.
The original code did some strange things like looking at
Here is what it does now:
Under normal (defined in a bit) circumstances the code returns
the current level of the character's baseclass.
Under abnormal circumstances, the code dies a noisy death for
lack of understanding of what should be done.
Definition of abnormal circumstances:
1) The character is DualClass
2) The character can use previous class
The code says that a character is "Dual Class"
if any of his baseclasses has a 'previous level'.
Whatever that means.
The code says a character can 'Use Previous Class'
if he is 'Dual Class' and (from April 2013)
I would like to treat each baseclass separately if
it occurs in the original and new classes, but as
part of a group if it doesn't, and I'll try to be
clear in what I mean...
PC starts off as baker/lawyer/grocer of
levels 5/6/7 respectively
PC changes to plumber/salesman/soldier
-> when the lowest new baseclass reaches one higher
than the highest original baseclass (in this case
an '8') then the PC gets the use of the original
PC changes to baker/gardener/dancer
->baker stays at 5, but other two new baseclasses
are at 1, and when the lowest of them is 1 higher
than the highest of the two remaning original baseclasses
(again an '8'), then the two original baseclasses can be
used by the PC at their previous levels of 6/7.