Created
March 22, 2023 16:35
-
-
Save bplus/a797c0660ce2225415ab4ed1168d3f62 to your computer and use it in GitHub Desktop.
DCC Foundry VTT Warrior sheet - with lay on hands added - March 22 2023
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace this file, with the below contents: Data/systems/dcc/templates/actor-sheet-warrior.html | |
This will add Lay on Hands to all Warrior sheets. The only difference between this file and the default existing file is this chunk: | |
<div data-skill="layOnHands" class="split-50-50"> | |
<label class="skill-check rollable" for="system.details.layOnHands.value">{{localize "DCC.LayOnHands"}}</label> | |
<input type="text" id="system.skills.layOnHands.value" name="system.skills.layOnHands.value" value="{{system.skills.layOnHands.value}}" data-dtype="String"/> | |
</div> | |
NOTE 1: I do not know if it will update existing characters, or only get added to new characters. You might need to re-make the sheet for your player. | |
NOTE 2: Also note this will show up on all DCC warrior sheets, so if you have multiple warriors, they'd need to ignore this. It's a bit more work to add a new class like 'Holy Warrior' or something, and I didn't get into that. | |
NOTE 3: Keep this link handy. I have no idea if this change would disappear if/when they do updates to the DCC templates when they find bugs, add improvements, etc. | |
<!-- You want everything after this line ----> | |
<form class="{{cssClass}}" autocomplete="off"> | |
{{!-- Hidden inputs to reflect the sheet class and force standard crit range --}} | |
<input type="hidden" id="system.details.sheetClass" name="system.details.sheetClass" value="Warrior" data-dtype="String"/> | |
{{!-- Sheet Header --}} | |
{{> systems/dcc/templates/actor-partial-pc-header.html }} | |
{{!-- Sheet Tab Navigation --}} | |
<nav class="sheet-tabs tabs" data-group="primary"> | |
<a class="item" data-tab="character">{{localize "DCC.Character"}}</a> | |
<a class="item" data-tab="equipment">{{localize "DCC.Equipment"}}</a> | |
<a class="item" data-tab="class">{{localize "DCC.Warrior"}}</a> | |
{{#if system.config.showSpells}} | |
<a class="item" data-tab="spells">{{localize "DCC.Spells"}}</a> | |
{{/if}} | |
{{#if system.config.showSkills}} | |
<a class="item" data-tab="skills">{{localize "DCC.Skills"}}</a> | |
{{/if}} | |
<a class="item" data-tab="notes">{{localize "DCC.Notes"}}</a> | |
</nav> | |
{{!-- Sheet Body --}} | |
<section class="sheet-body"> | |
{{!-- Character Tab --}} | |
{{> systems/dcc/templates/actor-partial-pc-common.html }} | |
{{!-- Equipment Tab --}} | |
{{> systems/dcc/templates/actor-partial-pc-equipment.html }} | |
{{!-- Spells Tab --}} | |
{{> systems/dcc/templates/actor-partial-wizard-spells.html }} | |
{{!-- Skills Tab --}} | |
{{> systems/dcc/templates/actor-partial-skills.html }} | |
{{!-- Notes Tab --}} | |
{{> systems/dcc/templates/actor-partial-pc-notes.html }} | |
{{!-- Class Tab --}} | |
<div class="tab" data-group="primary" data-tab="class"> | |
<div class="class"> | |
<div class="skills-container"> | |
<div class="wide split-50-25-25"> | |
<label for="system.details.critRange">{{localize "DCC.CritRange"}}</label> | |
<select class="number" name="system.details.critRange" id="system.details.critRange"> | |
{{#select system.details.critRange}} | |
<option value="20">20 - 20</option> | |
<option value="19" default>19 - 20</option> | |
<option value="18">18 - 20</option> | |
<option value="17">17 - 20</option> | |
<option value="16">16 - 20</option> | |
<option value="15">15 - 20</option> | |
<option value="14">14 - 20</option> | |
<option value="13">13 - 20</option> | |
<option value="12">12 - 20</option> | |
<option value="11">11 - 20</option> | |
<option value="10">10 - 20</option> | |
<option value="9">9 - 20</option> | |
<option value="8">8 - 20</option> | |
<option value="7">7 - 20</option> | |
<option value="6">6 - 20</option> | |
<option value="5">5 - 20</option> | |
<option value="4">4 - 20</option> | |
<option value="3">3 - 20</option> | |
<option value="2">2 - 20</option> | |
<option value="1">1 - 20</option> | |
{{/select}} | |
</select> | |
</div> | |
<div data-skill="layOnHands" class="split-50-50"> | |
<label class="skill-check rollable" for="system.details.layOnHands.value">{{localize "DCC.LayOnHands"}}</label> | |
<input type="text" id="system.skills.layOnHands.value" name="system.skills.layOnHands.value" value="{{system.skills.layOnHands.value}}" data-dtype="String"/> | |
</div> | |
<div class="wide split-50-50"> | |
<label for="system.class.luckyWeapon">{{localize "DCC.LuckyWeapon"}}</label> | |
<input class="string" type="text" id="system.class.luckyWeapon" name="system.class.luckyWeapon" value="{{system.class.luckyWeapon}}" data-dtype="String"/> | |
</div"> | |
</div> | |
<ul class="class-note flexcol"> | |
{{#dccPackExists "dcc-core-book.dcc-core-journals"}}</li> | |
<li>{{{dccLocalizeAndEnrich "DCC.WarriorClassLink"}}}</li> | |
{{/dccPackExists}} | |
<li>{{localize "DCC.AddClassLevelToInitiative"}}</li> | |
<li>{{localize "DCC.MightyDeedsOfArms"}}</li> | |
<ul class="class-note flexcol"> | |
{{#dccPackExists "dcc-core-book.dcc-core-journals"}}</li> | |
<li>{{{dccLocalizeAndEnrich "DCC.MightyDeedsLink"}}}</li> | |
{{/dccPackExists}} | |
<li><a class="external-link" href="https://github.com/foundryvtt-dcc/dcc/wiki/Mighty-Deeds"><i class="fas fa-link"></i> {{localize "DCC.MightyDeedsHowToLink"}}</a></li> | |
</div> | |
</div> | |
</div> | |
</section> | |
</form> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment