4 Commits

Author SHA1 Message Date
0ee42aef99 Various changes
All checks were successful
Release Creation / build (release) Successful in 58s
2025-05-29 22:41:15 +02:00
ee3a5764f0 Add maintain/duration for maleficas
All checks were successful
Release Creation / build (release) Successful in 59s
2025-05-26 21:01:07 +02:00
28ec390020 Various fixes
All checks were successful
Release Creation / build (release) Successful in 59s
2025-05-26 18:26:55 +02:00
86ee9a44ec Add Enemy sheet
All checks were successful
Release Creation / build (release) Successful in 54s
2025-05-25 22:38:24 +02:00
21 changed files with 284 additions and 88 deletions

View File

@@ -410,15 +410,15 @@ i.fvtt-hellborn {
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas {
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-template-columns: repeat(2, 1fr);
gap: 4px;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica {
display: flex;
align-items: center;
gap: 4px;
min-width: 24rem;
max-width: 24rem;
min-width: 20rem;
max-width: 20rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .controls {
font-size: 0.7rem;
@@ -426,20 +426,20 @@ i.fvtt-hellborn {
max-width: 1.8rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .name {
min-width: 28rem;
max-width: 28rem;
min-width: 10rem;
max-width: 10rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .damage {
min-width: 6rem;
max-width: 6rem;
min-width: 3.2rem;
max-width: 3.2rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .domain {
min-width: 5rem;
max-width: 5rem;
min-width: 4rem;
max-width: 4rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .level {
min-width: 3rem;
max-width: 3rem;
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-maleficas .main-div .maleficas .malefica .item-img {
width: 24px;
@@ -547,16 +547,16 @@ i.fvtt-hellborn {
max-width: 1.8rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .properties {
min-width: 18rem;
max-width: 18rem;
min-width: 16.3rem;
max-width: 16.3rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .range {
min-width: 4rem;
max-width: 4rem;
min-width: 4.5rem;
max-width: 4.5rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .ammo {
min-width: 3rem;
max-width: 3rem;
min-width: 4.5rem;
max-width: 4.5rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .weapons .weapon .type {
min-width: 3rem;
@@ -636,8 +636,12 @@ i.fvtt-hellborn {
max-width: 1.8rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .equipments .equipment .name {
min-width: 12rem;
max-width: 12rem;
min-width: 10rem;
max-width: 10rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .equipments .equipment .quantity {
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.character-equipment .main-div .equipments .equipment .item-img {
width: 24px;
@@ -1298,6 +1302,28 @@ i.fvtt-hellborn {
height: 24px;
margin: 4px 0 0 0;
}
.fvtt-hellborn .tab.enemy-traits .main-div .ailments {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 4px;
}
.fvtt-hellborn .tab.enemy-traits .main-div .ailments .ailment {
display: flex;
align-items: center;
gap: 4px;
margin-left: 4px;
min-width: 8rem;
max-width: 8rem;
}
.fvtt-hellborn .tab.enemy-traits .main-div .ailments .ailment label {
min-width: 5rem;
max-width: 5rem;
}
.fvtt-hellborn .tab.enemy-traits .main-div .ailments .ailment .item-img {
width: 24px;
height: 24px;
margin: 4px 0 0 0;
}
.fvtt-hellborn .tab.enemy-traits .main-div .maleficas {
display: grid;
grid-template-columns: repeat(1, 1fr);
@@ -1322,16 +1348,20 @@ i.fvtt-hellborn {
max-width: 1.8rem;
}
.fvtt-hellborn .tab.enemy-traits .main-div .maleficas .malefica .domain {
min-width: 5rem;
max-width: 5rem;
min-width: 4rem;
max-width: 4rem;
}
.fvtt-hellborn .tab.enemy-traits .main-div .maleficas .malefica .damage {
min-width: 3.2rem;
max-width: 3.2rem;
}
.fvtt-hellborn .tab.enemy-traits .main-div .maleficas .malefica .level {
min-width: 3rem;
max-width: 3rem;
min-width: 2rem;
max-width: 2rem;
}
.fvtt-hellborn .tab.enemy-traits .main-div .maleficas .malefica .name {
min-width: 11rem;
max-width: 11rem;
min-width: 10rem;
max-width: 10em;
}
.fvtt-hellborn .tab.enemy-traits .main-div .maleficas .malefica .item-img {
width: 24px;
@@ -2412,9 +2442,11 @@ i.fvtt-hellborn {
flex-direction: row;
}
.dice-roll .intro-chat .intro-img {
padding: 5px;
width: 80px;
align-self: center;
padding: 4px;
max-width: 80px;
min-width: 80px;
align-self: top;
text-align: center;
}
.dice-roll .intro-chat .intro-right {
display: flex;

View File

@@ -334,11 +334,8 @@
"description": {
"label": "Description"
},
"enc": {
"label": "Enc"
},
"techAge": {
"label": "Tech Age"
"quantity": {
"label": "Quantity"
}
}
},
@@ -476,6 +473,15 @@
},
"Malefica": {
"FIELDS": {
"duration": {
"label": "Duration"
},
"maintain": {
"label": "Maintain"
},
"choiceMaintainDuration": {
"label": "Choice Maintain/Duration"
},
"description": {
"label": "Description"
},
@@ -568,7 +574,10 @@
"Tarot": {
"FIELDS": {
"bonus": {
"label": "Bonus"
"label": "Upright XP Trigger"
},
"penalty": {
"label": "Reversed XP Trigger"
},
"description": {
"label": "Description"
@@ -631,6 +640,12 @@
},
"Weapon": {
"FIELDS": {
"stat": {
"label": "Stat"
},
"damageStat": {
"label": "Damage Stat"
},
"ammo": {
"label": "Ammo"
},

View File

@@ -214,6 +214,9 @@ export default class HellbornActorSheet extends HandlebarsApplicationMixin(found
if (item.type === "species-trait") {
content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-hellborn/templates/chat-trait.hbs", item.toObject())
}
if (item.type === "tarot") {
content = await foundry.applications.handlebars.renderTemplate("systems/fvtt-hellborn/templates/chat-tarot.hbs", item.toObject())
}
const chatData = {
user: game.user.id,
speaker: ChatMessage.getSpeaker({ actor: this.actor }),

View File

@@ -53,7 +53,7 @@ export const CHOICE_ADVANTAGES_DISADVANTAGES ={
export const PERK_ROLES = {
"abbetor": { id: "abbetor", label: "Abbetor" },
"blade": { id: "blade", label: "Blade" },
"brawler": { id: "brawler", label: "Brawler" },
"other": { id: "other", label: "Other" },
"gunslinger": { id: "gunslinger", label: "Gunslinger" },
"malefic": { id: "malefic", label: "Malefic" },
"mastermind": { id: "mastermind", label: "Mastermind" },
@@ -64,8 +64,7 @@ export const PERK_ROLES = {
export const MALEFICA_DOMAINS = {
"adfectus": { id: "adfectus", label: "Adfectus" },
"animalis": { id: "animalis", label: "Animalis" },
"carnes ": { id: "carnes", label: "Carnes" },
"other": { id: "other", label: "Other" },
"divinus": { id: "divinus", label: "Divinus" },
"ignis": { id: "ignis", label: "Ignis" },
"iunctio": { id: "iunctio", label: "Iunctio" },

View File

@@ -84,12 +84,18 @@ export default class HellbornRoll extends Roll {
static async prompt(options = {}) {
let formula = `3D6 + 0D6KH - 0D6KH + ${options?.rollItem?.value}`
let actor = game.actors.get(options.actorId)
switch (options.rollType) {
case "stat":
break
case "damage":
{
let formula = options.rollItem.system.damage
if (options.rollItem.system.damageStat !== "none") {
let statKey = options.rollItem.system.damageStat.toLowerCase()
let statValue = actor.system.stats[statKey].value
formula = `${formula} + ${statValue}`
}
let damageRoll = new Roll(formula)
await damageRoll.evaluate()
await damageRoll.toMessage({
@@ -99,14 +105,8 @@ export default class HellbornRoll extends Roll {
}
case "weapon":
{
let actor = game.actors.get(options.actorId)
options.weapon = foundry.utils.duplicate(options.rollItem)
let statKey = "skin"
if (options.weapon.system.weaponType === "melee") {
if ( options.weapon.system.properties.toLowerCase().match("heavy") || options.weapon.system.properties.toLowerCase().match("oversized")) {
statKey = "flesh"
}
}
let statKey = options.weapon.system.stat.toLowerCase()
options.rollItem = actor.system.stats[statKey]
}
break
@@ -224,16 +224,16 @@ export default class HellbornRoll extends Roll {
this.options.fiendishFailure = false
this.options.rollData = foundry.utils.duplicate(rollData)
if (resultType === "success") {
let nb6 = roll.terms[0].results.filter(r => r.result === 6).length
nb6 += roll.terms[3].total === 6 ? 1 : 0
let nb6 = roll.terms[0].results.filter(r => r.result >= 4).length
nb6 += roll.terms[2].total <= 4 ? 1 : 0
this.options.satanicSuccess = nb6 >= 3
if (this.options.satanicSuccess) {
resultType = "success"
}
}
if (resultType === "failure") {
let nb1 = roll.terms[0].results.filter(r => r.result === 1).length
nb1 += roll.terms[5].total === 1 ? 1 : 0
let nb1 = roll.terms[0].results.filter(r => r.result <= 3).length
nb1 += roll.terms[4].total <= 3 ? 1 : 0
this.options.fiendishFailure = nb1 >= 3
if (this.options.fiendishFailure) {
resultType = "failure"
@@ -242,6 +242,9 @@ export default class HellbornRoll extends Roll {
this.options.resultType = resultType
this.options.isSuccess = resultType === "success"
this.options.isFailure = resultType === "failure"
this.options.results = roll.terms[0].results
this.options.advantageResult = roll.terms[2].total
this.options.disadvantageResult = roll.terms[4].total
}
/**

View File

@@ -42,6 +42,21 @@ export default class HellbornEnemy extends foundry.abstract.TypeDataModel {
value: new fields.NumberField({ ...requiredInteger, initial: 1, min: 0 }),
})
// Ailments
const ailmentField = (label) => {
const schema = {
enabled: new fields.BooleanField({ required: true, initial: false }),
label: new fields.StringField({ required: true, initial: label })
}
return new fields.SchemaField(schema, { label })
}
schema.ailments = new fields.SchemaField(
Object.values(SYSTEM.AILMENTS).reduce((obj, ailment) => {
obj[ailment.id] = ailmentField(ailment.label)
return obj
}, {}),
)
schema.defense = new fields.SchemaField({
base: new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 }),
bonus: new fields.NumberField({ ...requiredInteger, initial: 0, min: 0 }),

View File

@@ -8,6 +8,7 @@ export default class HellbornEquipment extends foundry.abstract.TypeDataModel {
schema.description = new fields.HTMLField({ required: true, textSearch: true })
schema.quantity = new fields.NumberField({ required: true, initial: 1, min: 0, integer: true })
schema.cost = new fields.NumberField({ required: true, initial: 0, min: 0 })
return schema

View File

@@ -11,6 +11,11 @@ export default class HellbornMalefica extends foundry.abstract.TypeDataModel {
schema.domain = new fields.StringField({ required: true, nullable: false, choices: SYSTEM.MALEFICA_DOMAINS, initial: "adfectus" })
schema.level = new fields.StringField({ required: true, nullable: false, choices: SYSTEM.MALEFICA_LEVELS, initial: "1" })
schema.time = new fields.StringField({ required: true, initial : "" })
schema.choiceMaintainDuration = new fields.StringField({ required: true, initial : "maintain", choices: {"maintain": "Maintain", "duration": "Duration"} })
schema.duration = new fields.StringField({ required: true, initial : "" })
schema.maintain = new fields.StringField({ required: true, initial : "" })
schema.hasDamage = new fields.BooleanField({ required: true, initial: false })
schema.damage = new fields.StringField({ required: false, initial : "" })
schema.damageType = new fields.StringField({ required: false, initial : "" })

View File

@@ -7,12 +7,14 @@ export default class HellbornWeapon extends foundry.abstract.TypeDataModel {
const requiredInteger = { required: true, nullable: false, integer: true }
schema.description = new fields.HTMLField({ required: true, textSearch: true })
schema.stat = new fields.StringField({ required: true, initial: "skin", choices: {"skin": "Skin", "flesh": "Flesh" }})
schema.weaponType = new fields.StringField({ required: true, initial: "melee", choices: SYSTEM.WEAPON_TYPES })
schema.subType = new fields.StringField({ required: false, initial: "pistols", choices: SYSTEM.RANGED_SUBTYPES })
schema.properties = new fields.StringField({required: true, initial: ""})
schema.damage = new fields.StringField({required: true, initial: "1d6"})
schema.damageStat = new fields.StringField({ required: true, initial: "none", choices: {"none": "None", "skin": "Skin", "flesh": "Flesh", "heart": "Heart", "mind": "Mind", "soul": "Soul" }})
schema.damageType = new fields.StringField({ required: false, initial : "Physical" })
schema.ammo = new fields.StringField({ required: false, initial: "" })
@@ -25,4 +27,14 @@ export default class HellbornWeapon extends foundry.abstract.TypeDataModel {
/** @override */
static LOCALIZATION_PREFIXES = ["HELLBORN.Weapon"]
prepareDerivedData() {
super.prepareDerivedData();
let actor = this.parent?.actor;
if (actor) {
this.damageFormula = this.damage + (this.damageStat !== "none" ? `+${actor.system.stats[this.damageStat].value}` : "");
} else {
this.damageFormula = this.damage;
}
}
}

View File

@@ -280,34 +280,34 @@
.maleficas {
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-template-columns: repeat(2, 1fr);
gap: 4px;
.malefica {
display: flex;
align-items: center;
gap: 4px;
min-width: 24rem;
max-width: 24rem;
min-width: 20rem;
max-width: 20rem;
.controls {
font-size: 0.7rem;
min-width: 1.8rem;
max-width: 1.8rem;
}
.name {
min-width: 28rem;
max-width: 28rem;
min-width: 10rem;
max-width: 10rem;
}
.damage {
min-width: 6rem;
max-width: 6rem;
min-width: 3.2rem;
max-width: 3.2rem;
}
.domain {
min-width: 5rem;
max-width: 5rem;
min-width: 4rem;
max-width: 4rem;
}
.level {
min-width: 3rem;
max-width: 3rem;
min-width: 2rem;
max-width: 2rem;
}
.item-img {
width: 24px;
@@ -421,16 +421,16 @@
max-width: 1.8rem;
}
.properties {
min-width: 18rem;
max-width: 18rem;
min-width: 16.3rem;
max-width: 16.3rem;
}
.range {
min-width: 4rem;
max-width: 4rem;
min-width: 4.5rem;
max-width: 4.5rem;
}
.ammo {
min-width: 3rem;
max-width: 3rem;
min-width: 4.5rem;
max-width: 4.5rem;
}
.type {
min-width: 3rem;
@@ -512,8 +512,12 @@
max-width: 1.8rem;
}
.name {
min-width: 12rem;
max-width: 12rem;
min-width: 10rem;
max-width: 10rem;
}
.quantity {
min-width: 2rem;
max-width: 2rem;
}
.item-img {
width: 24px;

View File

@@ -70,7 +70,7 @@
align-items: center;
margin-bottom: 4px;
}
.splitted {
.splitted {
display: flex;
flex-direction: row;
gap: 4px;
@@ -165,7 +165,7 @@
}
}
.enemy-column {
display:flex;
display: flex;
flex-direction: row;
gap: 4px;
fieldset {
@@ -191,9 +191,9 @@
align-items: center;
gap: 4px;
margin-left: 4px;
.characteristics-label{
.characteristics-label {
color: grey;
font-size:small;
font-size: small;
label {
min-width: 3.5rem;
max-width: 3.5rem;
@@ -207,7 +207,7 @@
min-width: 4rem;
max-width: 4rem;
}
.spaced-left{
.spaced-left {
margin-left: 0.8rem;
}
input {
@@ -247,7 +247,7 @@
}
}
}
.equipments {
.equipments {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 4px;
@@ -279,6 +279,29 @@
}
}
.ailments {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 4px;
.ailment {
display: flex;
align-items: center;
gap: 4px;
margin-left: 4px;
min-width: 8rem;
max-width: 8rem;
label {
min-width: 5rem;
max-width: 5rem;
}
.item-img {
width: 24px;
height: 24px;
margin: 4px 0 0 0;
}
}
}
.maleficas {
display: grid;
grid-template-columns: repeat(1, 1fr);
@@ -301,16 +324,20 @@
max-width: 1.8rem;
}
.domain {
min-width: 5rem;
max-width: 5rem;
min-width: 4rem;
max-width: 4rem;
}
.damage {
min-width: 3.2rem;
max-width: 3.2rem;
}
.level {
min-width: 3rem;
max-width: 3rem;
min-width: 2rem;
max-width: 2rem;
}
.name {
min-width: 11rem;
max-width: 11rem;
min-width: 10rem;
max-width: 10em;
}
.item-img {
width: 24px;
@@ -370,7 +397,6 @@
}
}
}
}
.tab.enemy-biography .main-div {

View File

@@ -99,9 +99,11 @@
display: flex;
flex-direction: row;
.intro-img {
padding: 5px;
width: 80px;
align-self: center;
padding: 4px;
max-width: 80px;
min-width : 80px;
align-self: top;
text-align: center;
}
.intro-right {
display: flex;

View File

@@ -21,9 +21,9 @@
<span class="ammo" data-tooltip="Ammo">{{upperFirst item.system.ammo}}</span>
<a class="damage rollable" data-tooltip="Damage" data-item-id="{{item.id}}" data-action="roll"
data-roll-type="damage" data-roll-value="{{item.system.damage}}">
data-roll-type="damage" data-roll-value="{{item.system.damageFormula}}">
<i class="fa-regular fa-dice"></i>
{{item.system.damage}}</a>
{{item.system.damageFormula}}</a>
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"
@@ -76,6 +76,8 @@
<div class="name" data-tooltip="{{{item.system.description}}}">
{{item.name}}
</div>
<span class="quantity" data-tooltip="Quantity">{{item.system.quantity}}</span>
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"
data-item-uuid="{{item.uuid}}"><i class="fas fa-edit"></i></a>

View File

@@ -44,7 +44,7 @@
<div>
<div class="flexrow">
<div class="form-group">
<label>Upright</label>
<label><a data-action="toChat" data-item-uuid="{{upright.uuid}}">Upright</a></label>
<input class="trait" type="text" value="{{upright.name}}" disabled >
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{upright.id}}"
@@ -56,7 +56,7 @@
</div>
<div class="flexrow">
<div class="form-group">
<label>Reversed</label>
<label><a data-action="toChat" data-item-uuid="{{upright.uuid}}">Reversed</a></label>
<input class="trait" type="text" value="{{downright.name}}" disabled >
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{downright.id}}"

View File

@@ -6,6 +6,11 @@
<li><strong>Domain : </strong>{{upperFirst system.domain}}</li>
<li><strong>Level : </strong>{{getRomanLevel system.level}}</li>
<li><strong>Time : </strong>{{system.time}}</li>
{{#if (eq system.choiceMaintainDuration "duration")}}
<li><strong>Duration : </strong>{{system.duration}}</li>
{{else}}
<li><strong>Maintain : </strong>{{system.maintain}}</li>
{{/if}}
<li><strong>Range : </strong>{{system.range}}</li>
<li><strong>Target : </strong>{{system.target}}</li>
<li>{{{system.description}}}</li>

View File

@@ -14,13 +14,27 @@
{{#if weapon}}
<li><strong>Weapon : {{weapon.name}}</strong></li>
<li><strong>Properties : {{weapon.system.properties}}</strong></li>
<li><strong>Properties :</strong> {{weapon.system.properties}}</li>
{{/if}}
<li><strong>{{localize rollItem.label}} : {{rollItem.value}}</strong></li>
<li>{{localize "HELLBORN.Label.difficulty"}} : {{difficulty}}</li>
<li>Results :
{{#each results as |result|}}
{{result.result}}
{{/each}}
</li>
{{#if (gt nbAdvantages 0)}}
<li>Advantages : {{nbAdvantages}}, result {{advantageResult}}</li>
{{/if}}
{{#if (gt nbDisadvantages 0)}}
<li>Disadvantages : {{nbDisadvantages}}, result {{disadvantageResult}}</li>
{{/if}}
{{#if (eq resultType "unknown")}}
<li class="result-unknown">
{{localize "HELLBORN.Label.unknown"}}

25
templates/chat-tarot.hbs Normal file
View File

@@ -0,0 +1,25 @@
<div class="item-to-chat">
<div class="intro-chat">
<h2>{{name}}</h2>
<ul>
<li><strong>Orientation : </strong>{{system.orientation}}</li>
<li><strong>Quote : </strong>{{system.quote}}</li>
{{#if (eq system.orientation "Upright")}}
<li><strong>Upright XP Trigger : </strong>{{system.bonus}}</li>
{{else}}
<li><strong>Reversed XP Trigger : </strong>{{system.penalty}}</li>
{{/if}}
<li><strong>Description : </strong>{{{system.description}}}</li>
{{#if (eq system.orientation "Upright")}}
<li><strong>Positive Effect : </strong>{{{system.positiveEffect}}}</li>
{{else}}
<li><strong>Negative Effect : </strong>{{{system.negativeEffect}}}</li>
{{/if}}
</ul>
</div>
</div>

View File

@@ -33,6 +33,19 @@
</div>
</fieldset>
<fieldset>
<legend>{{localize "HELLBORN.Label.ailments"}}</legend>
<div class="ailments">
{{#each system.ailments as |item id|}}
<div class="ailment " data-item-id="{{item.id}}" data-item-uuid="{{item.uuid}}" data-drag="false">
<label>{{item.label}}</label> <input type="checkbox" class="checkbox" name="system.ailments.{{id}}.enabled"
{{#if item.enabled}} checked {{/if}}>
</div>
{{/each}}
</div>
</fieldset>
<div class="enemy-column">
<fieldset>
@@ -77,6 +90,14 @@
</div>
<span class="domain" data-tooltip="Domain">{{upperFirst item.system.domain}}</span>
<span class="level" data-tooltip="Level">{{getRomanLevel item.system.level}}</span>
{{#if item.system.hasDamage}}
<a class="damage rollable" data-tooltip="Damage" data-item-id="{{item.id}}" data-action="roll"
data-roll-type="damage" data-roll-value="{{item.system.damage}}">
<i class="fa-regular fa-dice"></i>
{{item.system.damage}}</a>
{{else}}
<span class="damage" data-tooltip="Damage">-</span>
{{/if}}
<div class="controls">
<a data-tooltip="{{localize 'HELLBORN.Edit'}}" data-action="edit" data-item-id="{{item.id}}"

View File

@@ -5,6 +5,7 @@
</div>
<fieldset>
{{formField systemFields.quantity value=system.quantity}}
{{formField systemFields.cost value=system.cost}}
</fieldset>

View File

@@ -8,6 +8,14 @@
{{formField systemFields.domain value=system.domain localize=true}}
{{formField systemFields.level value=system.level localize=true}}
{{formField systemFields.time value=system.time localize=true }}
{{formField systemFields.choiceMaintainDuration value=system.choiceMaintainDuration localize=true }}
{{#if (eq system.choiceMaintainDuration "duration")}}
{{formField systemFields.duration value=system.duration localize=true}}
{{else}}
{{formField systemFields.maintain value=system.maintain localize=true}}
{{/if}}
{{formField systemFields.range value=system.range localize=true}}
{{formField systemFields.target value=system.target localize=true}}
{{formField systemFields.hasDamage value=system.hasDamage localize=true}}

View File

@@ -5,6 +5,7 @@
</div>
<fieldset>
{{formField systemFields.stat value=system.stat localize=true}}
{{formField systemFields.weaponType value=system.weaponType localize=true}}
{{#if (eq system.weaponType "ranged")}}
{{formField systemFields.subType value=system.subType localize=true}}
@@ -14,6 +15,8 @@
{{formField systemFields.properties value=system.properties classes="long-input"}}
{{formField systemFields.damage value=system.damage}}
{{formField systemFields.damageStat value=system.damageStat localize=true}}
{{formField systemFields.damageType value=system.damageType}}
{{formField systemFields.cost value=system.cost}}