forked from GitHub-Mirrors/foundry-sw5e
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:
parent
67ba5b2d2d
commit
53d7284596
36 changed files with 1537 additions and 440 deletions
|
@ -235,8 +235,22 @@
|
|||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biography flexcol" data-group="primary" data-tab="biography">
|
||||
{{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}}
|
||||
<div class="tab flexrow" data-group="primary" data-tab="biography">
|
||||
<div class="characteristics flexcol">
|
||||
<label>Appearance</label>
|
||||
<textarea name="data.details.appearance">{{data.details.appearance}}</textarea>
|
||||
<label>Personality Traits</label>
|
||||
<textarea name="data.details.trait">{{data.details.trait}}</textarea>
|
||||
<label>Ideals</label>
|
||||
<textarea name="data.details.ideal">{{data.details.ideal}}</textarea>
|
||||
<label>Bonds</label>
|
||||
<textarea name="data.details.bond">{{data.details.bond}}</textarea>
|
||||
<label>Flaws</label>
|
||||
<textarea name="data.details.flaw">{{data.details.flaw}}</textarea>
|
||||
</div>
|
||||
<div class="biography">
|
||||
{{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
|
|
|
@ -150,9 +150,9 @@
|
|||
<div class="counter-value">
|
||||
<input name="data.resources.lair.value" type="checkbox" value="{{data.resources.lair.value}}"
|
||||
data-dtype="Boolean" {{checked data.resources.lair.value}}/>
|
||||
<input name="data.resources.lair.initiative" type="text" value="{{data.resources.lair.initiative}}"
|
||||
<input name="data.resources.lair.initiative" type="text" value="{{data.resources.lair.initiative}}"
|
||||
data-dtype="Number" placeholder="Init."/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
{{#each section.items as |item iid|}}
|
||||
<li class="item flexrow {{#if isDepleted}}depleted{{/if}}" data-item-id="{{item._id}}">
|
||||
<div class="item-name flexrow rollable">
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<div class="item-image" style="background-image: url('{{item.img}}')"></div>
|
||||
<h4>{{item.name}}</h4>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
{{#if section.editableName}}
|
||||
<input type="text" value="{{item.name}}">
|
||||
{{else}}
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<div class="item-image" style="background-image: url('{{item.img}}')"></div>
|
||||
<h4>
|
||||
{{item.name~}}
|
||||
{{~#if item.isStack}} ({{item.data.quantity}}){{/if}}
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
{{#each section.powers as |item i|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
<div class="item-name flexrow rollable">
|
||||
<div class="item-image" style="background-image: url({{item.img}})"></div>
|
||||
<div class="item-image" style="background-image: url('{{item.img}}')"></div>
|
||||
<h4>{{item.name}}</h4>
|
||||
{{#if item.data.uses.per }}
|
||||
<div class="item-detail power-uses">Uses {{item.data.uses.value}} / {{item.data.uses.max}}</div>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
|
@ -1,22 +0,0 @@
|
|||
<div class="sw5e chat-card consumable-card" data-actor-id="{{actor._id}}" data-item-id="{{item._id}}" {{#if tokenId}}data-token-id="{{tokenId}}"{{/if}}>
|
||||
<header class="card-header flexrow">
|
||||
<img src="{{item.img}}" title="{{item.name}}" width="36" height="36"/>
|
||||
<h3>{{item.name}}</h3>
|
||||
</header>
|
||||
|
||||
<div class="card-content">{{{data.description.value}}}</div>
|
||||
|
||||
<div class="card-buttons">
|
||||
{{#if data.hasCharges}}
|
||||
<button data-action="consume">{{ localize "SW5E.Use" }} {{data.consumableType.str}}</button>
|
||||
{{else}}
|
||||
<button disabled>{{ localize "SW5E.NoCharges" }}</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<footer class="card-footer">
|
||||
{{#each data.properties}}
|
||||
<span>{{this}}</span>
|
||||
{{/each}}
|
||||
</footer>
|
||||
</div>
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
{{#if hasSave}}
|
||||
<button data-action="save" data-ability="{{data.save.ability}}" disabled>
|
||||
{{ localize "SW5E.Save" }} {{labels.save}}
|
||||
{{ localize "SW5E.SavingThrow" }} {{labels.save}}
|
||||
</button>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
<label class="checkbox">
|
||||
<input type="checkbox" name="data.properties.{{prop}}" {{checked (lookup ../data.properties prop)}}/> {{ name }}
|
||||
</label>
|
||||
<label class="text"> <input type="text" maxlength="1" name="wpNum"/></label>
|
||||
<label class="text"> <input type="text" maxlength="2" name="wpNum"/></label>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue