Updating to Push Class skills on level up

Update from DND5E beta for Class Skills on level up and other various fixups
This commit is contained in:
supervj 2020-10-06 00:45:33 -04:00
parent 67ba5b2d2d
commit 53d7284596
36 changed files with 1537 additions and 440 deletions

View file

@ -5,7 +5,7 @@
<p class="notification error">{{localize this}}</p>
{{/each}}
{{#if hasPowerSlots}}
{{#if canUpcast}}
<div class="form-group">
<label>{{ localize "SW5E.PowerCastUpcast" }}</label>
<div class="form-fields">
@ -19,12 +19,10 @@
</div>
</div>
{{#if canUpcast}}
<div class="form-group">
<label class="checkbox"><input type="checkbox" name="consumeSlot" checked/>{{ localize "SW5E.PowerCastConsume" }}</label>
</div>
{{/if}}
{{/if}}
{{#if hasLimitedUses}}
<div class="form-group">

View file

@ -1,5 +1,5 @@
<form id="long-rest" class="dialog-content" onsubmit="event.preventDefault();">
<p>Take a long rest? On a long rest you will recover hit points, half your maximum hit dice, class resources, limited use item charges, and spell slots.</p>
<p>Take a long rest? On a long rest you will recover hit points, half your maximum hit dice, class resources, limited use item charges, and power points.</p>
{{#if promptNewDay}}
<div class="form-group">

View file

@ -1,34 +0,0 @@
<form id="power-config-form">
<p>{{ localize "SW5E.PowerCastHint" }} <strong>{{item.name}}</strong> {{ localize "SW5E.power" }}.</p>
{{#unless canCast}}
<p class="notification error">{{ localize "SW5E.PowerCastNoSlots" }}</p>
{{/unless}}
<div class="form-group">
<label>{{ localize "SW5E.PowerCastUpcast" }}</label>
<div class="form-fields">
<select name="level">
{{#select item.data.level}}
{{#each powerLevels as |l|}}
<option value="{{l.level}}" {{#unless l.canCast}}disabled{{/unless}}>{{l.label}}</option>
{{/each}}
{{/select}}
</select>
</div>
</div>
<div class="form-group">
{{#if canUpcast}}
<label class="checkbox">{{ localize "SW5E.PowerCastConsume" }} <input type="checkbox" name="consume" {{checked canCast}}/></label>
{{/if}}
{{#if hasPlaceableTemplate}}
<div class="form-group">
<label class="checkbox">{{ localize "SW5E.PlaceTemplate" }}
<input type="checkbox" name="placeTemplate" checked/>
</label>
</div>
{{/if}}
</div>
</form>