antiduke
July 7th, 2009, 20:32
As the title says, I'm trying to figure out how to add feats to an already existing module. I have the PHB and PHB2 along with some other supplementary books that each have a large list of new feats. I'm wanting to condense these so that all the feats can be found in the one PHB.
All the books have the exact same formatting and everything so I don't think it will be too difficult. I am kindof new to the xml editing though and after messing with it a little bit I have had no luck so far.
Here is what I have tried so far:
In PHB 1 here is the first feat listed:
<featActionRecovery>
<name type="string">Action Recovery</name>
<source type="string">Feat </source>
<description type="formattedtext"><table><tr><td><b>Prerequisite:</b>Human</td></tr></table><table><tr><td><b>Benefit:</b>When you spend an action point to gain an extra standard action, you can immediately roll a saving throw against each condition affecting you that a save can end.</td></tr></table></description>
<shortdescription type="string">Gain extra saving throws by spending action point</shortdescription>
<class type="string">Feats</class>
<level type="number">-11</level>
<school type="string">Human</school>
<tier type="string">Paragon</tier>
<type type="string">Feat</type>
<flavor type="formattedtext"><p><i>Gain extra saving throws by spending action point</i></p></flavor>
<prerequisite type="string">Human</prerequisite>
<effect type="string">When you spend an action point to gain an extra standard action, you can immediately roll a saving throw against each condition affecting you that a save can end.</effect>
</featActionRecovery>
Now here is a feat that I want to add FROM the PHB 2:
<featAdvantageOfCunning>
<name type="string">Advantage of Cunning</name>
<source type="string">Feat </source>
<description type="formattedtext"><table><tr><td><b>Prerequisite:</b>Bard, Virtue of Cunning class feature</td></tr></table><table><tr><td><b>Benefit:</b>When you slide an ally with your Virtue of Cunning, you can also slide an enemy that was adjacent to that ally into the space the ally vacated.</td></tr></table></description>
<shortdescription type="string">Slide enemy into allys vacated space</shortdescription>
<class type="string">Feats</class>
<level type="number">-1973</level>
<school type="string">General</school>
<tier type="string">Heroic</tier>
<type type="string">Feat</type>
<flavor type="formattedtext"><p><i>Slide enemy into ally's vacated space</i></p></flavor>
<prerequisite type="string">Bard, Virtue of Cunning class feature</prerequisite>
<effect type="string">When you slide an ally with your Virtue of Cunning, you can also slide an enemy that was adjacent to that ally into the space the ally vacated.</effect>
</featAdvantageOfCunning>
The only difference I see when comparing the entries from the 2 books is in the "<level type="number">" line. In the PHB all the entries for this line say "-11" and in the PHB2, they all say "-1973".. not sure what this means or if it is important..?
Then lastly I had to add this to the section of the PHB where the records are.
<featAdvantageOfCunning>
<link type="windowreference">
<class>powerdesc</class>
<recordname>powerdescphb2.featAdvantageOfCunning@4E Players Handbook 2</recordname>
</link>
<source type="number">Feat </source>
</featAdvantageOfCunning>
I'm pretty sure I have to do something with the "recordname" but I'm not sure what. I tried leaving it the same and also tried changing it to what the PHB used, which was: "<recordname>powerdesc.featAdvantageOfCunning@4E Players Handbook</recordname>"
Thanks in advance!
All the books have the exact same formatting and everything so I don't think it will be too difficult. I am kindof new to the xml editing though and after messing with it a little bit I have had no luck so far.
Here is what I have tried so far:
In PHB 1 here is the first feat listed:
<featActionRecovery>
<name type="string">Action Recovery</name>
<source type="string">Feat </source>
<description type="formattedtext"><table><tr><td><b>Prerequisite:</b>Human</td></tr></table><table><tr><td><b>Benefit:</b>When you spend an action point to gain an extra standard action, you can immediately roll a saving throw against each condition affecting you that a save can end.</td></tr></table></description>
<shortdescription type="string">Gain extra saving throws by spending action point</shortdescription>
<class type="string">Feats</class>
<level type="number">-11</level>
<school type="string">Human</school>
<tier type="string">Paragon</tier>
<type type="string">Feat</type>
<flavor type="formattedtext"><p><i>Gain extra saving throws by spending action point</i></p></flavor>
<prerequisite type="string">Human</prerequisite>
<effect type="string">When you spend an action point to gain an extra standard action, you can immediately roll a saving throw against each condition affecting you that a save can end.</effect>
</featActionRecovery>
Now here is a feat that I want to add FROM the PHB 2:
<featAdvantageOfCunning>
<name type="string">Advantage of Cunning</name>
<source type="string">Feat </source>
<description type="formattedtext"><table><tr><td><b>Prerequisite:</b>Bard, Virtue of Cunning class feature</td></tr></table><table><tr><td><b>Benefit:</b>When you slide an ally with your Virtue of Cunning, you can also slide an enemy that was adjacent to that ally into the space the ally vacated.</td></tr></table></description>
<shortdescription type="string">Slide enemy into allys vacated space</shortdescription>
<class type="string">Feats</class>
<level type="number">-1973</level>
<school type="string">General</school>
<tier type="string">Heroic</tier>
<type type="string">Feat</type>
<flavor type="formattedtext"><p><i>Slide enemy into ally's vacated space</i></p></flavor>
<prerequisite type="string">Bard, Virtue of Cunning class feature</prerequisite>
<effect type="string">When you slide an ally with your Virtue of Cunning, you can also slide an enemy that was adjacent to that ally into the space the ally vacated.</effect>
</featAdvantageOfCunning>
The only difference I see when comparing the entries from the 2 books is in the "<level type="number">" line. In the PHB all the entries for this line say "-11" and in the PHB2, they all say "-1973".. not sure what this means or if it is important..?
Then lastly I had to add this to the section of the PHB where the records are.
<featAdvantageOfCunning>
<link type="windowreference">
<class>powerdesc</class>
<recordname>powerdescphb2.featAdvantageOfCunning@4E Players Handbook 2</recordname>
</link>
<source type="number">Feat </source>
</featAdvantageOfCunning>
I'm pretty sure I have to do something with the "recordname" but I'm not sure what. I tried leaving it the same and also tried changing it to what the PHB used, which was: "<recordname>powerdesc.featAdvantageOfCunning@4E Players Handbook</recordname>"
Thanks in advance!