PDA

View Full Version : Issue with adding a feat during class auto-level - PFRGP



Elaith
April 1st, 2019, 20:16
Hello,

I am a bit new to FG's coding. I am currently making a customer mod of all the Pathfinder classes so I can auto-level them up by dragging it to the character sheet. I know this amy have already been done, but currently has been a great learning experience. I was able to get everything to auto-level - HP/skill points/saves, class features, etc - except when it comes to adding a feat.

For instance, I was trying to get simple/martial weapon proficiency feat's to be added, instead of just in the proficiency area. Or the free scribe scroll feat for wizard.

I searched through the forums looking for examples and was not able to find any.

Here is the current code:


<bab type="string">Medium</bab>
<classfeatures>
<weaponandarmorproficiency>
<level type="number">1</level>
<name type="string">Weapon and Armor Proficiency</name>
<text type="formattedtext">
<p>A hunter is proficient with all simple and martial weapons and with light armor, medium armor and shields (except tower shields).</p>
</text>
</weaponandarmorproficiency>
<feats>
<locked type="number">1</locked>
<level type="number">1</level>
<name type="string">Test</name>
<type type="string">Combat</type>
<mult type="number">0</mult>
<stack type="number">0</stack>
<benefit type="formattedtext">
<p>This is just a test.</p>
</benefit>
<normal type="formattedtext">
<p>This would not normally be a test.</p>
</normal>
<feats>

I am not sure if there are any specific tags I need to use like with the proficiencies.

Any help would be appreciated.

This is for the PFRPG ruleset.

Thanks.