-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1852] Allow for choosing a skill's ability on the character sheet r…
…ather than during the intermediary roll dialog.
- Loading branch information
Showing
13 changed files
with
37 additions
and
78 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<ul class="skills-list"> | ||
{{#each config.skills as |obj s|}} | ||
{{#with (lookup ../system.skills s) as |skill|}} | ||
<li class="skill flexrow {{#if skill.value}}proficient{{/if}}" data-skill="{{s}}"> | ||
<input type="hidden" name="system.skills.{{s}}.value" value="{{skill.baseValue}}" data-dtype="Number"> | ||
<a class="proficiency-toggle skill-proficiency" title="{{skill.hover}}">{{{skill.icon}}}</a> | ||
<div class="skill-name-controls"> | ||
<h4 class="skill-name rollable">{{skill.label}}</h4> | ||
<a class="config-button" data-action="skill" title="{{localize 'DND5E.SkillConfigure'}}"> | ||
<i class="fas fa-cog"></i> | ||
</a> | ||
</div> | ||
<select class="skill-ability" name="system.skills.{{s}}.ability"> | ||
{{selectOptions @root.config.abilityAbbreviations selected=skill.ability}} | ||
</select> | ||
<span class="skill-mod" title="{{localize 'DND5E.SkillModifierHint' skill=skill.label}}"> | ||
{{numberFormat skill.total decimals=0 sign=true}} | ||
</span> | ||
<span class="skill-passive" title="{{localize 'DND5E.SkillPassiveHint' skill=skill.label}}"> | ||
({{skill.passive}}) | ||
</span> | ||
</li> | ||
{{/with}} | ||
{{/each}} | ||
</ul> |
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