forked from GitHub-Mirrors/foundry-sw5e

System main update to be inline with dnd5e 1.1.1 Added active effects to as many sheets as I thought applicable. Please check loot, I made an attempt but it may be broken All .less .css and actor .html updates were made to the old actors. New actors may be broken with this update removed templates\actors\oldActor\parts\actor-effects.html for newer templates\actors\parts\active-effects.html removed module\apps\cast-dialog, templates\apps\cast-cast.html, and templates\items\cast.html. I do not think they are used, I think they were deprecated when powers were treated as items, if not we can add them back in. **NOTE** REQUIRES Foundry 0.7.6
18 lines
703 B
HTML
18 lines
703 B
HTML
<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>
|