Fwd: [pcgen_experimental] BONUS:PCLEVEL Tag Question
- Hi all,
Is someone able to take a look at Eric's investigation below?
---------- Forwarded message ----------
From: Eric C Smith <maredudd@...>
Date: 2 July 2011 18:01
Subject: Re: [pcgen_experimental] BONUS:PCLEVEL Tag Question
George Ebinger wrote:
> One applies to only Sorcerer spells, the other applies to all arcane spells, including wizards. Different effects, both should be kept.Hmmm, looking through the code and data I'm thinking that Andrew
It looks like the BONUS:PCLEVEL token code will parse both TYPE.text
and TYPE=text to the same output. I haven't found the code that
utilizes the output yet but . . .
The only place I found BONUS:PCLEVEL|TEXT in the data is in the
"pcgen_test_advanced_feats.lst file where it uses the following:
So the same LST tag is used for both Class types and Spell types.
Its also important to note that no PCGen code uses this syntax.
Based on this, I'm thinking that the two tag dictionary entries can be
combined into one entry with the dual use covered by both.
Can I get a code monkey to confirm what I've surmised?
> From: Andrew <drew0500@...>
> To: firstname.lastname@example.org
> Sent: Friday, July 1, 2011 10:30 PM
> Subject: Re: [pcgen_experimental] BONUS:PCLEVEL Tag Question
> Unless they're two different tags, perhaps combining them... but the names might be different, but
> the syntax appears to be the same. CLASS TYPE and SPELL TYPE seem to be used in the same context
> TYPE.Arcane isn't really a class type. It's a SPELL type.
> Perhaps a coder can shed some light.
> On 7/1/2011 7:09 PM, Barak wrote:
>>> -----Original Message-----
>>> That's kind of what I thought . . .
>>> Any objection to me striping one out of the docs?
>>> On Jul 1, 2011, at 5:23 PM, Andrew wrote:
>>>> They look identical in function to me... just one has less then the other.
>>>>> Tag Name: BONUS:PCLEVEL|x|y
>>>>> Variables Used (x): TYPE.Text (Class type)
>>>>> Tag Name: BONUS:PCLEVEL|Type=x|y
>>>>> Variables Used (x): Text (Spell type)
>> No, they both need to stay.
>> They’re different.
>> One refers to *Class* Type, the other *Spell* Type... and note the difference in syntax.
Yahoo! Groups Links