lost type skill check boxes
This commit is contained in:
@@ -157,8 +157,8 @@ export default class DeltaGreenActorSheet extends ActorSheet {
|
||||
skill.type = "typeSkill";
|
||||
skill.key = key;
|
||||
skill.sortLabel = skill.group + "." + skill.label;
|
||||
|
||||
skill.sortLabel = skill.sortLabel.toUpperCase();
|
||||
skill.actorType = this.actor.type;
|
||||
|
||||
if (skill.sortLabel === "" || skill.sortLabel === `DG.Skills.${key}`) {
|
||||
skill.sortLabel = skill.label;
|
||||
@@ -172,6 +172,7 @@ export default class DeltaGreenActorSheet extends ActorSheet {
|
||||
|
||||
training.type = "training";
|
||||
training.sortLabel = training.name.toUpperCase();
|
||||
training.actorType = this.actor.type;
|
||||
|
||||
sortedCustomSkills.push(training);
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<i class="fas fa-dice"></i>
|
||||
</label>
|
||||
<input class="percentile-skill-input" type="text" name="system.typedSkills.{{skill.key}}.proficiency" value="{{skill.proficiency}}" data-dtype="Number"/>
|
||||
{{#if_eq ../actorType "agent"}}
|
||||
{{#if_eq skill.actorType "agent"}}
|
||||
<input class="checkbox-skill-input" type="checkbox" name="system.typedSkills.{{skill.key}}.failure" {{checked skill.failure}} data-dtype="Boolean" {{#if skill.cannotBeImprovedByFailure}} disabled {{/if}} />
|
||||
{{/if_eq}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user