Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHB24] Backgrounds and Feats #276

Open
wants to merge 30 commits into
base: phb2024
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
313bb54
backgrounds
Tel0k Sep 16, 2024
9e2a0ce
added requirements to Ability Score Option selections
Tel0k Sep 16, 2024
fd57418
removed appends and added new background asi options
Tel0k Sep 23, 2024
ae51515
fixed typos and missing element
Tel0k Sep 23, 2024
1383977
all the Feats
Tel0k Nov 24, 2024
533f0c9
Update background-wayfarer.xml
Tel0k Nov 24, 2024
c3bdb44
Update background-acolyte.xml
Tel0k Nov 24, 2024
9b95a9a
Update background-artisan.xml
Tel0k Nov 24, 2024
c76ba8b
Update background-charlatan.xml
Tel0k Nov 24, 2024
df1f473
Update background-criminal.xml
Tel0k Nov 24, 2024
c8bddf1
Update background-entertainer.xml
Tel0k Nov 24, 2024
ef6a75c
Update background-farmer.xml
Tel0k Nov 24, 2024
cd7822a
Update background-guard.xml
Tel0k Nov 24, 2024
a8486f3
Update background-guide.xml
Tel0k Nov 24, 2024
f840b95
Update background-hermit.xml
Tel0k Nov 24, 2024
85352bb
Update background-merchant.xml
Tel0k Nov 24, 2024
aaeac19
Update background-noble.xml
Tel0k Nov 24, 2024
b351779
Update background-sage.xml
Tel0k Nov 24, 2024
dcba2c9
Update background-sailor.xml
Tel0k Nov 24, 2024
679150d
Update background-scribe.xml
Tel0k Nov 24, 2024
9b73d28
Update background-soldier.xml
Tel0k Nov 24, 2024
60cc763
Update background-wayfarer.xml
Tel0k Nov 24, 2024
beee292
added general feats' and epic boons' ASI elements
Tel0k Nov 25, 2024
37a2c16
moved type="Ability Score Improvement" elements into internal.xml
Tel0k Nov 25, 2024
8648570
forgot to change elements source to Internal
Tel0k Nov 25, 2024
8785983
moved type="Ability Score Improvement" elements into internal.xml
Tel0k Nov 25, 2024
96891ad
Apply suggestions from code review
Tel0k Dec 20, 2024
6f672a7
Apply suggestions from code review
Tel0k Dec 20, 2024
988e796
fixed Magic Initiate
Tel0k Dec 21, 2024
863218b
Apply suggestions from code review
Tel0k Dec 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
256 changes: 252 additions & 4 deletions core/internal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<info>
<name>Internal</name>
<description>Elements that should've been part of the app itself</description>
<update version="0.1.4">
<update version="0.1.6">
<file name="internal.xml" url="https://raw.githubusercontent.com/AuroraLegacy/elements/master/core/internal.xml" />
</update>
</info>
Expand Down Expand Up @@ -390,8 +390,8 @@
</description>
<sheet display="false" />
<rules>
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +2" supports="Custom Ability Score Increase 2" />
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +1" supports="Custom Ability Score Increase 1" />
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +2" supports="Custom Ability Score Increase 2" requirements="!ID_INTERNAL_GRANTS_BACKGROUND_ASI"/>
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +1" supports="Custom Ability Score Increase 1" requirements="!ID_INTERNAL_GRANTS_BACKGROUND_ASI"/>
</rules>
</element>

Expand All @@ -402,7 +402,7 @@
</description>
<sheet display="false" />
<rules>
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +1" number="3" supports="Custom Ability Score Increase 1" />
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +1" number="3" supports="Custom Ability Score Increase 1" requirements="!ID_INTERNAL_GRANTS_BACKGROUND_ASI"/>
</rules>
</element>

Expand Down Expand Up @@ -1186,4 +1186,252 @@
<set name="sourceUrl">https://www.dndbeyond.com/equipment/boomerang</set>
</setters>
</element>

<!--PHB24 General Feat Ability Score Increase-->
<element name="Ability Score Increase +2 (Strength)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_2_STRENGTH">
<compendium display="false" />
<supports>Feat ASI 2</supports>
<description>
<p>Your Strength increases by 2.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="strength" value="2" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +2 (Dexterity)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_2_DEXTERITY">
<compendium display="false" />
<supports>Feat ASI 2</supports>
<description>
<p>Your Dexterity increases by 2.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="dexterity" value="2" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +2 (Constitution)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_2_CONSTITUTION">
<compendium display="false" />
<supports>Feat ASI 2</supports>
<description>
<p>Your Constitution increases by 2.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="constitution" value="2" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +2 (Intelligence)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_2_INTELLIGENCE">
<compendium display="false" />
<supports>Feat ASI 2</supports>
<description>
<p>Your Intelligence increases by 2.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="intelligence" value="2" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +2 (Wisdom)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_2_WISDOM">
<compendium display="false" />
<supports>Feat ASI 2</supports>
<description>
<p>Your Wisdom increases by 2.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="wisdom" value="2" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +2 (Charisma)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_2_CHARISMA">
<compendium display="false" />
<supports>Feat ASI 2</supports>
<description>
<p>Your Charisma increases by 2.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="charisma" value="2" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +1 (Strength)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_1_STRENGTH">
<compendium display="false" />
<supports>Feat ASI 1</supports>
<description>
<p>Your Strength increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="strength" value="1" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +1 (Dexterity)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_1_DEXTERITY">
<compendium display="false" />
<supports>Feat ASI 1</supports>
<description>
<p>Your Dexterity increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="dexterity" value="1" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +1 (Constitution)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_1_CONSTITUTION">
<compendium display="false" />
<supports>Feat ASI 1</supports>
<description>
<p>Your Constitution increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="constitution" value="1" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +1 (Intelligence)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_1_INTELLIGENCE">
<compendium display="false" />
<supports>Feat ASI 1</supports>
<description>
<p>Your Intelligence increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="intelligence" value="1" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +1 (Wisdom)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_1_WISDOM">
<compendium display="false" />
<supports>Feat ASI 1</supports>
<description>
<p>Your Wisdom increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="wisdom" value="1" alt="Ability Score Increase" />
</rules>
</element>
<element name="Ability Score Increase +1 (Charisma)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_GENERAL_ASI_1_CHARISMA">
<compendium display="false" />
<supports>Feat ASI 1</supports>
<description>
<p>Your Charisma increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="charisma" value="1" alt="Ability Score Increase" />
</rules>
</element>

<!--PHB24 Boon Ability Score Increase-->
<element name="Ability Score Increase (Strength)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_BOON_ASI_STRENGTH">
<compendium display="false" />
<supports>Boon Ability Score Increase</supports>
<requirements>[level:19]</requirements>
<description>
<p>Your Strength increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="strength" value="1" alt="Ability Score Increase" />
<stat name="strength:max" value="10" bonus="ability"/>
</rules>
</element>
<element name="Ability Score Increase (Dexterity)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_BOON_ASI_DEXTERITY">
<compendium display="false" />
<supports>Boon Ability Score Increase</supports>
<requirements>[level:19]</requirements>
<description>
<p>Your Dexterity increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="dexterity" value="1" alt="Ability Score Increase" />
<stat name="dexterity:max" value="10" bonus="ability"/>
</rules>
</element>
<element name="Ability Score Increase (Constitution)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_BOON_ASI_CONSTITUTION">
<compendium display="false" />
<supports>Boon Ability Score Increase</supports>
<description>
<p>Your Constitution increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="constitution" value="1" alt="Ability Score Increase" />
<stat name="constitution:max" value="10" bonus="ability"/>
</rules>
</element>
<element name="Ability Score Increase (Intelligence)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_BOON_ASI_INTELLIGENCE">
<compendium display="false" />
<supports>Boon Ability Score Increase</supports>
<description>
<p>Your Intelligence increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="intelligence" value="1" alt="Ability Score Increase" />
<stat name="intelligence:max" value="10" bonus="ability"/>
</rules>
</element>
<element name="Ability Score Increase (Wisdom)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_BOON_ASI_WISDOM">
<compendium display="false" />
<supports>Boon Ability Score Increase</supports>
<description>
<p>Your Wisdom increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="wisdom" value="1" alt="Ability Score Increase" />
<stat name="wisdom:max" value="10" bonus="ability"/>
</rules>
</element>
<element name="Ability Score Increase (Charisma)" type="Ability Score Improvement" source="Internal" id="ID_WOTC_PHB24_BOON_ASI_CHARISMA">
<compendium display="false" />
<supports>Boon Ability Score Increase</supports>
<description>
<p>Your Charisma increases by 1.</p>
</description>
<setters>
<set name="allow duplicate">true</set>
</setters>
<rules>
<stat name="charisma" value="1" alt="Ability Score Increase" />
<stat name="charisma:max" value="10" bonus="ability"/>
</rules>
</element>


</elements>
57 changes: 57 additions & 0 deletions core/players-handbook-2024/backgrounds/background-acolyte.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8" ?>
<elements>
<info>
<name>Acolyte</name>
<description>Acolyte Background</description>
<author url="http://dnd.wizards.com/products/tabletop-games/rpg-products/rpg_playershandbook">Wizards of the Coast</author>
<update version="0.0.2">
<file name="background-acolyte.xml" url="https://raw.githubusercontent.com/AuroraLegacy/elements/master/core/players-handbook-2024/backgrounds/background-acolyte.xml" />
</update>
</info>

<element name="Acolyte" type="Background" source="Player’s Handbook 2024" id="ID_WOTC_PHB24_BACKGROUND_ACOLYTE">
<description>
<table>
<tr><td><b>Ability Scores:</b></td><td> Intelligence, Wisdom, Charisma</td></tr>
<tr><td><b>Feat:</b> </td><td> Magic Initiate (Cleric) (see chapter 5)</td></tr>
<tr><td><b>Skill Proficiencies:</b></td><td> Insight and Religion</td></tr>
<tr><td><b>Tool Proficiency:</b> Calligrapher’s Supplies</td><td> Calligrapher’s Supplies</td></tr>
<tr><td><b>Equipment:</b></td><td> <i>Choose A or B:</i> (A) Calligrapher’s Supplies, Book (prayers), Holy Symbol, Parchment (10 sheets), Robe, 8 GP; or (B) 50 GP</td></tr>
</table>
<p>You devoted yourself to service in a temple, either nestled in a town or secluded in a sacred grove. There you performed rites in honor of a god or pantheon. You served under a priest and studied religion. Thanks to your priest’s instruction and your own devotion, you also learned how to channel a modicum of divine power in service to your place of worship and the people who prayed there.</p>
</description>
<rules>
<grant type="Proficiency" id="ID_WOTC_PHB24_PROFICIENCY_SKILL_INSIGHT" />
<grant type="Proficiency" id="ID_WOTC_PHB24_PROFICIENCY_SKILL_RELIGION" />
<grant type="Grants" id="ID_INTERNAL_GRANTS_BACKGROUND_ASI" />
<grant type="Feat" id="ID_WOTC_PHB24_FEAT_MAGIC_INITIATE" />
Tel0k marked this conversation as resolved.
Show resolved Hide resolved
<grant type="Proficiency" id="ID_PROFICIENCY_TOOL_PROFICIENCY_CALLIGRAPHERS_SUPPLIES" />
<select type="Ability Score Improvement" name="Ability Score Improvement Option (Acolyte)" supports="ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ACOLYTE_OPTION_1|ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ACOLYTE_OPTION_2" />
</rules>
</element>

<element name="Ability Score Improvement +2, +1" type="Ability Score Improvement" source="Player’s Handbook 2024" id="ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ACOLYTE_OPTION_1">
<compendium display="false" />
<description>
<p>You can increase one of the scores by 2 and increase a different score by 1.</p>
</description>
<sheet display="false" />
<rules>
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +2" supports="ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_INTELLIGENCE_INCREASE_2|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_WISDOM_INCREASE_2|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_CHARISMA_INCREASE_2" />
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +1" supports="ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_INTELLIGENCE_INCREASE_1|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_WISDOM_INCREASE_1|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_CHARISMA_INCREASE_1" />
</rules>
</element>

<element name="Ability Score Improvement +1, +1, +1" type="Ability Score Improvement" source="Player’s Handbook 2024" id="ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ACOLYTE_OPTION_2">
<compendium display="false" />
<description>
<p>You can increase three different scores by 1.</p>
</description>
<sheet display="false" />
<rules>
<stat name="intelligence" value="1" alt="Ability Score Increase (Acolyte)" />
<stat name="wisdom" value="1" alt="Ability Score Increase (Acolyte)" />
<stat name="charisma" value="1" alt="Ability Score Increase (Acolyte)" />
</rules>
</element>
</elements>
58 changes: 58 additions & 0 deletions core/players-handbook-2024/backgrounds/background-artisan.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8" ?>
<elements>
<info>
<name>Artisan</name>
<description>Artisan Background</description>
<author url="http://dnd.wizards.com/products/tabletop-games/rpg-products/rpg_playershandbook">Wizards of the Coast</author>
<update version="0.0.2">
<file name="background-artisan.xml" url="https://raw.githubusercontent.com/AuroraLegacy/elements/master/core/players-handbook-2024/backgrounds/background-artisan.xml" />
</update>
</info>

<element name="Artisan" type="Background" source="Player’s Handbook 2024" id="ID_WOTC_PHB24_BACKGROUND_ARTISAN">
<description>
<table>
<tr><td><b>Ability Scores:</b></td><td> Strength, Dexterity, Intelligence</td></tr>
<tr><td><b>Feat:</b> </td><td> Crafter (see chapter 5)</td></tr>
<tr><td><b>Skill Proficiencies:</b></td><td> Investigation and Persuasion</td></tr>
<tr><td><b>Tool Proficiency:</b></td><td> <i>Choose one kind of Artisan's Tools</i> (see chapter 6)</td></tr>
<tr><td><b>Equipment:</b></td><td> <i>Choose A or B:</i> (A) Artisan’s Tools (same as above), 2 Pouches, Traveler's Clothes, 32 GP; or (B) 50 GP</td></tr>
</table>
<p>You began mopping floors and scrubbing counters in an artisan's workshop for a few coppers per day as soon as you were strong enough to carry a bucket. When you were old enough to apprentice, you learned to create basic crafts of your own, as well as how to sweet-talk the occasional demanding customer. Your trade has also given you a keen eyefor detail.</p>
</description>
<rules>
<grant type="Proficiency" id="ID_WOTC_PHB24_PROFICIENCY_SKILL_INVESTIGATION" />
<grant type="Proficiency" id="ID_WOTC_PHB24_PROFICIENCY_SKILL_PERSUASION" />
<grant type="Grants" id="ID_INTERNAL_GRANTS_BACKGROUND_ASI" />
<grant type="Feat" id="ID_WOTC_PHB24_FEAT_CRAFTER" />
<select type="Proficiency" name="Tool Proficiency (Artisan)" supports="Tool, Artisan tools" />
<select type="Ability Score Improvement" name="Ability Score Improvement Option (Artisan)" supports="ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ARTISAN_OPTION_1|ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ARTISAN_OPTION_2" />
</rules>
</element>

<element name="Ability Score Improvement +2, +1" type="Ability Score Improvement" source="Player’s Handbook 2024" id="ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ARTISAN_OPTION_1">
<compendium display="false" />
<description>
<p>You can increase one of the scores by 2 and increase a different score by 1.</p>
</description>
<sheet display="false" />
<rules>
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +2" supports="ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_STRENGTH_INCREASE_2|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_DEXTERITY_INCREASE_2|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_INTELLIGENCE_INCREASE_2" requirements="ID_WOTC_PHB24_BACKGROUND_ARTISAN"/>
<select type="Ability Score Improvement" name="Custom Ability Score Improvement +1" supports="ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_STRENGTH_INCREASE_1|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_DEXTERITY_INCREASE_1|ID_WOTC_TCOE_OPTION_CUSTOMIZED_ASI_INTELLIGENCE_INCREASE_1" requirements="ID_WOTC_PHB24_BACKGROUND_ARTISAN"/>
</rules>
</element>

<element name="Ability Score Improvement +1, +1, +1" type="Ability Score Improvement" source="Player’s Handbook 2024" id="ID_WOTC_PHB24_ABILITY_SCORE_IMPROVEMENT_ARTISAN_OPTION_2">
<compendium display="false" />
<description>
<p>You can increase three different scores by 1.</p>
</description>
<sheet display="false" />
<rules>
<stat name="strength" value="1" alt="Ability Score Increase (Artisan)" />
<stat name="dexterity" value="1" alt="Ability Score Increase (Artisan)" />
<stat name="intelligence" value="1" alt="Ability Score Increase (Artisan)" />
</rules>
</element>

</elements>
Loading