forked from GitHub-Mirrors/foundry-sw5e
Add files via upload
This commit is contained in:
parent
a59213e72e
commit
36e5bee2f4
7 changed files with 212 additions and 0 deletions
34
templates/apps/cast-cast.html
Normal file
34
templates/apps/cast-cast.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<form id="cast-config-form">
|
||||
<p>{{ localize "SW5E.SpellCastHint" }} <strong>{{item.name}}</strong> {{ localize "SW5E.cast" }}.</p>
|
||||
|
||||
{{#unless canCast}}
|
||||
<p class="notification error">{{ localize "SW5E.SpellCastNoSlots" }}</p>
|
||||
{{/unless}}
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.SpellCastUpcast" }}</label>
|
||||
<div class="form-fields">
|
||||
<select name="level">
|
||||
{{#select item.data.level}}
|
||||
{{#each castLevels 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.SpellCastConsume" }} <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>
|
Loading…
Add table
Add a link
Reference in a new issue