Re: [BUG] KNOWNSPELLS on class level line causes error
- Trackered - Doc bug 2006483 KNOWNSPELLS docs incorrect
> This is a doc bug. If you go to the KnownSpellsToken.java from thehttp://pcgen.svn.sourceforge.net/viewvc/pcgen/branches/5.14.x/pcgen/code/src/java/plugin/lsttokens/pcclass/KnownspellsToken.java?revision=6184&view=markup
> 5.14 branch:
> You'll note the level is never stored, so KNOWNSPELLS is really a
> Class, not a Class Level token. This lack of level storage is
> consistent from 5.10-5.14, so no behavior has been lost, it's just
> error reporting that has been improved.
> That's not to say we don't need it as a class level token due to some
> data perhaps needing that feature, but it's a FREQ if we need it.
> --- In email@example.com, Stefan Radermacher <radermacher@> wrote:
> > According to the documantation KNOWNSPELLS is allowed on class and
> class level
> > lines. Using is on a class level line, however, produces this error
> > LSTERROR Data used token: Planar Binding (Lesser)|Planar
> > Binding (Greater) which is a Class token, but it was used in a class
> > line other than level 1
> > LSTERROR Illegal Token 'KNOWNSPELLS' 'Planar Binding (Lesser)|Planar
> > Planar Binding (Greater)' for pcgen.cdom.inst.PCClassLevel
> > Stefan.
> > --
> > Happiness is the Road
> > http://www.marillion.com