Fix powers
This commit is contained in:
parent
73e1b1f68a
commit
a91eb3d7bd
@ -19,14 +19,23 @@ export const Hero6_CONFIG = {
|
|||||||
"custom": "Custom"
|
"custom": "Custom"
|
||||||
},
|
},
|
||||||
powerEquipmentType: {
|
powerEquipmentType: {
|
||||||
"adjustement": "Adjustement",
|
"adjustment": "Adjustment",
|
||||||
"attack": "Attack",
|
|
||||||
"bodyaffecting": "Bodyaffecting",
|
|
||||||
"defense": "Defense",
|
|
||||||
"mental": "Mental",
|
"mental": "Mental",
|
||||||
"movement": "Movement",
|
"movement": "Movement",
|
||||||
|
"size": "Size",
|
||||||
|
"special": "Special",
|
||||||
|
"standard": "Standard"
|
||||||
|
},
|
||||||
|
powerTypeModifiers : {
|
||||||
|
"none": "None",
|
||||||
|
"attack": "Attack",
|
||||||
|
"automaton": "Automaton",
|
||||||
|
"bodyaffecting": "Bodyaffecting",
|
||||||
|
"defense": "Defense",
|
||||||
|
"sensory": "Sensory"
|
||||||
|
},
|
||||||
|
powerSenseAffecting: {
|
||||||
|
"none": "None",
|
||||||
"senseaffecting": "Senseaffecting",
|
"senseaffecting": "Senseaffecting",
|
||||||
"sensory": "Sensory",
|
|
||||||
"special": "Special"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
0
packs/complications.db
Normal file
0
packs/complications.db
Normal file
0
packs/perks.db
Normal file
0
packs/perks.db
Normal file
0
packs/powers.db
Normal file
0
packs/powers.db
Normal file
@ -259,6 +259,10 @@ table { border: 1px solid #7a7971;}
|
|||||||
object-position: 50% 0;
|
object-position: 50% 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form .form-group label {
|
||||||
|
color: rgba(66, 66, 64, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
.button-img {
|
.button-img {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
width: 8%;
|
width: 8%;
|
||||||
|
52
system.json
52
system.json
@ -21,15 +21,6 @@
|
|||||||
],
|
],
|
||||||
"license": "LICENSE.txt",
|
"license": "LICENSE.txt",
|
||||||
"packs": [
|
"packs": [
|
||||||
{
|
|
||||||
"type": "Item",
|
|
||||||
"label": "Armors",
|
|
||||||
"name": "armor",
|
|
||||||
"path": "packs/armor.db",
|
|
||||||
"system": "fvtt-hero-system-6",
|
|
||||||
"private": false,
|
|
||||||
"flags": {}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Equipments",
|
"label": "Equipments",
|
||||||
@ -39,15 +30,6 @@
|
|||||||
"private": false,
|
"private": false,
|
||||||
"flags": {}
|
"flags": {}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"type": "Item",
|
|
||||||
"label": "Shields",
|
|
||||||
"name": "shields",
|
|
||||||
"path": "packs/shields.db",
|
|
||||||
"system": "fvtt-hero-system-6",
|
|
||||||
"private": false,
|
|
||||||
"flags": {}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Weapons",
|
"label": "Weapons",
|
||||||
@ -59,18 +41,36 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Currency",
|
"label": "Skills",
|
||||||
"name": "currency",
|
"name": "skills",
|
||||||
"path": "packs/currency.db",
|
"path": "packs/skills.db",
|
||||||
"system": "fvtt-hero-system-6",
|
"system": "fvtt-hero-system-6",
|
||||||
"private": false,
|
"private": false,
|
||||||
"flags": {}
|
"flags": {}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "Item",
|
"type": "Item",
|
||||||
"label": "Skills",
|
"label": "Powers",
|
||||||
"name": "skills",
|
"name": "powers",
|
||||||
"path": "packs/skills.db",
|
"path": "packs/powers.db",
|
||||||
|
"system": "fvtt-hero-system-6",
|
||||||
|
"private": false,
|
||||||
|
"flags": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Item",
|
||||||
|
"label": "Complications",
|
||||||
|
"name": "complications",
|
||||||
|
"path": "packs/complications.db",
|
||||||
|
"system": "fvtt-hero-system-6",
|
||||||
|
"private": false,
|
||||||
|
"flags": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Item",
|
||||||
|
"label": "Perks",
|
||||||
|
"name": "perks",
|
||||||
|
"path": "packs/perks.db",
|
||||||
"system": "fvtt-hero-system-6",
|
"system": "fvtt-hero-system-6",
|
||||||
"private": false,
|
"private": false,
|
||||||
"flags": {}
|
"flags": {}
|
||||||
@ -82,7 +82,7 @@
|
|||||||
"styles": [
|
"styles": [
|
||||||
"styles/simple.css"
|
"styles/simple.css"
|
||||||
],
|
],
|
||||||
"version": "10.0.2",
|
"version": "10.0.3",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "10",
|
"minimum": "10",
|
||||||
"verified": "10",
|
"verified": "10",
|
||||||
@ -90,7 +90,7 @@
|
|||||||
},
|
},
|
||||||
"title": "Hero System v6 for FoundrtVTT (Official)",
|
"title": "Hero System v6 for FoundrtVTT (Official)",
|
||||||
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/raw/branch/main/system.json",
|
"manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/raw/branch/main/system.json",
|
||||||
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/archive/fvtt-hero-system-6-v10.0.2.zip",
|
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-hero-system-6/archive/fvtt-hero-system-6-v10.0.3.zip",
|
||||||
"url": "https://www.uberwald.me/gitea/uberwald/",
|
"url": "https://www.uberwald.me/gitea/uberwald/",
|
||||||
"background": "images/ui/hro6_welcome_page.webp",
|
"background": "images/ui/hro6_welcome_page.webp",
|
||||||
"id": "fvtt-hero-system-6"
|
"id": "fvtt-hero-system-6"
|
||||||
|
@ -192,11 +192,7 @@
|
|||||||
"advantage",
|
"advantage",
|
||||||
"limitation",
|
"limitation",
|
||||||
"complication",
|
"complication",
|
||||||
"equipment",
|
"equipment"
|
||||||
"attack",
|
|
||||||
"defense",
|
|
||||||
"maneuver",
|
|
||||||
"movement"
|
|
||||||
],
|
],
|
||||||
"templates": {
|
"templates": {
|
||||||
"common": {
|
"common": {
|
||||||
@ -212,13 +208,17 @@
|
|||||||
},
|
},
|
||||||
"power": {
|
"power": {
|
||||||
"displayname": "",
|
"displayname": "",
|
||||||
"modifiers": [],
|
|
||||||
"petype": "",
|
"petype": "",
|
||||||
|
"typemodifier": "",
|
||||||
|
"senseaffecting": false,
|
||||||
|
"modifiers": [],
|
||||||
"levels": 0,
|
"levels": 0,
|
||||||
"quantity": 0,
|
"quantity": 0,
|
||||||
"range": "",
|
"range": "",
|
||||||
"damage": "",
|
"damage": "",
|
||||||
"endurance": 0,
|
"endurance": 0,
|
||||||
|
"hasroll": false,
|
||||||
|
"roll": 0,
|
||||||
"items": {}
|
"items": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="generic-label">Cost</label>
|
|
||||||
<input type="text" class="" name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
</div>
|
<li class="flexrow"><label class="generic-label">Cost</label>
|
||||||
|
<input type="text" class="" name="system.cost" value="{{system.cost}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -13,17 +13,20 @@
|
|||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
|
|
||||||
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
|
||||||
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
</div>
|
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
|
||||||
|
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
{{#if system.hasroll}}
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
||||||
|
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -11,11 +11,11 @@
|
|||||||
{{!-- Sheet Body --}}
|
{{!-- Sheet Body --}}
|
||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
</div>
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -13,13 +13,13 @@
|
|||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
|
||||||
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
||||||
|
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -13,11 +13,21 @@
|
|||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs}}
|
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
</div>
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs}}
|
||||||
|
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Has Roll ?</label>
|
||||||
|
<label class="item-field-label-medium"><input type="checkbox" name="system.hasroll" {{checked system.hasroll}}/></label>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
{{#if system.hasroll}}
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Roll</label>
|
||||||
|
<input type="text" class="item-field-label-medium" name="system.roll" value="{{system.roll}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -42,6 +42,10 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Levels</label>
|
||||||
|
<input type="text" class="item-field-label-medium" name="system.levels" value="{{system.levels}}" data-dtype="Number"/>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Skill Roll points</label>
|
<li class="flexrow"><label class="item-field-label-long">Skill Roll points</label>
|
||||||
<input type="text" class="item-field-label-medium" name="system.skillroll" value="{{system.skillroll}}" data-dtype="Number"/>
|
<input type="text" class="item-field-label-medium" name="system.skillroll" value="{{system.skillroll}}" data-dtype="Number"/>
|
||||||
</li>
|
</li>
|
||||||
|
@ -13,9 +13,10 @@
|
|||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||||
|
|
||||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
|
||||||
|
|
||||||
<div class="tab details" data-group="primary" data-tab="details">
|
<div class="tab details" data-group="primary" data-tab="details">
|
||||||
</div>
|
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
<div class="tab description" data-group="primary" data-tab="description">
|
<div class="tab description" data-group="primary" data-tab="description">
|
||||||
|
<div class="flexrow">
|
||||||
|
<label class="item-field-label-medium">Display name</label>
|
||||||
|
<input type="text" class="" name="system.displayname" value="{{system.displayname}}" data-dtype="string"/>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label class="generic-label">Description</label>
|
<label class="generic-label">Description</label>
|
||||||
<div class="medium-editor item-text-long-line">
|
<div class="medium-editor item-text-long-line">
|
||||||
|
@ -8,6 +8,20 @@
|
|||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Type Modifier</label>
|
||||||
|
<select class="item-field-label-long" type="text" name="system.typemodifier" value="{{system.typemodifier}}" data-dtype="String">
|
||||||
|
{{#select system.typemodifier}}
|
||||||
|
{{#each config.powerTypeModifiers as |name key|}}
|
||||||
|
<option value="{{key}}">{{name}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="flexrow"><label class="item-field-label-long">Is sense affecting ?</label>
|
||||||
|
<label class="item-field-label-medium"><input type="checkbox" name="system.senseaffecting" {{checked system.senseaffecting}}/></label>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="flexrow"><label class="item-field-label-long">Range</label>
|
<li class="flexrow"><label class="item-field-label-long">Range</label>
|
||||||
<input type="text" class="item-field-label-medium" name="system.range" value="{{system.range}}" data-dtype="String"/>
|
<input type="text" class="item-field-label-medium" name="system.range" value="{{system.range}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user