KNOWNSPELLS:.CLEAR should be KNOWNSPELLS:.CLEARALL

Description

I tried to .MOD the Pathfinder Cleric class, to give it SPELLBOOK:YES and KNOWSPELLS:.CLEAR. The loading window responded with something like ".CLEAR is not a spell".

So, the tag isn't being interpreted appropriately. (Alternately, it may be that KNOWNSPELLS isn't supposed to be able to use .CLEAR, in which case this is a documentation bug instead.)

Environment

None

Activity

Show:
James Dempsey
September 16, 2012, 6:12 AM

The correct syntax would be KNOWNSPELLS:.CLEARALL

EricS
September 16, 2012, 10:46 AM

Looking at the Docs, and at the code in plugin/lsttokens/pcclass/knownspells, it apears that "LEVEL=Number" is the required syntax for spell level designation and that "TYPE=Text" is an additional parameter that can be used. Based upon this I would put the final syntax as:

Syntax: KNOWNSPELLS:x,y|x,y
Variable : Text
Variable : TYPE=Text
Variable : LEVEL=Number
Variable : .CLEARALL

The docs themselves state that a Class Level Line 0 (zero) acts, and is treated by PCGen as, a Class Line. Is this correct?

EricS
September 16, 2012, 10:57 AM

Corrected .CLEAR to .CLEARALL and cleanup entry in general.
svn #17290

EricS
September 17, 2012, 1:47 PM

svn #17290

EricS
September 17, 2012, 1:48 PM

svn #17290

Fixed

Assignee

EricS

Reporter

Douglas Limmer

Labels

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure