Fix powers
This commit is contained in:
parent
73e1b1f68a
commit
a91eb3d7bd
@ -19,14 +19,23 @@ export const Hero6_CONFIG = {
|
||||
"custom": "Custom"
|
||||
},
|
||||
powerEquipmentType: {
|
||||
"adjustement": "Adjustement",
|
||||
"attack": "Attack",
|
||||
"bodyaffecting": "Bodyaffecting",
|
||||
"defense": "Defense",
|
||||
"adjustment": "Adjustment",
|
||||
"mental": "Mental",
|
||||
"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",
|
||||
"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;
|
||||
}
|
||||
|
||||
form .form-group label {
|
||||
color: rgba(66, 66, 64, 0.95);
|
||||
}
|
||||
|
||||
.button-img {
|
||||
vertical-align: baseline;
|
||||
width: 8%;
|
||||
|
52
system.json
52
system.json
@ -21,15 +21,6 @@
|
||||
],
|
||||
"license": "LICENSE.txt",
|
||||
"packs": [
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Armors",
|
||||
"name": "armor",
|
||||
"path": "packs/armor.db",
|
||||
"system": "fvtt-hero-system-6",
|
||||
"private": false,
|
||||
"flags": {}
|
||||
},
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Equipments",
|
||||
@ -39,15 +30,6 @@
|
||||
"private": false,
|
||||
"flags": {}
|
||||
},
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Shields",
|
||||
"name": "shields",
|
||||
"path": "packs/shields.db",
|
||||
"system": "fvtt-hero-system-6",
|
||||
"private": false,
|
||||
"flags": {}
|
||||
},
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Weapons",
|
||||
@ -59,18 +41,36 @@
|
||||
},
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Currency",
|
||||
"name": "currency",
|
||||
"path": "packs/currency.db",
|
||||
"label": "Skills",
|
||||
"name": "skills",
|
||||
"path": "packs/skills.db",
|
||||
"system": "fvtt-hero-system-6",
|
||||
"private": false,
|
||||
"flags": {}
|
||||
},
|
||||
{
|
||||
"type": "Item",
|
||||
"label": "Skills",
|
||||
"name": "skills",
|
||||
"path": "packs/skills.db",
|
||||
"label": "Powers",
|
||||
"name": "powers",
|
||||
"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",
|
||||
"private": false,
|
||||
"flags": {}
|
||||
@ -82,7 +82,7 @@
|
||||
"styles": [
|
||||
"styles/simple.css"
|
||||
],
|
||||
"version": "10.0.2",
|
||||
"version": "10.0.3",
|
||||
"compatibility": {
|
||||
"minimum": "10",
|
||||
"verified": "10",
|
||||
@ -90,7 +90,7 @@
|
||||
},
|
||||
"title": "Hero System v6 for FoundrtVTT (Official)",
|
||||
"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/",
|
||||
"background": "images/ui/hro6_welcome_page.webp",
|
||||
"id": "fvtt-hero-system-6"
|
||||
|
@ -192,11 +192,7 @@
|
||||
"advantage",
|
||||
"limitation",
|
||||
"complication",
|
||||
"equipment",
|
||||
"attack",
|
||||
"defense",
|
||||
"maneuver",
|
||||
"movement"
|
||||
"equipment"
|
||||
],
|
||||
"templates": {
|
||||
"common": {
|
||||
@ -212,13 +208,17 @@
|
||||
},
|
||||
"power": {
|
||||
"displayname": "",
|
||||
"modifiers": [],
|
||||
"petype": "",
|
||||
"typemodifier": "",
|
||||
"senseaffecting": false,
|
||||
"modifiers": [],
|
||||
"levels": 0,
|
||||
"quantity": 0,
|
||||
"range": "",
|
||||
"damage": "",
|
||||
"endurance": 0,
|
||||
"hasroll": false,
|
||||
"roll": 0,
|
||||
"items": {}
|
||||
}
|
||||
},
|
||||
|
@ -13,11 +13,11 @@
|
||||
|
||||
{{> 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>
|
||||
<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>
|
||||
</form>
|
||||
|
@ -13,17 +13,20 @@
|
||||
|
||||
{{> 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>
|
||||
|
||||
<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>
|
||||
</form>
|
||||
|
@ -11,11 +11,11 @@
|
||||
{{!-- 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>
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs}}
|
||||
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
{{> 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">
|
||||
<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>
|
||||
</section>
|
||||
</form>
|
||||
|
@ -13,11 +13,21 @@
|
||||
|
||||
{{> 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>
|
||||
{{> 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>
|
||||
</form>
|
||||
|
@ -42,6 +42,10 @@
|
||||
{{/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>
|
||||
<input type="text" class="item-field-label-medium" name="system.skillroll" value="{{system.skillroll}}" data-dtype="Number"/>
|
||||
</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-cost.hbs}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
</div>
|
||||
{{> systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs}}
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
@ -1,4 +1,8 @@
|
||||
<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>
|
||||
<label class="generic-label">Description</label>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
|
@ -8,6 +8,20 @@
|
||||
</select>
|
||||
</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>
|
||||
<input type="text" class="item-field-label-medium" name="system.range" value="{{system.range}}" data-dtype="String"/>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user