Various changes + updates

This commit is contained in:
2022-08-14 15:27:54 +02:00
parent 76c8cde3d9
commit 30ef811bbf
20 changed files with 302 additions and 57 deletions

View File

@@ -110,16 +110,16 @@
<div class="stat-item">
<ul class="stat-list alternate-list">
<li class="item flexrow list-item color-class-ranged"><a class="combat-button attack-ranged flexrow">
<li class="item flexrow list-item color-class-ranged-attack"><a class="combat-button attack-ranged flexrow">
<span class="combat-icon flexrow">
<img class="combat-icon" src="systems/fvtt-pegasus-rpg/images/icons/PER.webp">
<img class="combat-icon" src="systems/fvtt-pegasus-rpg/images/icons/AGI.webp">
</span>
<span class="generic-label combat-margin stat-text-white">Ranged Attack</span>
</a>
</li>
<li class="item flexrow list-item color-class-range"><a class="combat-button damage-ranged flexrow">
<li class="item flexrow list-item color-class-ranged-damage"><a class="combat-button damage-ranged flexrow">
<span class="combat-icon flexrow">
<img class="combat-icon" src="systems/fvtt-pegasus-rpg/images/icons/AGI.webp">
<img class="combat-icon" src="systems/fvtt-pegasus-rpg/images/icons/PER.webp">
</span>
<span class="generic-label combat-margin stat-text-white">Ranged Damage</span>
</a>
@@ -186,8 +186,8 @@
<span class="item-field-label-long">
<label class="short-label">Status</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Duration</label>
<span class="item-field-label-long">
<label class="short-label">Uses remaining</label>
</span>
<span class="item-field-label-short">
<label class="short-label">&nbsp;</label>
@@ -593,12 +593,9 @@
<span class="item-field-label-short">
<label class="short-label">DMG</label>
</span>
<span class="item-field-label-short">
<span class="item-field-label-medium">
<label class="short-label">DMGT</label>
</span>
<span class="item-field-label-short">
<label class="short-label">DMGTLVL</label>
</span>
<span class="item-field-label-long">
<label class="short-label">Ammo</label>
</span>
@@ -611,6 +608,7 @@
<span class="item-field-label-medium">
<label class="short-label">IDR</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="weapon" title="Create Item"><i class="fas fa-plus"></i></a>
</div>
@@ -623,8 +621,7 @@
<span class="item-field-label-short"><label>{{upper weapon.data.statistic}}</label></span>
<span class="item-field-label-short"><label>{{upper weapon.data.damagestatistic}}</label></span>
<span class="item-field-label-short"><label>{{weapon.data.damageDice}}</label></span>
<span class="item-field-label-short"><label>{{weapon.data.damagetype}}</label></span>
<span class="item-field-label-short"><label>{{weapon.data.damagetypelevel}}</label></span>
<span class="item-field-label-medium"><label>{{weapon.data.damagetype}} ({{weapon.data.damagetypelevel}})</label></span>
{{#if (gt weapon.data.ammomax 0)}}
<span class="item-field-label-long"><label>{{weapon.data.ammocurrent}}/{{weapon.data.ammomax}}
@@ -656,6 +653,7 @@
{{/if}}
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if weapon.data.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>

View File

@@ -36,6 +36,10 @@
{{#if weaponName}}
<li>Weapon : {{weaponName}}</li>
Damage Type: Piercing 1
{{/if}}
{{#if weapon}}
<li>Damage type : {{weapon.data.damagetype}} {{weapon.data.damagetypelevel}}</li>
{{/if}}
{{#if isResistance}}
@@ -48,8 +52,12 @@
{{/if}}
{{/if}}
<button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button>
{{#if isChatRoll}}
{{else}}
<button class="chat-card-button reroll-level-remaining" data-roll-id="{{rollId}}">Reroll</button>
{{/if}}
</ul>
</div>

View File

@@ -4,4 +4,9 @@
<img class="chat-img" src="{{img}}" title="{{name}}" />
{{/if}}
<div>{{name}} has just activated the Perk: {{perk.name}}.</div>
{{#if (count perk.data.activatedtext)}}
<div>{{perk.data.activatedtext}}</div>
{{/if}}
</div>

View File

@@ -4,4 +4,9 @@
<img class="chat-img" src="{{img}}" title="{{name}}" />
{{/if}}
<div>{{name}} has just deactivated the Perk: {{perk.name}}, make sure to manually delete all Effects provided by this Perk from Targets.</div>
{{#if (count perk.data.deactivatedtext)}}
<div>{{perk.data.deactivatedtext}}</div>
{{/if}}
</div>

View File

@@ -0,0 +1,5 @@
<section class="pegasus-chat-roll-button">
<div >
<button class="chat-card-button" id="pegasus-chat-roll-button">Roll pool</button>
</div>
</section>

View File

@@ -37,6 +37,30 @@
<li class="flexrow"><label class="generic-label">One use?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.oneuse" {{checked data.oneuse}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Ignore health penalty?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.ignorehealthpenalty" {{checked data.ignorehealthpenalty}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Is this possible ?</label>
<input type="text" class="padd-right" name="data.isthispossible" value="{{data.isthispossible}}" data-dtype="String"/>
</li>
<li class="flexrow"><label class="generic-label">Mental disruption ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.mentaldisruption" {{checked data.mentaldisruption}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Physical disruption ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.physicaldisruption" {{checked data.physicaldisruption}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Mental immunity ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.mentalimmunity" {{checked data.mentalimmunity}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Physical immunity ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.physicalimmunity" {{checked data.physicalimmunity}}/></label>
</li>
<li class="flexrow"><label class="generic-label">No bonus dice ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.nobonusdice" {{checked data.nobonusdice}}/></label>
</li>
<li class="flexrow"><label class="generic-label">No perks allowed ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.noperksallowed" {{checked data.noperksallowed}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Effect Level is a Stat?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.effectstatlevel" {{checked data.effectstatlevel}}/></label>

View File

@@ -77,6 +77,13 @@
</ul>
</li>
<li class="flexrow"><label class="generic-label">When activated display text</label>
<input type="text" class="padd-right" name="data.activatedtext" value="{{data.activatedtext}}" data-dtype="String"/>
</li>
<li class="flexrow"><label class="generic-label">When deactivated display text</label>
<input type="text" class="padd-right" name="data.deactivatedtext" value="{{data.deactivatedtext}}" data-dtype="String"/>
</li>
{{#each data.features as |feature key|}}
{{#if feature.isvalid}}
<li class="flexrow">

View File

@@ -39,8 +39,8 @@
<input type="text" class="padd-right status-small-label no-grow" name="data.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
</span>
<span class="padd-right status-small-label no-grow">
<a class="current-nrg--plus plus-minus-button">+</a>
<a class="current-nrg--minus plus-minus-button">&nbsp;-</a>
<a class="current-nrg-plus plus-minus-button">+</a>
<a class="current-nrg-minus plus-minus-button">&nbsp;-</a>
</span>
<!--<span class="stat-label flexrow status-col-name" name="momentum">

View File

@@ -79,17 +79,28 @@
</div>
</div>
<div class="flexrow">
{{#each diceList as |dice idx|}}
<span><a class="pool-add-dice" data-dice-key="{{dice.key}}" data-dice-level="{{dice.level}}"><img class="dice-pool-image"
src="{{dice.img}}"></a></span>
{{/each}}
</div>
{{#if noBonusDice}}
<div class="flexrow">
No bonus dice due to effect !
</div>
{{else}}
<div class="flexrow">
{{#each diceList as |dice idx|}}
<span><a class="pool-add-dice" data-dice-key="{{dice.key}}" data-dice-level="{{dice.level}}"><img class="dice-pool-image"
src="{{dice.img}}"></a></span>
{{/each}}
</div>
{{/if}}
</div>
<div>
{{#if isChatRoll}}
{{else}}
{{> systems/fvtt-pegasus-rpg/templates/partial-roll-select-effects.html}}
{{/if}}
</div>
</div>