Zusammenführung-von-Fertigkeiten,-Waffen-und-Rüstungen-im-Kampf-Tab-#15 #48
24
lang/de.json
24
lang/de.json
|
|
@ -29,11 +29,20 @@
|
||||||
|
|
||||||
"midgard5.label": "Bezeichnung",
|
"midgard5.label": "Bezeichnung",
|
||||||
"midgard5.description": "Beschreibung",
|
"midgard5.description": "Beschreibung",
|
||||||
"midgard5.attribute": "Leiteigenschaft",
|
"midgard5.Characteristic": "Merkmal",
|
||||||
|
"midgard5.characteristics": "Merkmale",
|
||||||
|
"midgard5.background": "Hintergrund",
|
||||||
|
"midgard5.attribute": "Eigenschaft",
|
||||||
|
"midgard5.attributes": "Eigenschaften",
|
||||||
|
"midgard5.points": "Punkte",
|
||||||
|
"midgard5.calculated-value": "Berechneter Wert",
|
||||||
|
"midgard5.calculated-values": "Sonstige Werte",
|
||||||
|
|
||||||
"midgard5.skill": "Fertigkeit",
|
"midgard5.skill": "Fertigkeit",
|
||||||
"midgard5.skill-value": "Fertigkeitswert",
|
"midgard5.skill-value": "Fertigkeitswert",
|
||||||
"midgard5.fw": "FW",
|
"midgard5.fw": "FW",
|
||||||
"midgard5.bonus": "Bonus",
|
"midgard5.bonus": "Bonus",
|
||||||
|
"midgard5.bonuses": "Boni",
|
||||||
"midgard5.ew": "EW",
|
"midgard5.ew": "EW",
|
||||||
"midgard5.pp-short": "PP",
|
"midgard5.pp-short": "PP",
|
||||||
"midgard5.pp": "Praxispunkte",
|
"midgard5.pp": "Praxispunkte",
|
||||||
|
|
@ -80,6 +89,8 @@
|
||||||
"midgard5.spells": "Zauber",
|
"midgard5.spells": "Zauber",
|
||||||
"midgard5.effects": "Aktive Effekte",
|
"midgard5.effects": "Aktive Effekte",
|
||||||
"midgard5.kampfkuenste": "Kampfkünste",
|
"midgard5.kampfkuenste": "Kampfkünste",
|
||||||
|
"midgard5.combat": "Kampf",
|
||||||
|
|
||||||
|
|
||||||
"midgard5.actor-name": "Figur",
|
"midgard5.actor-name": "Figur",
|
||||||
"midgard5.level": "Grad",
|
"midgard5.level": "Grad",
|
||||||
|
|
@ -221,13 +232,21 @@
|
||||||
"midgard5.new-skill": "Neue Fertigkeit",
|
"midgard5.new-skill": "Neue Fertigkeit",
|
||||||
"midgard5.special": "Spezial",
|
"midgard5.special": "Spezial",
|
||||||
"midgard5.learned-skill": "Gelernte Fertigkeit",
|
"midgard5.learned-skill": "Gelernte Fertigkeit",
|
||||||
|
"midgard5.learned-skills": "Gelernte Fertigkeiten",
|
||||||
"midgard5.language": "Sprache",
|
"midgard5.language": "Sprache",
|
||||||
|
"midgard5.languages": "Sprachen",
|
||||||
"midgard5.weapon-skill": "Waffenfertigkeit",
|
"midgard5.weapon-skill": "Waffenfertigkeit",
|
||||||
|
"midgard5.weapon-skills": "Waffenfertigkeiten",
|
||||||
"midgard5.unlearned-skill": "Ungelernte Fertigkeit",
|
"midgard5.unlearned-skill": "Ungelernte Fertigkeit",
|
||||||
"midgard5.innate-ability": "Angeborene Fähigkeit",
|
"midgard5.unlearned-skills": "Ungelernte Fertigkeiten",
|
||||||
|
"midgard5.innate-ability": "Angeborene/Besondere Fertigkeit",
|
||||||
|
"midgard5.innate-abilities": "Angeborene/Besondere Fertigkeit",
|
||||||
|
|
||||||
"midgard5.base-damage": "Grundschaden",
|
"midgard5.base-damage": "Grundschaden",
|
||||||
|
"midgard5.weapon": "Waffe",
|
||||||
|
"midgard5.weapons": "Waffen",
|
||||||
"midgard5.defensive-weapon": "Verteidigungswaffe",
|
"midgard5.defensive-weapon": "Verteidigungswaffe",
|
||||||
|
"midgard5.defensive-weapons": "Verteidigungswaffen",
|
||||||
"midgard5.no-skill": "Keine Fertigkeit",
|
"midgard5.no-skill": "Keine Fertigkeit",
|
||||||
"midgard5.magic": "magisch",
|
"midgard5.magic": "magisch",
|
||||||
"midgard5.valuable": "Vermögen",
|
"midgard5.valuable": "Vermögen",
|
||||||
|
|
@ -278,6 +297,7 @@
|
||||||
|
|
||||||
"midgard5.kampfkunst-type": "Kampfkunst Art",
|
"midgard5.kampfkunst-type": "Kampfkunst Art",
|
||||||
"midgard5.kampfkunst-variante": "Kampfkunst Variante",
|
"midgard5.kampfkunst-variante": "Kampfkunst Variante",
|
||||||
|
"midgard5.kampfkunst-variante-short": "Var",
|
||||||
"midgard5.kido-type": "Kido Art",
|
"midgard5.kido-type": "Kido Art",
|
||||||
"midgard5.kido-variante": "Kido Variante",
|
"midgard5.kido-variante": "Kido Variante",
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,14 @@ const preloadTemplates = async (): Promise<Handlebars.TemplateDelegate<any>[]> =
|
||||||
// const templates = [ rootPath + "actor/actor-sheet.hbs" ]
|
// const templates = [ rootPath + "actor/actor-sheet.hbs" ]
|
||||||
// This would map to our local folder of /Assets/Templates/Actor/actor-sheet.hbs
|
// This would map to our local folder of /Assets/Templates/Actor/actor-sheet.hbs
|
||||||
const templates: Array<string> = [
|
const templates: Array<string> = [
|
||||||
|
"sheets/character/description.hbs",
|
||||||
"sheets/character/attribute.hbs",
|
"sheets/character/attribute.hbs",
|
||||||
"sheets/character/base_values.hbs",
|
"sheets/character/base_values.hbs",
|
||||||
"sheets/character/main.hbs",
|
"sheets/character/main.hbs",
|
||||||
"sheets/character/skills.hbs",
|
"sheets/character/skills.hbs",
|
||||||
"sheets/character/gear.hbs",
|
"sheets/character/gear.hbs",
|
||||||
"sheets/character/spells.hbs",
|
"sheets/character/spells.hbs",
|
||||||
"sheets/character/kampfkuenste.hbs",
|
"sheets/character/combat.hbs",
|
||||||
"sheets/character/effects.hbs",
|
"sheets/character/effects.hbs",
|
||||||
"sheets/partial/mod.hbs",
|
"sheets/partial/mod.hbs",
|
||||||
"sheets/item/rolls.hbs",
|
"sheets/item/rolls.hbs",
|
||||||
|
|
|
||||||
|
|
@ -322,6 +322,10 @@ export class M5Character extends Actor {
|
||||||
hoarded: item.system?.hoarded,
|
hoarded: item.system?.hoarded,
|
||||||
value: item.system.value || 0,
|
value: item.system.value || 0,
|
||||||
calc: item.system.calc,
|
calc: item.system.calc,
|
||||||
|
special: item.system.special,
|
||||||
|
damageBase: item.system.damageBase,
|
||||||
|
equipped: item.system?.equipped,
|
||||||
|
containerId: item.system.containerId || "",
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -350,7 +354,10 @@ export class M5Character extends Actor {
|
||||||
valuable: item.system?.valuable,
|
valuable: item.system?.valuable,
|
||||||
hoarded: item.system?.hoarded,
|
hoarded: item.system?.hoarded,
|
||||||
value: item.system.value || 0,
|
value: item.system.value || 0,
|
||||||
|
defenseBonus: item.system.stats.defenseBonus,
|
||||||
calc: item.system.calc,
|
calc: item.system.calc,
|
||||||
|
equipped: item.system?.equipped,
|
||||||
|
containerId: item.system.containerId || "",
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -378,8 +385,10 @@ export class M5Character extends Actor {
|
||||||
valuable: item.system?.valuable,
|
valuable: item.system?.valuable,
|
||||||
hoarded: item.system?.hoarded,
|
hoarded: item.system?.hoarded,
|
||||||
value: item.system.value || 0,
|
value: item.system.value || 0,
|
||||||
|
lpProtection: item.system.lpProtection,
|
||||||
calc: item.system.calc,
|
calc: item.system.calc,
|
||||||
equipped: item.system?.equipped,
|
equipped: item.system?.equipped,
|
||||||
|
containerId: item.system.containerId || "",
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -79,12 +79,21 @@ export class M5Item extends Item {
|
||||||
calc.special = itemData.special ? 2 : 0;
|
calc.special = itemData.special ? 2 : 0;
|
||||||
calc.ew = calc.special + itemData.stats.attackBonus;
|
calc.ew = calc.special + itemData.stats.attackBonus;
|
||||||
calc.combatSkills = null;
|
calc.combatSkills = null;
|
||||||
|
calc.containers = null;
|
||||||
|
|
||||||
|
|
||||||
if (actor) {
|
if (actor) {
|
||||||
const actorCalc = character.derivedData({ weapons: true, defensiveWeapons: true, armor: true, items: true, spells: true, effects: true, kampfkuenste: true });
|
const actorCalc = character.derivedData({ weapons: true, defensiveWeapons: true, armor: true, items: true, spells: true, effects: true, kampfkuenste: true });
|
||||||
if (actorCalc) {
|
if (actorCalc) {
|
||||||
calc.ew += actorCalc.stats.attackBonus.value;
|
calc.ew += actorCalc.stats.attackBonus.value;
|
||||||
calc.combatSkills = actorCalc.skills.combat;
|
calc.combatSkills = actorCalc.skills.combat;
|
||||||
|
calc.containers = actorCalc.gear.containers;
|
||||||
|
}
|
||||||
|
const container = character.getItem(itemData.containerId);
|
||||||
|
//console.log("M5Item.prepareDerivedData:containers", itemData, container?.system)
|
||||||
|
if (container) {
|
||||||
|
container.prepareDerivedData();
|
||||||
|
const containerData = container.system;
|
||||||
}
|
}
|
||||||
|
|
||||||
const skill = character.getItem(itemData.skillId);
|
const skill = character.getItem(itemData.skillId);
|
||||||
|
|
@ -103,12 +112,21 @@ export class M5Item extends Item {
|
||||||
calc.special = itemData.special ? 2 : 0;
|
calc.special = itemData.special ? 2 : 0;
|
||||||
calc.ew = calc.special + itemData.stats.defenseBonus;
|
calc.ew = calc.special + itemData.stats.defenseBonus;
|
||||||
calc.combatSkills = null;
|
calc.combatSkills = null;
|
||||||
|
calc.containers = null;
|
||||||
|
|
||||||
if (actor) {
|
if (actor) {
|
||||||
const actorCalc = character.derivedData({ weapons: true, defensiveWeapons: true, armor: true, items: true, spells: true, effects: true, kampfkuenste: true });
|
const actorCalc = character.derivedData({ weapons: true, defensiveWeapons: true, armor: true, items: true, spells: true, effects: true, kampfkuenste: true });
|
||||||
if (actorCalc) {
|
if (actorCalc) {
|
||||||
calc.ew += actorCalc.stats.defense.value + actorCalc.stats.defenseBonus.value;
|
calc.ew += actorCalc.stats.defense.value + actorCalc.stats.defenseBonus.value;
|
||||||
calc.combatSkills = actorCalc.skills.combat;
|
calc.combatSkills = actorCalc.skills.combat;
|
||||||
|
calc.containers = actorCalc.gear.containers;
|
||||||
|
}
|
||||||
|
|
||||||
|
const container = character.getItem(itemData.containerId);
|
||||||
|
//console.log("M5Item.prepareDerivedData:containers", itemData, container?.system)
|
||||||
|
if (container) {
|
||||||
|
container.prepareDerivedData();
|
||||||
|
const containerData = container.system;
|
||||||
}
|
}
|
||||||
|
|
||||||
const skill = character.getItem(itemData.skillId);
|
const skill = character.getItem(itemData.skillId);
|
||||||
|
|
@ -128,6 +146,19 @@ export class M5Item extends Item {
|
||||||
itemData.mods[3] = { type: "attribute", id: "gw", operation: "add100", value: itemData.attributeMod.gw };
|
itemData.mods[3] = { type: "attribute", id: "gw", operation: "add100", value: itemData.attributeMod.gw };
|
||||||
itemData.mods[4] = { type: "stat", id: "lpProtection", operation: "set", value: itemData.lpProtection };
|
itemData.mods[4] = { type: "stat", id: "lpProtection", operation: "set", value: itemData.lpProtection };
|
||||||
itemData.mods[5] = { type: "stat", id: "apProtection", operation: "set", value: itemData.apProtection };
|
itemData.mods[5] = { type: "stat", id: "apProtection", operation: "set", value: itemData.apProtection };
|
||||||
|
calc.containers = null;
|
||||||
|
if (actor) {
|
||||||
|
const actorCalc = actor.derivedData({ weapons: true, defensiveWeapons: true, armor: true, items: true, spells: true, effects: true, kampfkuenste: true });
|
||||||
|
if (actorCalc) {
|
||||||
|
calc.containers = actorCalc.gear.containers;
|
||||||
|
}
|
||||||
|
const container = character.getItem(itemData.containerId);
|
||||||
|
//console.log("M5Item.prepareDerivedData:containers", itemData, container?.system)
|
||||||
|
if (container) {
|
||||||
|
container.prepareDerivedData();
|
||||||
|
const containerData = container.system;
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (itemType === "spell") {
|
} else if (itemType === "spell") {
|
||||||
calc.fw = 0;
|
calc.fw = 0;
|
||||||
if (actor) {
|
if (actor) {
|
||||||
|
|
|
||||||
|
|
@ -246,6 +246,28 @@ export default class M5CharacterSheet extends ActorSheet {
|
||||||
const roll = M5Roll.resistanceBody(this.actor);
|
const roll = M5Roll.resistanceBody(this.actor);
|
||||||
await roll.toMessage();
|
await roll.toMessage();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
html.find(".change-equipped").on("click", async (event) => {
|
||||||
|
let row = event.target.parentElement;
|
||||||
|
let itemId = row.dataset["item"];
|
||||||
|
while (!itemId) {
|
||||||
|
row = row.parentElement;
|
||||||
|
if (!row) return;
|
||||||
|
itemId = row.dataset["item"];
|
||||||
|
}
|
||||||
|
|
||||||
|
const context = this.actor as any;
|
||||||
|
const item = context.items.get(itemId);
|
||||||
|
if (item.system.equipped === true) {
|
||||||
|
item.system.equipped = false;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
item.system.equipped = true;
|
||||||
|
}
|
||||||
|
this.render();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// Drag & Drop
|
// Drag & Drop
|
||||||
const dragDrop = new DragDrop({
|
const dragDrop = new DragDrop({
|
||||||
dragSelector: ".items-list .item",
|
dragSelector: ".items-list .item",
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,11 @@
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flexcolumn-3 {
|
||||||
|
flex: 33%;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
.flexcolumn-4 {
|
.flexcolumn-4 {
|
||||||
flex: 25%;
|
flex: 25%;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
@ -167,6 +172,11 @@
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.highlight {
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-icon {
|
.table-icon {
|
||||||
|
|
@ -188,22 +198,34 @@
|
||||||
width: 5rem;
|
width: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input.checkbox {
|
||||||
|
width: 1rem;
|
||||||
|
height: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.new-skill {
|
.new-skill {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
background: rgba(0, 0, 0, 0.3);
|
background: rgba(0, 0, 0, 0.3);
|
||||||
color: rgba(255, 255, 255);
|
color: rgba(255, 255, 255);
|
||||||
|
|
||||||
button {
|
|
||||||
background: rgba(255, 255, 255, 0.5);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
button.roll-button {
|
.roll-button {
|
||||||
background: url(/icons/svg/d20-black.svg) no-repeat;
|
background: url(/icons/svg/d20-black.svg) no-repeat;
|
||||||
background-size: 24px 24px;
|
background-size: 1rem 1rem;
|
||||||
border: #000000 solid 0px;
|
border: #000000 solid 0px;
|
||||||
width: 26px;
|
width: 1rem;
|
||||||
height: 26px;
|
height: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.learn-button {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
height: 1rem;
|
||||||
|
width: 4rem;
|
||||||
|
background: rgba(255, 255, 255, 0.5);
|
||||||
|
font-size: smaller;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 0.8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.spell-process {
|
span.spell-process {
|
||||||
|
|
@ -256,15 +278,23 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.biography {
|
||||||
|
margin: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||||
|
height: 180px;
|
||||||
|
background-color: #eaead7;
|
||||||
|
}
|
||||||
|
|
||||||
.attributes {
|
.attributes {
|
||||||
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
background-color: beige;
|
background-color: beige;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
.attribute {
|
.attribute {
|
||||||
flex: 0 0 7rem;
|
flex: 0 0 6rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: 1px solid @attributeBorderColor;
|
border: 1px solid @attributeBorderColor;
|
||||||
//border-bottom: none;
|
//border-bottom: none;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
"characterDescription": {
|
"characterDescription": {
|
||||||
"info": {
|
"info": {
|
||||||
"description": "",
|
"description": "",
|
||||||
|
"background": "",
|
||||||
"class": "",
|
"class": "",
|
||||||
"race": "",
|
"race": "",
|
||||||
"magicUsing": false,
|
"magicUsing": false,
|
||||||
|
|
@ -203,7 +204,7 @@
|
||||||
},
|
},
|
||||||
"equippable": {
|
"equippable": {
|
||||||
"equippable": false,
|
"equippable": false,
|
||||||
"equipped": true
|
"equipped": false
|
||||||
},
|
},
|
||||||
"valuable": {
|
"valuable": {
|
||||||
"valuable": false,
|
"valuable": false,
|
||||||
|
|
|
||||||
|
|
@ -1,168 +1,120 @@
|
||||||
|
<div class="flexbox">
|
||||||
|
|
||||||
<table>
|
<div class="flexpart">
|
||||||
<thead>
|
<div class="flexpart-header"><img src="icons/skills/melee/maneuver-sword-katana-yellow.webp" class="flexpart-icon">{{localize "midgard5.attributes"}}</div>
|
||||||
<tr>
|
<br>
|
||||||
<th class="title" colspan="4">Eigenschaften</th>
|
<div class="attributes">
|
||||||
</tr>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="st" attribute=data.attributes.st calc=data.calc.attributes.st}}
|
||||||
</thead>
|
<div class="filler"></div>
|
||||||
<tbody>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gs" attribute=data.attributes.gs calc=data.calc.attributes.gs}}
|
||||||
<tr height = 10px></tr>
|
<div class="filler"></div>
|
||||||
<tr>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gw" attribute=data.attributes.gw calc=data.calc.attributes.gw}}
|
||||||
<td>{{localize "midgard5.magicUsing"}}</td>
|
<div class="filler"></div>
|
||||||
<td><input id="data.info.magicUsing" type="checkbox" name="data.info.magicUsing" {{checked data.info.magicUsing}}></td>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="ko" attribute=data.attributes.ko calc=data.calc.attributes.ko}}
|
||||||
<td> </td>
|
<div class="filler"></div>
|
||||||
<td> </td>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="in" attribute=data.attributes.in calc=data.calc.attributes.in}}
|
||||||
</tr>
|
<div class="filler"></div>
|
||||||
<tr>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="zt" attribute=data.attributes.zt calc=data.calc.attributes.zt}}
|
||||||
<td>{{localize "midgard5.grace"}}</td>
|
<div class="filler"></div>
|
||||||
<td><input name="data.gg" type="text" value="{{data.gg}}" data-dtype="Number" /></td>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="au" attribute=data.attributes.au calc=data.calc.attributes.au}}
|
||||||
<td>{{localize "midgard5.exp-overall"}}</td>
|
<div class="filler"></div>
|
||||||
<td><input name="data.es" type="text" value="{{data.es}}" data-dtype="Number" /></td>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="pa" attribute=data.attributes.pa calc=data.calc.attributes.pa}}
|
||||||
</tr>
|
<div class="filler"></div>
|
||||||
<tr>
|
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="wk" attribute=data.attributes.wk calc=data.calc.attributes.wk}}
|
||||||
<td>{{localize "midgard5.destiny"}}</td>
|
<div class="filler"></div>
|
||||||
<td><input name="data.sg" type="text" value="{{data.sg}}" data-dtype="Number" /></td>
|
</div>
|
||||||
<td>{{localize "midgard5.exp-available"}}</td>
|
</div>
|
||||||
<td><input name="data.ep" type="text" value="{{data.ep}}" data-dtype="Number" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{{localize "midgard5.luckPoints"}}</td>
|
|
||||||
<td><input name="data.gp" type="text" value="{{data.gp}}" data-dtype="Number" /></td>
|
|
||||||
<td>{{localize "midgard5.movementRange"}}</td>
|
|
||||||
<td><input name="data.movement" type="text" value="{{data.movement}}" data-dtype="Number" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr height = 10px></tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table style="background-color: beige;">
|
<div class="flexcolumn-2">
|
||||||
<thead>
|
<div class="flexpart">
|
||||||
<tr>
|
<div class="flexpart-header"><img src="icons/skills/social/theft-pickpocket-bribery-brown.webp" class="flexpart-icon">{{localize "midgard5.points"}}</div>
|
||||||
<th class="title">Leiteigenschaften</th>
|
<table>
|
||||||
</tr>
|
<tbody>
|
||||||
</thead>
|
<tr height = 10px></tr>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr>
|
<td>{{localize "midgard5.grace"}}</td>
|
||||||
<td><div class="attributes">
|
<td><input name="data.gg" type="text" value="{{data.gg}}" data-dtype="Number" /></td>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="st" attribute=data.attributes.st calc=data.calc.attributes.st}}
|
<td>{{localize "midgard5.exp-overall"}}</td>
|
||||||
<div class="filler"></div>
|
<td><input name="data.es" type="text" value="{{data.es}}" data-dtype="Number" /></td>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gs" attribute=data.attributes.gs calc=data.calc.attributes.gs}}
|
</tr>
|
||||||
<div class="filler"></div>
|
<tr>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="gw" attribute=data.attributes.gw calc=data.calc.attributes.gw}}
|
<td>{{localize "midgard5.destiny"}}</td>
|
||||||
<div class="filler"></div>
|
<td><input name="data.sg" type="text" value="{{data.sg}}" data-dtype="Number" /></td>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="ko" attribute=data.attributes.ko calc=data.calc.attributes.ko}}
|
<td>{{localize "midgard5.exp-available"}}</td>
|
||||||
<div class="filler"></div>
|
<td><input name="data.ep" type="text" value="{{data.ep}}" data-dtype="Number" /></td>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="in" attribute=data.attributes.in calc=data.calc.attributes.in}}
|
</tr>
|
||||||
</div></td>
|
<tr>
|
||||||
</tr>
|
<td>{{localize "midgard5.luckPoints"}}</td>
|
||||||
<tr>
|
<td><input name="data.gp" type="text" value="{{data.gp}}" data-dtype="Number" /></td>
|
||||||
<td><div class="attributes">
|
<td></td>
|
||||||
<div class="filler"></div>
|
<td></td>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="zt" attribute=data.attributes.zt calc=data.calc.attributes.zt}}
|
</tr>
|
||||||
<div class="attribute-filler-fixed"></div>
|
<tr height = 10px></tr>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="au" attribute=data.attributes.au calc=data.calc.attributes.au}}
|
</tbody>
|
||||||
<div class="attribute-filler-fixed"></div>
|
</table>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="pa" attribute=data.attributes.pa calc=data.calc.attributes.pa}}
|
</div>
|
||||||
<div class="attribute-filler-fixed"></div>
|
</div>
|
||||||
{{> "systems/midgard5/templates/sheets/character/attribute.hbs" attributeId="wk" attribute=data.attributes.wk calc=data.calc.attributes.wk}}
|
|
||||||
<div class="filler"></div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table>
|
<div class="flexcolumn-2">
|
||||||
<thead>
|
<div class="flexpart">
|
||||||
<tr>
|
<div class="flexpart-header"><img src="icons/magic/time/arrows-circling-pink.webp" class="flexpart-icon">{{localize "midgard5.calculated-values"}}</div>
|
||||||
<th class="title" colspan="4">Berechnete Werte</th>
|
<table>
|
||||||
</tr>
|
<tbody>
|
||||||
</thead>
|
<tr height = 10px></tr>
|
||||||
<tbody>
|
<tr>
|
||||||
<tr height = 10px></tr>
|
<td>{{localize "midgard5.magicUsing"}}</td>
|
||||||
<tr>
|
<td><input id="data.info.magicUsing" type="checkbox" name="data.info.magicUsing" {{checked data.info.magicUsing}}></td>
|
||||||
<td>{{localize "midgard5.brawl"}}</td>
|
<td>{{localize "midgard5.movementRange"}}</td>
|
||||||
<td class="fixed-value">{{data.calc.stats.brawl.value}}</td>
|
<td><input name="data.movement" type="text" value="{{data.movement}}" data-dtype="Number" /></td>
|
||||||
<td>{{localize "midgard5.enduranceBonus"}}</td>
|
</tr>
|
||||||
<td class="fixed-value">{{data.calc.stats.enduranceBonus}}</td>
|
<tr>
|
||||||
</tr>
|
<td>{{localize "midgard5.brawl"}}</td>
|
||||||
<tr>
|
<td class="fixed-value">{{data.calc.stats.brawl.value}}</td>
|
||||||
<td>{{localize "midgard5.defense"}}</td>
|
<td>{{localize "midgard5.enduranceBonus"}}</td>
|
||||||
<td class="fixed-value">{{data.calc.stats.defense.value}}</td>
|
<td class="fixed-value">{{data.calc.stats.enduranceBonus}}</td>
|
||||||
<td>{{localize "midgard5.defenseBonus"}}</td>
|
</tr>
|
||||||
<td class="fixed-value">{{data.calc.stats.defenseBonus.value}}</td>
|
<tr>
|
||||||
</tr>
|
<td>{{localize "midgard5.defense"}}</td>
|
||||||
<tr>
|
<td class="fixed-value">{{data.calc.stats.defense.value}}</td>
|
||||||
<td>{{localize "midgard5.damageBonus"}}</td>
|
<td>{{localize "midgard5.defenseBonus"}}</td>
|
||||||
<td class="fixed-value">{{data.calc.stats.damageBonus.value}}</td>
|
<td class="fixed-value">{{data.calc.stats.defenseBonus.value}}</td>
|
||||||
<td>{{localize "midgard5.attackBonus"}}</td>
|
</tr>
|
||||||
<td class="fixed-value">{{data.calc.stats.attackBonus.value}}</td>
|
<tr>
|
||||||
</tr>
|
<td>{{localize "midgard5.damageBonus"}}</td>
|
||||||
<tr>
|
<td class="fixed-value">{{data.calc.stats.damageBonus.value}}</td>
|
||||||
<td>{{localize "midgard5.spellCasting"}}</td>
|
<td>{{localize "midgard5.attackBonus"}}</td>
|
||||||
<td class="fixed-value">{{data.calc.stats.spellCasting.value}}</td>
|
<td class="fixed-value">{{data.calc.stats.attackBonus.value}}</td>
|
||||||
<td>{{localize "midgard5.poisonResistance"}}</td>
|
</tr>
|
||||||
<td class="fixed-value">{{data.calc.stats.poisonResistance.value}}</td>
|
<tr>
|
||||||
</tr>
|
<td>{{localize "midgard5.spellCasting"}}</td>
|
||||||
<tr>
|
<td class="fixed-value">{{data.calc.stats.spellCasting.value}}</td>
|
||||||
<td>{{localize "midgard5.resistanceMind"}}</td>
|
<td>{{localize "midgard5.poisonResistance"}}</td>
|
||||||
<td class="fixed-value">{{data.calc.stats.resistanceMind.value}}</td>
|
<td class="fixed-value">{{data.calc.stats.poisonResistance.value}}</td>
|
||||||
<td>{{localize "midgard5.resistanceBody"}}</td>
|
</tr>
|
||||||
<td class="fixed-value">{{data.calc.stats.resistanceBody.value}}</td>
|
<tr>
|
||||||
</tr>
|
<td>{{localize "midgard5.resistanceMind"}}</td>
|
||||||
<tr>
|
<td class="fixed-value">{{data.calc.stats.resistanceMind.value}}</td>
|
||||||
<td>{{localize "midgard5.movementRange"}}</td>
|
<td>{{localize "midgard5.resistanceBody"}}</td>
|
||||||
<td class="fixed-value">{{data.calc.stats.movement.value}}</td>
|
<td class="fixed-value">{{data.calc.stats.resistanceBody.value}}</td>
|
||||||
{{#if (eq data.info.race "Zwerg")}}
|
</tr>
|
||||||
<td>{{localize "midgard5.hoard"}}</td>
|
{{#if (eq data.info.race "Zwerg")}}
|
||||||
<td class="fixed-value">{{data.calc.stats.hoard}}</td>
|
<tr>
|
||||||
{{/if}}
|
<td>{{localize "midgard5.hoard"}}</td>
|
||||||
</tr>
|
<td class="fixed-value">{{data.calc.stats.hoard}}</td>
|
||||||
<tr>
|
<td></td>
|
||||||
{{#if (eq data.info.race "Zwerg")}}
|
<td></td>
|
||||||
<td>{{localize "midgard5.hoardMin"}}</td>
|
</tr>
|
||||||
<td class="fixed-value">{{data.calc.stats.hoardMin}}</td>
|
<tr>
|
||||||
<td>{{localize "midgard5.hoard-next"}}</td>
|
<td>{{localize "midgard5.hoardMin"}}</td>
|
||||||
<td class="fixed-value">{{data.calc.stats.hoardNext}}</td>
|
<td class="fixed-value">{{data.calc.stats.hoardMin}}</td>
|
||||||
{{/if}}
|
<td>{{localize "midgard5.hoard-next"}}</td>
|
||||||
</tr>
|
<td class="fixed-value">{{data.calc.stats.hoardNext}}</td>
|
||||||
<tr height = 10px></tr>
|
</tr>
|
||||||
</tbody>
|
{{/if}}
|
||||||
</table>
|
|
||||||
|
|
||||||
<table>
|
<tr height = 10px></tr>
|
||||||
<thead>
|
</tbody>
|
||||||
<tr>
|
</table>
|
||||||
<th class="title" colspan="4">Beschreibung</th>
|
</div>
|
||||||
</tr>
|
</div>
|
||||||
</thead>
|
</div>
|
||||||
<tbody>
|
|
||||||
<tr height = 10px></tr>
|
|
||||||
<tr>
|
|
||||||
<td>{{localize "midgard5.origin"}}</td>
|
|
||||||
<td><input name="data.info.origin" type="text" value="{{data.info.origin}}" data-dtype="String" /></td>
|
|
||||||
<td>{{localize "midgard5.gender"}}</td>
|
|
||||||
<td><input name="data.info.gender" type="text" value="{{data.info.gender}}" data-dtype="String" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{{localize "midgard5.weight"}}</td>
|
|
||||||
<td><input name="data.info.weight" type="text" value="{{data.info.weight}}" data-dtype="String" /></td>
|
|
||||||
<td>{{localize "midgard5.height"}}</td>
|
|
||||||
<td><input name="data.info.height" type="text" value="{{data.info.height}}" data-dtype="String" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{{localize "midgard5.shape"}}</td>
|
|
||||||
<td><input name="data.info.shape" type="text" value="{{data.info.shape}}" data-dtype="String" /></td>
|
|
||||||
<td>{{localize "midgard5.age"}}</td>
|
|
||||||
<td><input name="data.info.age" type="text" value="{{data.info.age}}" data-dtype="String" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{{localize "midgard5.caste"}}</td>
|
|
||||||
<td><input name="data.info.caste" type="text" value="{{data.info.caste}}" data-dtype="String" /></td>
|
|
||||||
<td>{{localize "midgard5.faith"}}</td>
|
|
||||||
<td><input name="data.info.faith" type="text" value="{{data.info.faith}}" data-dtype="String" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr height = 10px></tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
|
||||||
|
|
@ -0,0 +1,189 @@
|
||||||
|
<div class="flexbox">
|
||||||
|
<div class="flexcolumn-3">
|
||||||
|
<div class="flexpart">
|
||||||
|
<div class="flexpart-header"><img src="icons/skills/melee/hand-grip-sword-white-brown.webp" class="flexpart-icon">{{localize "midgard5.attack"}}</div>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="title">{{localize "TYPES.Item.weapon"}}</th>
|
||||||
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
|
<th class="title">{{localize "midgard5.damage"}}</th>
|
||||||
|
<th class="title center"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||||
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.gear.weapons as |item itemId|}}
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item {{#if item.special}}highlight{{/if}}">{{item.label}}{{#if item.special}}(*){{/if}}</td>
|
||||||
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
||||||
|
<td class="fixed-value">{{item.damageBase}}</td>
|
||||||
|
<td class="change-equipped">
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td><button class="roll-button roll-weapon-button"></button></td>
|
||||||
|
</tr>
|
||||||
|
{{/if}}
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item">{{localize "midgard5.brawl"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.brawlFw}}</td>
|
||||||
|
<td class="fixed-value">1d6 -4</td>
|
||||||
|
<td> </td>
|
||||||
|
<td><button class="roll-button roll-brawl-button"></button></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="title">{{localize "TYPES.Item.kampfkunst"}}</th>
|
||||||
|
<th class="title">{{localize "midgard5.kampfkunst-variante-short"}}</th>
|
||||||
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
|
<th class="title"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.kampfkuenste as |item itemId|}}
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item">{{item.label}}</td>
|
||||||
|
<td>
|
||||||
|
{{#if item.isKido}}
|
||||||
|
<span class="spell-process">{{localize (m5concat "midgard5.kido-type-" item.type)}}</span>
|
||||||
|
{{#unless (eq item.type "finte")}}
|
||||||
|
<span class="spell-process">({{localize (m5concat "midgard5.kido-variante-" item.variante)}})</span>
|
||||||
|
{{/unless}}
|
||||||
|
{{else}}
|
||||||
|
<span class="spell-process">{{localize (m5concat "midgard5.kampfkunst-type-" item.type)}}</span>
|
||||||
|
{{#if (eq item.type "angriff")}}
|
||||||
|
<span class="spell-process">({{localize (m5concat "midgard5.kampfkunst-variante-" item.variante)}})</span>
|
||||||
|
{{/if}}
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
||||||
|
<td><button class="roll-button roll-weapon-button" /></td>
|
||||||
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flexcolumn-3">
|
||||||
|
<div class="flexpart">
|
||||||
|
<div class="flexpart-header"><img src="icons/magic/time/arrows-circling-pink.webp" class="flexpart-icon">{{localize "midgard5.calculated-values"}}</div>
|
||||||
|
<table>
|
||||||
|
<tr height = 10px></tr>
|
||||||
|
<tr>
|
||||||
|
<td>{{localize "midgard5.movementRange"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.movement.value}}</td>
|
||||||
|
Byroks marked this conversation as resolved
Outdated
|
|||||||
|
<td> </td>
|
||||||
|
<td class="fixed-value"> </td>
|
||||||
|
</tr>
|
||||||
|
<td>{{localize "midgard5.defense"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.defense.value}}</td>
|
||||||
|
<td>{{localize "midgard5.defenseBonus"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.defenseBonus.value}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>{{localize "midgard5.damageBonus"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.damageBonus.value}}</td>
|
||||||
|
<td>{{localize "midgard5.attackBonus"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.attackBonus.value}}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flexcolumn-3">
|
||||||
|
<div class="flexpart">
|
||||||
|
<div class="flexpart-header"><img src="icons/skills/melee/shield-block-gray-orange.webp" class="flexpart-icon">{{localize "midgard5.defense"}}</div>
|
||||||
|
<table>
|
||||||
|
<tr height = 10px></tr>
|
||||||
|
<tr>
|
||||||
|
<td class="padding edit-item highlight">{{localize "midgard5.defense"}}</td>
|
||||||
|
<td class="center">{{add data.calc.stats.defense.value data.calc.stats.defenseBonus.value}}</td>
|
||||||
|
<td class="fixed-value"><button class="roll-button roll-defense-button"></button></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="padding edit-item highlight">{{localize "midgard5.resistanceMind"}}</td>
|
||||||
|
<td class="center">{{data.calc.stats.resistanceMind.value}}</td>
|
||||||
|
<td class="fixed-value"><button class="roll-button roll-resistanceMind-button"></button></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="padding edit-item highlight">{{localize "midgard5.resistanceBody"}}</td>
|
||||||
|
<td class="center">{{data.calc.stats.resistanceBody.value}}</td>
|
||||||
|
<td class="fixed-value"><button class="roll-button roll-resistanceBody-button"></button></td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</table>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="title">{{localize "TYPES.Item.defensiveWeapon"}}</th>
|
||||||
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
|
<th class="title">{{localize "midgard5.defenseBonus-short"}}</th>
|
||||||
|
<th class="title center"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||||
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.gear.defensiveWeapons as |item itemId|}}
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item">{{item.label}}</td>
|
||||||
|
<td class="fixed-value">{{item.calc.ew}}</td>
|
||||||
|
<td class="fixed-value">{{item.defenseBonus}}</td>
|
||||||
|
<td class="change-equipped">
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td><button class="roll-button roll-weapon-button"></button></td>
|
||||||
|
</tr>
|
||||||
|
{{/if}}
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="title">{{localize "TYPES.Item.armor"}}</th>
|
||||||
|
<th class="title">{{localize "midgard5.actor-lp-short"}}</th>
|
||||||
|
<th class="title center"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.gear.armor as |item itemId|}}
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding">{{item.label}}</td>
|
||||||
|
<td class="fixed-value">{{lpProtection}}</td>
|
||||||
|
<td class="change-equipped">
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{{/if}}
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -0,0 +1,50 @@
|
||||||
|
<div class="flexbox">
|
||||||
|
<div class="flexcolumn-1">
|
||||||
|
<div class="flexpart">
|
||||||
|
<div class="flexpart-header"><img src="icons/commodities/cloth/thread-spindle-white-needle.webp" class="flexpart-icon">{{localize "midgard5.characteristics"}}</div>
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr height = 10px></tr>
|
||||||
|
<tr>
|
||||||
|
<td>{{localize "midgard5.origin"}}</td>
|
||||||
|
<td><input name="data.info.origin" type="text" value="{{data.info.origin}}" data-dtype="String" /></td>
|
||||||
|
<td>{{localize "midgard5.gender"}}</td>
|
||||||
|
<td><input name="data.info.gender" type="text" value="{{data.info.gender}}" data-dtype="String" /></td>
|
||||||
|
<td>{{localize "midgard5.shape"}}</td>
|
||||||
|
<td><input name="data.info.shape" type="text" value="{{data.info.shape}}" data-dtype="String" /></td>
|
||||||
|
<td>{{localize "midgard5.age"}}</td>
|
||||||
|
<td><input name="data.info.age" type="text" value="{{data.info.age}}" data-dtype="String" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>{{localize "midgard5.weight"}}</td>
|
||||||
|
<td><input name="data.info.weight" type="text" value="{{data.info.weight}}" data-dtype="String" /></td>
|
||||||
|
<td>{{localize "midgard5.height"}}</td>
|
||||||
|
<td><input name="data.info.height" type="text" value="{{data.info.height}}" data-dtype="String" /></td>
|
||||||
|
<td>{{localize "midgard5.caste"}}</td>
|
||||||
|
<td><input name="data.info.caste" type="text" value="{{data.info.caste}}" data-dtype="String" /></td>
|
||||||
|
<td>{{localize "midgard5.faith"}}</td>
|
||||||
|
<td><input name="data.info.faith" type="text" value="{{data.info.faith}}" data-dtype="String" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr height = 10px></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flexcolumn-1">
|
||||||
|
<div class="flexpart" style="height: 250px;">
|
||||||
|
<div class="flexpart-header"><img src="icons/environment/wilderness/mine-interior-dungeon-door.webp" class="flexpart-icon">{{localize "midgard5.description"}}</div>
|
||||||
|
<br>
|
||||||
|
<div class="biography">{{editor characterDescription target="data.info.description" button=false }}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flexcolumn-1">
|
||||||
|
<div class="flexpart" style="height: 250px;">
|
||||||
|
<div class="flexpart-header"><img src="icons/environment/people/group.webp" class="flexpart-icon">{{localize "midgard5.background"}}</div>
|
||||||
|
<br>
|
||||||
|
<div class="biography">{{editor characterBackground target="data.info.background" button=false}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="flexcolumn-2">
|
<div class="flexcolumn-2">
|
||||||
|
|
||||||
<div class="flexpart">
|
<div class="flexpart">
|
||||||
<div class="flexpart-header"><img src="icons/commodities/currency/coins-assorted-mix-copper-silver-gold.webp" class="flexpart-icon">Geld</div>
|
<div class="flexpart-header"><img src="icons/commodities/currency/coins-assorted-mix-copper-silver-gold.webp" class="flexpart-icon">{{localize "midgard5.currency"}}</div>
|
||||||
<table>
|
<table>
|
||||||
<thead class="theader">
|
<thead class="theader">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
<div class="flexpart-header">
|
<div class="flexpart-header">
|
||||||
<img src="icons/tools/hand/scale-balances-merchant-brown.webp" class="flexpart-icon">
|
<img src="icons/tools/hand/scale-balances-merchant-brown.webp" class="flexpart-icon">
|
||||||
{{localize "midgard5.gear"}}
|
{{localize "midgard5.gear"}}
|
||||||
(alle <input id="data.info.showAllItems" type="checkbox" name="data.info.showAllItems" {{checked data.info.showAllItems}}>)
|
(alle <input id="data.info.showAllItems" class="checkbox" type="checkbox" name="data.info.showAllItems" {{checked data.info.showAllItems}}>)
|
||||||
</div>
|
</div>
|
||||||
<table>
|
<table>
|
||||||
<thead class="theader">
|
<thead class="theader">
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<th class="title">{{localize "TYPES.Item.item"}}</th>
|
<th class="title">{{localize "TYPES.Item.item"}}</th>
|
||||||
<th class="title center">{{localize "midgard5.item-quantity"}}</th>
|
<th class="title center">{{localize "midgard5.item-quantity"}}</th>
|
||||||
<th class="title center">{{localize "midgard5.item-value"}}</th>
|
<th class="title center">{{localize "midgard5.item-value"}}</th>
|
||||||
<th class="title center"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
<th class="title"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||||
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
<th class="title"> </th>
|
<th class="title"> </th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -66,19 +66,123 @@
|
||||||
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="change-equipped">
|
||||||
{{#if item.equipped}}
|
{{#if item.equipped}}
|
||||||
<img src="/systems/midgard5/assets/icons/icon/confirmed.svg" class="table-icon">
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class="fixed-value">{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
<td>{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="flexpart">
|
||||||
|
<div class="flexpart-header"><img src="icons/weapons/swords/sword-guard-engraved-worn.webp" class="flexpart-icon">{{localize "midgard5.weapons"}}</div>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="title">{{localize "TYPES.Item.weapon"}}</th>
|
||||||
|
<th class="title center">{{localize "midgard5.item-value"}}</th>
|
||||||
|
<th class="title"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||||
|
<th class="title"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.gear.weapons as |item itemId|}}
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item">{{item.label}}</td>
|
||||||
|
<td style="text-align: start">
|
||||||
|
{{#unless (or (eq item.value 0) (eq item.currency ""))}}
|
||||||
|
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||||
|
{{/unless}}
|
||||||
|
</td>
|
||||||
|
<td class="change-equipped">
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flexpart">
|
||||||
|
<div class="flexpart-header"><img src="icons/equipment/shield/heater-wooden-brown-axe.webp" class="flexpart-icon">{{localize "midgard5.defensive-weapons"}}</div>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="title">{{localize "TYPES.Item.defensiveWeapon"}}</th>
|
||||||
|
<th class="title center">{{localize "midgard5.item-value"}}</th>
|
||||||
|
<th class="title"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||||
|
<th class="title"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.gear.defensiveWeapons as |item itemId|}}
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item">{{item.label}}</td>
|
||||||
|
<td style="text-align: start">
|
||||||
|
{{#unless (or (eq item.value 0) (eq item.currency ""))}}
|
||||||
|
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||||
|
{{/unless}}
|
||||||
|
</td>
|
||||||
|
<td class="change-equipped">
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="flexpart">
|
||||||
|
<div class="flexpart-header"><img src="icons/equipment/hand/gauntlet-armored-steel-grey.webp" class="flexpart-icon">{{localize "midgard5.armor"}}</div>
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="title">{{localize "TYPES.Item.armor"}}</th>
|
||||||
|
<th class="title center">{{localize "midgard5.item-value"}}</th>
|
||||||
|
<th class="title"><img src="/systems/midgard5/assets/icons/icon/battle-gear.svg" class="table-icon"></th>
|
||||||
|
<th class="title"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.gear.armor as |item itemId|}}
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item">{{item.label}}</td>
|
||||||
|
<td style="text-align: start">
|
||||||
|
{{#unless (or (eq item.value 0) (eq item.currency ""))}}
|
||||||
|
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||||
|
{{/unless}}
|
||||||
|
</td>
|
||||||
|
<td class="change-equipped">
|
||||||
|
{{#if item.equipped}}
|
||||||
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
|
{{/if}}
|
||||||
|
</td>
|
||||||
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flexcolumn-2">
|
<div class="flexcolumn-2">
|
||||||
|
|
@ -107,13 +211,15 @@
|
||||||
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="change-equipped">
|
||||||
{{#if item.equipped}}
|
{{#if item.equipped}}
|
||||||
<img src="/systems/midgard5/assets/icons/icon/confirmed.svg" class="table-icon">
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class="fixed-value">{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
<td>{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
@ -152,13 +258,15 @@
|
||||||
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
<span class="spell-process">{{item.value}} {{localize (m5concat "midgard5.currency-" item.currency)}}</span>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="change-equipped">
|
||||||
{{#if item.equipped}}
|
{{#if item.equipped}}
|
||||||
<img src="/systems/midgard5/assets/icons/icon/confirmed.svg" class="table-icon">
|
<i class="fa-solid fa-circle-check"></i>
|
||||||
|
{{else}}
|
||||||
|
<i class="fa-regular fa-circle"></i>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</td>
|
</td>
|
||||||
<td class="fixed-value">{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
<td>{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
|
||||||
|
|
@ -1,136 +0,0 @@
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="title">{{localize "TYPES.Item.kampfkunst"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
||||||
<th class="title"></th>
|
|
||||||
<th class="title"></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{{#each data.calc.kampfkuenste as |item itemId|}}
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding edit-item">
|
|
||||||
<span>{{item.label}}</span>
|
|
||||||
{{#if item.isKido}}
|
|
||||||
<span class="spell-process">{{localize (m5concat "midgard5.kido-type-" item.type)}}</span>
|
|
||||||
{{#unless (eq item.type "finte")}}
|
|
||||||
<span class="spell-process">({{localize (m5concat "midgard5.kido-variante-" item.variante)}})</span>
|
|
||||||
{{/unless}}
|
|
||||||
{{else}}
|
|
||||||
<span class="spell-process">{{localize (m5concat "midgard5.kampfkunst-type-" item.type)}}</span>
|
|
||||||
{{#if (eq item.type "angriff")}}
|
|
||||||
<span class="spell-process">({{localize (m5concat "midgard5.kampfkunst-variante-" item.variante)}})</span>
|
|
||||||
{{/if}}
|
|
||||||
{{/if}}
|
|
||||||
</td>
|
|
||||||
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-weapon-button" /></td>
|
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
||||||
</tr>
|
|
||||||
{{/each}}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="title">{{localize "TYPES.Item.weapon"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
||||||
<th class="title"></th>
|
|
||||||
<th class="title"></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{{#each data.calc.gear.weapons as |item itemId|}}
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding edit-item">{{item.label}}</td>
|
|
||||||
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-weapon-button"></button></td>
|
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
||||||
</tr>
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding edit-item">{{localize "midgard5.brawl"}}</td>
|
|
||||||
<td class="center">{{data.calc.stats.brawlFw}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-brawl-button"></button></td>
|
|
||||||
<td class="fixed-value"></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="title">{{localize "TYPES.Item.defensiveWeapon"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
||||||
<th class="title"></th>
|
|
||||||
<th class="title"></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{{#each data.calc.gear.defensiveWeapons as |item itemId|}}
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding edit-item">{{item.label}}</td>
|
|
||||||
<td class="fixed-value">{{item.calc.ew}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-weapon-button"></button></td>
|
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
||||||
</tr>
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding edit-item">{{localize "midgard5.defense"}}</td>
|
|
||||||
<td class="center">{{add data.calc.stats.defense.value data.calc.stats.defenseBonus.value}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-defense-button"></button></td>
|
|
||||||
<td class="fixed-value"></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding edit-item">{{localize "midgard5.resistanceMind"}}</td>
|
|
||||||
<td class="center">{{data.calc.stats.resistanceMind.value}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-resistanceMind-button"></button></td>
|
|
||||||
<td class="fixed-value"></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding edit-item">{{localize "midgard5.resistanceBody"}}</td>
|
|
||||||
<td class="center">{{data.calc.stats.resistanceBody.value}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-resistanceBody-button"></button></td>
|
|
||||||
<td class="fixed-value"></td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table>
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="title">{{localize "TYPES.Item.armor"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.actor-lp-short"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.actor-ap-short"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.attackBonus-short"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.defenseBonus-short"}}</th>
|
|
||||||
<th class="title">B</th>
|
|
||||||
<th class="title">Gw</th>
|
|
||||||
<th class="title"></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{{#each data.calc.gear.armor as |item itemId|}}
|
|
||||||
<tr data-item="{{itemId}}">
|
|
||||||
<td class="padding">
|
|
||||||
<span class="edit-item">{{item.label}}</span>
|
|
||||||
{{#if item.equipped}}
|
|
||||||
<span class="spell-process">{{localize "midgard5.equipped"}}</span>
|
|
||||||
{{/if}}
|
|
||||||
</td>
|
|
||||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "lpProtection" ../actor.isToken}}</td>
|
|
||||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "apProtection"}}</td>
|
|
||||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.attackBonus"}}</td>
|
|
||||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.defenseBonus"}}</td>
|
|
||||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "stats.movementBonus"}}</td>
|
|
||||||
<td class="fixed-value">{{actorItemValue ../actor._id itemId "attributeMod.gw"}}</td>
|
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
||||||
</tr>
|
|
||||||
{{/each}}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
@ -118,11 +118,12 @@
|
||||||
<a class="item active" data-tab="base_values">{{ localize "midgard5.base_values" }}</a>
|
<a class="item active" data-tab="base_values">{{ localize "midgard5.base_values" }}</a>
|
||||||
<a class="item" data-tab="skills">{{ localize "midgard5.skills" }}</a>
|
<a class="item" data-tab="skills">{{ localize "midgard5.skills" }}</a>
|
||||||
<a class="item" data-tab="gear">{{ localize "midgard5.gear" }}</a>
|
<a class="item" data-tab="gear">{{ localize "midgard5.gear" }}</a>
|
||||||
|
<a class="item" data-tab="combat">{{ localize "midgard5.combat" }}</a>
|
||||||
{{#if actor.system.info.magicUsing }}
|
{{#if actor.system.info.magicUsing }}
|
||||||
<a class="item" data-tab="spells">{{ localize "midgard5.spells" }}</a>
|
<a class="item" data-tab="spells">{{ localize "midgard5.spells" }}</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<a class="item" data-tab="kampfkuenste">{{ localize "midgard5.kampfkuenste" }}</a>
|
|
||||||
<a class="item" data-tab="effects">{{ localize "midgard5.effects" }}</a>
|
<a class="item" data-tab="effects">{{ localize "midgard5.effects" }}</a>
|
||||||
|
<a class="item" data-tab="description">{{ localize "midgard5.description" }}</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<section class="sheet-content">
|
<section class="sheet-content">
|
||||||
|
|
@ -139,16 +140,20 @@
|
||||||
{{> "systems/midgard5/templates/sheets/character/gear.hbs"}}
|
{{> "systems/midgard5/templates/sheets/character/gear.hbs"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab base_values flexcol" data-group="primary" data-tab="spells">
|
<div class="tab base_values flexcol" data-group="primary" data-tab="combat">
|
||||||
{{> "systems/midgard5/templates/sheets/character/spells.hbs"}}
|
{{> "systems/midgard5/templates/sheets/character/combat.hbs"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab base_values flexcol" data-group="primary" data-tab="kampfkuenste">
|
<div class="tab base_values flexcol" data-group="primary" data-tab="spells">
|
||||||
{{> "systems/midgard5/templates/sheets/character/kampfkuenste.hbs"}}
|
{{> "systems/midgard5/templates/sheets/character/spells.hbs"}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="tab base_values flexcol" data-group="primary" data-tab="effects">
|
<div class="tab base_values flexcol" data-group="primary" data-tab="effects">
|
||||||
{{> "systems/midgard5/templates/sheets/character/effects.hbs"}}
|
{{> "systems/midgard5/templates/sheets/character/effects.hbs"}}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="tab base_values flexcol" data-group="primary" data-tab="description">
|
||||||
|
{{> "systems/midgard5/templates/sheets/character/description.hbs"}}
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</form>
|
</form>
|
||||||
|
|
@ -1,153 +1,171 @@
|
||||||
<table>
|
<div class="flexbox">
|
||||||
<thead>
|
<div class="flexcolumn-2">
|
||||||
<tr>
|
|
||||||
<th class="title">{{localize "midgard5.learned-skill"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.fw"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.bonus"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
|
||||||
<th class="title">{{localize "midgard5.pp-short"}}</th>
|
|
||||||
<th class="title"></th>
|
|
||||||
<th class="title"></th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{{#each data.calc.skills.general as |skill skillId|}}
|
|
||||||
<tr data-item="{{skillId}}">
|
|
||||||
<td class="padding edit-item">{{skill.label}}</td>
|
|
||||||
<td class="fixed-value">{{skill.fw}}</td>
|
|
||||||
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
|
||||||
<td class="fixed-value">{{skill.calc.ew}}</td>
|
|
||||||
<td class="fixed-value">{{skill.pp}}</td>
|
|
||||||
<td class="fixed-value"><button class="roll-button roll-learned-button"></button></td>
|
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
|
||||||
</tr>
|
|
||||||
{{/each}}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<table>
|
<div class="flexpart">
|
||||||
<thead>
|
<div class="flexpart-header"><img src="icons/creatures/eyes/human-single-brown.webp" class="flexpart-icon">{{localize "midgard5.innate-abilities"}}</div>
|
||||||
<tr>
|
<table>
|
||||||
<th class="title">{{localize "midgard5.language"}}</th>
|
<thead>
|
||||||
<th class="title">{{localize "midgard5.fw"}}</th>
|
<tr>
|
||||||
<th class="title">{{localize "midgard5.bonus"}}</th>
|
<th class="title">{{localize "midgard5.innate-ability"}}</th>
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
<th class="title">{{localize "midgard5.fw"}}</th>
|
||||||
<th class="title">{{localize "midgard5.pp-short"}}</th>
|
<th class="title">{{localize "midgard5.bonus"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
</tr>
|
<th class="title"></th>
|
||||||
</thead>
|
</tr>
|
||||||
<tbody>
|
</thead>
|
||||||
{{#each data.calc.skills.language as |skill skillId|}}
|
<tbody>
|
||||||
<tr data-item="{{skillId}}">
|
{{#each data.calc.skills.innate as |skill skillId|}}
|
||||||
<td class="padding edit-item">{{skill.label}}</td>
|
<tr data-item="{{skillId}}">
|
||||||
<td class="fixed-value">{{skill.fw}}</td>
|
<td class="padding edit-item">{{skill.label}}</td>
|
||||||
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
<td class="fixed-value">{{skill.fw}}</td>
|
||||||
<td class="fixed-value">{{skill.calc.ew}}</td>
|
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
||||||
<td class="fixed-value">{{skill.pp}}</td>
|
<td class="fixed-value">{{skill.calc.ew}}</td>
|
||||||
<td class="fixed-value"><button class="roll-button roll-learned-button"></button></td>
|
<td><button class="roll-button roll-learned-button"></button></td>
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
<tr data-item="{{itemId}}">
|
||||||
</table>
|
<td class="padding edit-item">{{localize "midgard5.perception"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.perceptionFW}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.perception.value}}</td>
|
||||||
|
<td class="fixed-value">{{add data.calc.stats.perception.value data.calc.stats.perceptionFW}}</td>
|
||||||
|
<td><button class="roll-button roll-perception-button"></button></td>
|
||||||
|
<td class="fixed-value"></td>
|
||||||
|
</tr>
|
||||||
|
<tr data-item="{{itemId}}">
|
||||||
|
<td class="padding edit-item">{{localize "midgard5.drinking"}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.drinkingFW}}</td>
|
||||||
|
<td class="fixed-value">{{data.calc.stats.drinking.value}}</td>
|
||||||
|
<td class="fixed-value">{{add data.calc.stats.drinking.value data.calc.stats.drinkingFW}}</td>
|
||||||
|
<td><button class="roll-button roll-drinking-button"></button></td>
|
||||||
|
<td class="fixed-value"></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table>
|
<div class="flexpart">
|
||||||
<thead>
|
<div class="flexpart-header"><img src="icons/skills/trades/construction-mason-stonecutter-sculpture.webp" class="flexpart-icon">{{localize "midgard5.learned-skills"}}</div>
|
||||||
<tr>
|
<table>
|
||||||
<th class="title">{{localize "midgard5.innate-ability"}}</th>
|
<thead>
|
||||||
<th class="title">{{localize "midgard5.fw"}}</th>
|
<tr>
|
||||||
<th class="title">{{localize "midgard5.bonus"}}</th>
|
<th class="title">{{localize "midgard5.learned-skill"}}</th>
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
<th class="title">{{localize "midgard5.fw"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title">{{localize "midgard5.bonus"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
</tr>
|
<th class="title">{{localize "midgard5.pp-short"}}</th>
|
||||||
</thead>
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
<tbody>
|
<th class="title"></th>
|
||||||
{{#each data.calc.skills.innate as |skill skillId|}}
|
</tr>
|
||||||
<tr data-item="{{skillId}}">
|
</thead>
|
||||||
<td class="padding edit-item">{{skill.label}}</td>
|
<tbody>
|
||||||
<td class="fixed-value">{{skill.fw}}</td>
|
{{#each data.calc.skills.general as |skill skillId|}}
|
||||||
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
<tr data-item="{{skillId}}">
|
||||||
<td class="fixed-value">{{skill.calc.ew}}</td>
|
<td class="padding edit-item">{{skill.label}}</td>
|
||||||
<td class="fixed-value"><button class="roll-button roll-learned-button"></button></td>
|
<td class="fixed-value">{{skill.fw}}</td>
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
||||||
</tr>
|
<td class="fixed-value">{{skill.calc.ew}}</td>
|
||||||
{{/each}}
|
<td class="fixed-value"><input name="data.skills.general.{{key}}.pp" type="text" value="{{skill.pp}}" data-dtype="Number" /></td>
|
||||||
<tr data-item="{{itemId}}">
|
<td><button class="roll-button roll-learned-button"></button></td>
|
||||||
<td class="padding edit-item">{{localize "midgard5.perception"}}</td>
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
<td class="fixed-value">{{data.calc.stats.perceptionFW}}</td>
|
</tr>
|
||||||
<td class="fixed-value">{{data.calc.stats.perception.value}}</td>
|
{{/each}}
|
||||||
<td class="fixed-value">{{add data.calc.stats.perception.value data.calc.stats.perceptionFW}}</td>
|
</tbody>
|
||||||
<td class="fixed-value"><button class="roll-button roll-perception-button"></button></td>
|
</table>
|
||||||
<td class="fixed-value"></td>
|
</div>
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr data-item="{{itemId}}">
|
<div class="flexpart">
|
||||||
<td class="padding edit-item">{{localize "midgard5.drinking"}}</td>
|
<div class="flexpart-header"><img src="icons/weapons/swords/swords-short.webp" class="flexpart-icon">{{localize "midgard5.weapon-skills"}}</div>
|
||||||
<td class="fixed-value">{{data.calc.stats.drinkingFW}}</td>
|
<table>
|
||||||
<td class="fixed-value">{{data.calc.stats.drinking.value}}</td>
|
<thead>
|
||||||
<td class="fixed-value">{{add data.calc.stats.drinking.value data.calc.stats.drinkingFW}}</td>
|
<tr>
|
||||||
<td class="fixed-value"><button class="roll-button roll-drinking-button"></button></td>
|
<th class="title">{{localize "midgard5.weapon-skill"}}</th>
|
||||||
<td class="fixed-value"></td>
|
<th class="title">{{localize "midgard5.fw"}}</th>
|
||||||
</tr>
|
<th class="title">{{localize "midgard5.bonus"}}</th>
|
||||||
</tbody>
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
</table>
|
<th class="title">{{localize "midgard5.pp-short"}}</th>
|
||||||
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
|
<th class="title"></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{{#each data.calc.skills.combat as |skill skillId|}}
|
||||||
|
<tr data-item="{{skillId}}">
|
||||||
|
<td class="padding edit-item">{{skill.label}}</td>
|
||||||
|
<td class="fixed-value">{{skill.fw}}</td>
|
||||||
|
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
||||||
|
<td class="fixed-value">{{skill.calc.ew}}</td>
|
||||||
|
<td class="fixed-value">{{skill.pp}}</td>
|
||||||
|
<td><button class="roll-button roll-learned-button"></button></td>
|
||||||
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
|
</tr>
|
||||||
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table>
|
<div class="flexpart">
|
||||||
<thead>
|
<div class="flexpart-header"><img src="icons/sundries/scrolls/scroll-runed-worn-tan.webp" class="flexpart-icon">{{localize "midgard5.languages"}}</div>
|
||||||
<tr>
|
<table>
|
||||||
<th class="title">{{localize "midgard5.weapon-skill"}}</th>
|
<thead>
|
||||||
<th class="title">{{localize "midgard5.fw"}}</th>
|
<tr>
|
||||||
<th class="title">{{localize "midgard5.bonus"}}</th>
|
<th class="title">{{localize "midgard5.language"}}</th>
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
<th class="title">{{localize "midgard5.fw"}}</th>
|
||||||
<th class="title">{{localize "midgard5.pp-short"}}</th>
|
<th class="title">{{localize "midgard5.bonus"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title">{{localize "midgard5.pp-short"}}</th>
|
||||||
</tr>
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
</thead>
|
<th class="title"></th>
|
||||||
<tbody>
|
</tr>
|
||||||
{{#each data.calc.skills.combat as |skill skillId|}}
|
</thead>
|
||||||
<tr data-item="{{skillId}}">
|
<tbody>
|
||||||
<td class="padding edit-item">{{skill.label}}</td>
|
{{#each data.calc.skills.language as |skill skillId|}}
|
||||||
<td class="fixed-value">{{skill.fw}}</td>
|
<tr data-item="{{skillId}}">
|
||||||
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
<td class="padding edit-item">{{skill.label}}</td>
|
||||||
<td class="fixed-value">{{skill.calc.ew}}</td>
|
<td class="fixed-value">{{skill.fw}}</td>
|
||||||
<td class="fixed-value">{{skill.pp}}</td>
|
<td class="fixed-value">{{skill.calc.bonus}}</td>
|
||||||
<td class="fixed-value"><button class="roll-button roll-learned-button"></button></td>
|
<td class="fixed-value">{{skill.calc.ew}}</td>
|
||||||
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
<td class="fixed-value">{{skill.pp}}</td>
|
||||||
</tr>
|
<td><button class="roll-button roll-learned-button"></button></td>
|
||||||
{{/each}}
|
<td><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
|
||||||
</tbody>
|
</tr>
|
||||||
</table>
|
{{/each}}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table>
|
<div class="flexcolumn-2">
|
||||||
<thead>
|
|
||||||
<tr>
|
<div class="flexpart">
|
||||||
<th class="title"></th>
|
<div class="flexpart-header"><img src="icons/sundries/gaming/dice-pair-white-green.webp" class="flexpart-icon">{{localize "midgard5.unlearned-skills"}}</div>
|
||||||
<th class="title">{{localize "midgard5.unlearned-skill"}}</th>
|
<table>
|
||||||
<th class="title">{{localize "midgard5.fw"}}</th>
|
<thead>
|
||||||
<th class="title">{{localize "midgard5.bonus"}}</th>
|
<tr>
|
||||||
<th class="title">{{localize "midgard5.ew"}}</th>
|
<th class="title"></th>
|
||||||
<th class="title">{{localize "midgard5.pp-short"}}</th>
|
<th class="title">{{localize "midgard5.unlearned-skill"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title">{{localize "midgard5.fw"}}</th>
|
||||||
<th class="title"></th>
|
<th class="title">{{localize "midgard5.bonus"}}</th>
|
||||||
</tr>
|
<th class="title">{{localize "midgard5.ew"}}</th>
|
||||||
</thead>
|
<th class="title"><img src="/icons/svg/d20.svg" class="table-icon"></th>
|
||||||
<tbody>
|
</tr>
|
||||||
{{#each data.skills.general as |skill key|}}
|
</thead>
|
||||||
{{#unless (isSkillInList (localizeMidgard key) ../actor.system.calc.skills.general) }}
|
<tbody>
|
||||||
<tr data-skill="{{key}}">
|
{{#each data.skills.general as |skill key|}}
|
||||||
<td><button class="learn-button">{{localize "midgard5.learn"}}</button></td>
|
{{#unless (isSkillInList (localizeMidgard key) ../actor.system.calc.skills.general) }}
|
||||||
<td class="padding">{{localizeMidgard key}}</td>
|
<tr data-skill="{{key}}">
|
||||||
<td class="fixed-value">{{skill.fw}}</td>
|
<td><button class="learn-button">{{localize "midgard5.learn"}}</button></td>
|
||||||
<td class="fixed-value">{{skillBonus ../actor._id skill}}</td>
|
<td class="padding" style="font-style: italic;">{{localizeMidgard key}}</td>
|
||||||
<td class="fixed-value">{{skillEw ../actor._id skill}}</td>
|
<td class="fixed-value">{{skill.fw}}</td>
|
||||||
<td class="fixed-value"><input name="data.skills.general.{{key}}.pp" type="text" value="{{skill.pp}}" data-dtype="Number" /></td>
|
<td class="fixed-value">{{skillBonus ../actor._id skill}}</td>
|
||||||
<td class="fixed-value"><button class="roll-button roll-general-button"></button></td>
|
<td class="fixed-value">{{skillEw ../actor._id skill}}</td>
|
||||||
<td class="fixed-value"></td>
|
<td><button class="roll-button roll-general-button"></button></td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
@ -49,6 +49,25 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="flexrow">
|
||||||
|
<span>{{localize "TYPES.Item.container"}}</span>
|
||||||
|
{{#if data.calc.containers}}
|
||||||
|
<select class="select-container" name="data.containerId" data-type="String">
|
||||||
|
{{#select data.containerId}}
|
||||||
|
<option value="">{{localize "midgard5.no-container"}}</option>
|
||||||
|
{{#each data.calc.containers as |container key|}}
|
||||||
|
<option value="{{key}}">{{container.label}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
{{else}}
|
||||||
|
<span>{{localize "midgard5.assignItemToCharacter"}}</span>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{localize "midgard5.lpProtection"}}</td>
|
<td>{{localize "midgard5.lpProtection"}}</td>
|
||||||
<td><input name="data.lpProtection" type="text" value="{{data.lpProtection}}" data-dtype="Number" /></td>
|
<td><input name="data.lpProtection" type="text" value="{{data.lpProtection}}" data-dtype="Number" /></td>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,10 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="4">
|
<td colspan="4">
|
||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
|
<span>
|
||||||
|
<input id="data.equipped" type="checkbox" name="data.equipped" {{checked data.equipped}}>
|
||||||
|
<label for="data.equipped">{{localize "midgard5.equipped"}}</label>
|
||||||
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<input id="data.magic" type="checkbox" name="data.magic" {{checked data.magic}}>
|
<input id="data.magic" type="checkbox" name="data.magic" {{checked data.magic}}>
|
||||||
<label for="data.magic">{{localize "midgard5.magic"}}</label>
|
<label for="data.magic">{{localize "midgard5.magic"}}</label>
|
||||||
|
|
@ -49,6 +53,25 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="flexrow">
|
||||||
|
<span>{{localize "TYPES.Item.container"}}</span>
|
||||||
|
{{#if data.calc.containers}}
|
||||||
|
<select class="select-container" name="data.containerId" data-type="String">
|
||||||
|
{{#select data.containerId}}
|
||||||
|
<option value="">{{localize "midgard5.no-container"}}</option>
|
||||||
|
{{#each data.calc.containers as |container key|}}
|
||||||
|
<option value="{{key}}">{{container.label}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
{{else}}
|
||||||
|
<span>{{localize "midgard5.assignItemToCharacter"}}</span>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{localize "midgard5.defenseBonus"}}</td>
|
<td>{{localize "midgard5.defenseBonus"}}</td>
|
||||||
<td><input name="data.stats.defenseBonus" type="text" value="{{data.stats.defenseBonus}}" data-dtype="Number" /></td>
|
<td><input name="data.stats.defenseBonus" type="text" value="{{data.stats.defenseBonus}}" data-dtype="Number" /></td>
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,10 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="5">
|
<td colspan="5">
|
||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
|
<span>
|
||||||
|
<input id="data.equipped" type="checkbox" name="data.equipped" {{checked data.equipped}}>
|
||||||
|
<label for="data.equipped">{{localize "midgard5.equipped"}}</label>
|
||||||
|
</span>
|
||||||
<span>
|
<span>
|
||||||
<input id="data.magic" type="checkbox" name="data.magic" {{checked data.magic}}>
|
<input id="data.magic" type="checkbox" name="data.magic" {{checked data.magic}}>
|
||||||
<label for="data.magic">{{localize "midgard5.magic"}}</label>
|
<label for="data.magic">{{localize "midgard5.magic"}}</label>
|
||||||
|
|
@ -54,6 +58,25 @@
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div class="flexrow">
|
||||||
|
<span>{{localize "TYPES.Item.container"}}</span>
|
||||||
|
{{#if data.calc.containers}}
|
||||||
|
<select class="select-container" name="data.containerId" data-type="String">
|
||||||
|
{{#select data.containerId}}
|
||||||
|
<option value="">{{localize "midgard5.no-container"}}</option>
|
||||||
|
{{#each data.calc.containers as |container key|}}
|
||||||
|
<option value="{{key}}">{{container.label}}</option>
|
||||||
|
{{/each}}
|
||||||
|
{{/select}}
|
||||||
|
</select>
|
||||||
|
{{else}}
|
||||||
|
<span>{{localize "midgard5.assignItemToCharacter"}}</span>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{localize "midgard5.base-damage"}}</td>
|
<td>{{localize "midgard5.base-damage"}}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
muss
data.calc.stats.movement.valuesein damit wir die mods mit drin haben, data.movement ist der eingegebene WertChanged + commit