forked from GitHub-Mirrors/foundry-sw5e
DND5e Core 1.3.5
DND5e Core 1.3.5 modded to SW5e System Combining with DND5e Core 1.3.2 to see one big commit since last core update DND5e Core 1.3.2 modded to SW5e System
This commit is contained in:
parent
c208552f70
commit
b56a074697
147 changed files with 3615 additions and 1875 deletions
|
@ -39,6 +39,10 @@
|
|||
{{#if hasAreaTarget}}
|
||||
<button data-action="placeTemplate">{{ localize "SW5E.PlaceTemplate" }}</button>
|
||||
{{/if}}
|
||||
|
||||
{{#if isTool}}
|
||||
<button data-action="toolCheck" data-ability="{{data.ability.value}}">{{ localize "SW5E.Use" }} {{item.name}}</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<footer class="card-footer">
|
||||
|
|
|
@ -3,6 +3,14 @@
|
|||
<label>{{ localize "SW5E.Formula" }}</label>
|
||||
<input type="text" name="formula" value="{{formula}}" disabled/>
|
||||
</div>
|
||||
{{#if chooseModifier}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.AbilityModifier" }}</label>
|
||||
<select name="ability">
|
||||
{{selectOptions abilities selected=defaultAbility}}
|
||||
</select>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.RollSituationalBonus" }}</label>
|
||||
<input type="text" name="bonus" value="" placeholder="{{ localize 'SW5E.RollExample' }}"/>
|
||||
|
@ -10,11 +18,7 @@
|
|||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.RollMode" }}</label>
|
||||
<select name="rollMode">
|
||||
{{#select rollMode}}
|
||||
{{#each rollModes as |label mode|}}
|
||||
<option value="{{mode}}">{{localize label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions rollModes selected=defaultRollMode localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
<div class="sw5e chat-card item-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 class="item-name">{{item.name}}</h3>
|
||||
</header>
|
||||
|
||||
<div class="card-content">{{{data.description.value}}}</div>
|
||||
|
||||
<div class="card-buttons">
|
||||
<button data-action="toolCheck" data-ability="{{data.ability.value}}">{{ localize "SW5E.Use" }} {{item.name}}</button>
|
||||
</div>
|
||||
|
||||
<footer class="card-footer">
|
||||
{{#each data.properties}}
|
||||
<span>{{this}}</span>
|
||||
{{/each}}
|
||||
</footer>
|
||||
</div>
|
|
@ -1,33 +0,0 @@
|
|||
<form>
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.Formula" }}</label>
|
||||
<input type="text" name="formula" value="{{formula}}" disabled/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.AbilityModifier" }}</label>
|
||||
<select name="ability">
|
||||
{{#select data.item.ability}}
|
||||
{{#each config.abilities as |ability a|}}
|
||||
<option value="{{a}}">{{ability}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.RollSituationalBonus" }}</label>
|
||||
<input type="text" name="bonus" value="" placeholder="{{ localize 'SW5E.RollExample' }}"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.RollMode" }}</label>
|
||||
<select name="rollMode">
|
||||
{{#select rollMode}}
|
||||
{{#each rollModes as |label mode|}}
|
||||
<option value="{{mode}}">{{localize label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue