Elaith
October 21st, 2019, 22:45
Hello,
I am trying to auto populate a character sheet with a classes weapon/armor proficiencies. It has been working great, however I have run into a problem with getting a rarer weapon to be added.
The code:
<weaponandarmorproficiency>
<level type="number">1</level>
<name type="string">Weapon and Armor Proficiency</name>
<text type="formattedtext">
<p>Investigators are proficient with all simple weapons, plus the hand crossbow, rapier, sap, shortbow, short sword, and sword cane. They are proficient with light armor, but not with shields. </p>
</text>
</weaponandarmorproficiency>
All the weapons/armor appear correctly, except the sword cane item.
The weapon is defined, along with the others, so that does not seem to be the issue.
Anyone know what function might control what is added as a proficiency?
Or do I need to create a function to add new items to auto-populate? If that is the case, can anyone point me towards some example code to get me an idea of what is needed.
Thanks,
-Elaith
I am trying to auto populate a character sheet with a classes weapon/armor proficiencies. It has been working great, however I have run into a problem with getting a rarer weapon to be added.
The code:
<weaponandarmorproficiency>
<level type="number">1</level>
<name type="string">Weapon and Armor Proficiency</name>
<text type="formattedtext">
<p>Investigators are proficient with all simple weapons, plus the hand crossbow, rapier, sap, shortbow, short sword, and sword cane. They are proficient with light armor, but not with shields. </p>
</text>
</weaponandarmorproficiency>
All the weapons/armor appear correctly, except the sword cane item.
The weapon is defined, along with the others, so that does not seem to be the issue.
Anyone know what function might control what is added as a proficiency?
Or do I need to create a function to add new items to auto-populate? If that is the case, can anyone point me towards some example code to get me an idea of what is needed.
Thanks,
-Elaith