Compare commits

..

5 Commits

Author SHA1 Message Date
e3d7874dce Fix masque/demaque + pouvoir passif avec point 2024-07-30 13:45:50 +02:00
ab6a5832c0 Various v12 fixes 2024-07-13 12:13:06 +02:00
d83a999974 Various v12 fixes 2024-07-13 12:12:38 +02:00
b83890a764 Add v12 support 2024-05-23 15:38:50 +02:00
5ad3c165e5 Add v12 support 2024-05-23 11:25:51 +02:00
105 changed files with 651 additions and 1057 deletions

View File

@@ -12,7 +12,7 @@ export class HeritiersActorPNJSheet extends HeritiersActorSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "actor"], classes: ["fvtt-les-heritiers", "sheet", "actor"],
template: "systems/fvtt-les-heritiers/templates/actor-pnj-sheet.html", template: "systems/fvtt-les-heritiers/templates/actor-pnj-sheet.html",
width: 780, width: 780,

View File

@@ -11,7 +11,7 @@ export class HeritiersActorSheet extends ActorSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "actor"], classes: ["fvtt-les-heritiers", "sheet", "actor"],
template: "systems/fvtt-les-heritiers/templates/actor-sheet.html", template: "systems/fvtt-les-heritiers/templates/actor-sheet.html",
width: 780, width: 780,
@@ -24,7 +24,7 @@ export class HeritiersActorSheet extends ActorSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async getData() { async getData() {
const objectData = duplicate(this.object) const objectData = foundry.utils.duplicate(this.object)
let formData = { let formData = {
title: this.title, title: this.title,
@@ -42,18 +42,18 @@ export class HeritiersActorSheet extends ActorSheet {
utileSkillsPhysical :this.actor.organizeUtileSkills("physical"), utileSkillsPhysical :this.actor.organizeUtileSkills("physical"),
futileSkills :this.actor.organizeFutileSkills(), futileSkills :this.actor.organizeFutileSkills(),
contacts: this.actor.organizeContacts(), contacts: this.actor.organizeContacts(),
armes: duplicate(this.actor.getWeapons()), armes: foundry.utils.duplicate(this.actor.getWeapons()),
monnaies: duplicate(this.actor.getMonnaies()), monnaies: foundry.utils.duplicate(this.actor.getMonnaies()),
pouvoirs: duplicate(this.actor.getPouvoirs()), pouvoirs: foundry.utils.duplicate(this.actor.getPouvoirs()),
fee: duplicate(this.actor.getFee() || {} ), fee: foundry.utils.duplicate(this.actor.getFee() || {} ),
protections: duplicate(this.actor.getArmors()), protections: foundry.utils.duplicate(this.actor.getArmors()),
combat: this.actor.getCombatValues(), combat: this.actor.getCombatValues(),
equipements: duplicate(this.actor.getEquipments()), equipements: foundry.utils.duplicate(this.actor.getEquipments()),
avantages: duplicate(this.actor.getAvantages()), avantages: foundry.utils.duplicate(this.actor.getAvantages()),
atouts: duplicate(this.actor.getAtouts()), atouts: foundry.utils.duplicate(this.actor.getAtouts()),
capacites: duplicate(this.actor.getCapacites()), capacites: foundry.utils.duplicate(this.actor.getCapacites()),
desavantages: duplicate(this.actor.getDesavantages()), desavantages: foundry.utils.duplicate(this.actor.getDesavantages()),
profils: duplicate(this.actor.getProfils()), profils: foundry.utils.duplicate(this.actor.getProfils()),
pvMalus: this.actor.getPvMalus(), pvMalus: this.actor.getPvMalus(),
heritage: game.settings.get("fvtt-les-heritiers", "heritiers-heritage"), heritage: game.settings.get("fvtt-les-heritiers", "heritiers-heritage"),
initiative: this.actor.getFlag("world", "last-initiative") || -1, initiative: this.actor.getFlag("world", "last-initiative") || -1,

View File

@@ -54,7 +54,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
prepareArme(arme) { prepareArme(arme) {
arme = duplicate(arme) arme = foundry.utils.duplicate(arme)
arme.system.isMelee = HeritiersUtility.isArmeMelee(arme) arme.system.isMelee = HeritiersUtility.isArmeMelee(arme)
return arme return arme
} }
@@ -86,7 +86,7 @@ export class HeritiersActor extends Actor {
/* ----------------------- --------------------- */ /* ----------------------- --------------------- */
addMember(actorId) { addMember(actorId) {
let members = duplicate(this.system.members) let members = foundry.utils.duplicate(this.system.members)
members.push({ id: actorId }) members.push({ id: actorId })
this.update({ 'system.members': members }) this.update({ 'system.members': members })
} }
@@ -138,7 +138,7 @@ export class HeritiersActor extends Actor {
let pouvoirs = [] let pouvoirs = []
for (let item of this.items) { for (let item of this.items) {
if (item.type == "pouvoir") { if (item.type == "pouvoir") {
let itemObj = duplicate(item) let itemObj = foundry.utils.duplicate(item)
itemObj.maxUsage = this.getPouvoirUsageMax(item) itemObj.maxUsage = this.getPouvoirUsageMax(item)
pouvoirs.push(itemObj) pouvoirs.push(itemObj)
} }
@@ -151,7 +151,7 @@ export class HeritiersActor extends Actor {
getSkills() { getSkills() {
let comp = [] let comp = []
for (let item of this.items) { for (let item of this.items) {
item = duplicate(item) item = foundry.utils.duplicate(item)
if (item.type == "competence") { if (item.type == "competence") {
comp.push(item) comp.push(item)
} }
@@ -285,7 +285,7 @@ export class HeritiersActor extends Actor {
getItemById(id) { getItemById(id) {
let item = this.items.find(item => item.id == id); let item = this.items.find(item => item.id == id);
if (item) { if (item) {
item = duplicate(item) item = foundry.utils.duplicate(item)
} }
return item; return item;
} }
@@ -343,7 +343,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
getCarac(attrKey) { getCarac(attrKey) {
return duplicate(this.system.caracteristiques) return foundry.utils.duplicate(this.system.caracteristiques)
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@@ -364,13 +364,13 @@ export class HeritiersActor extends Actor {
getSubActors() { getSubActors() {
let subActors = []; let subActors = [];
for (let id of this.system.subactors) { for (let id of this.system.subactors) {
subActors.push(duplicate(game.actors.get(id))); subActors.push(foundry.utils.duplicate(game.actors.get(id)));
} }
return subActors; return subActors;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
async addSubActor(subActorId) { async addSubActor(subActorId) {
let subActors = duplicate(this.system.subactors); let subActors = foundry.utils.duplicate(this.system.subactors);
subActors.push(subActorId); subActors.push(subActorId);
await this.update({ 'system.subactors': subActors }); await this.update({ 'system.subactors': subActors });
} }
@@ -392,7 +392,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async incDecAdversite(adv, incDec = 0) { async incDecAdversite(adv, incDec = 0) {
let adversite = duplicate(this.system.adversite) let adversite = foundry.utils.duplicate(this.system.adversite)
adversite[adv] += Number(incDec) adversite[adv] += Number(incDec)
adversite[adv] = Math.max(adversite[adv], 0) adversite[adv] = Math.max(adversite[adv], 0)
this.update({ 'system.adversite': adversite }) this.update({ 'system.adversite': adversite })
@@ -439,7 +439,7 @@ export class HeritiersActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async setPredilectionUsed(compId, predIdx) { async setPredilectionUsed(compId, predIdx) {
let comp = this.items.get(compId) let comp = this.items.get(compId)
let pred = duplicate(comp.system.predilections) let pred = foundry.utils.duplicate(comp.system.predilections)
pred[predIdx].used = true pred[predIdx].used = true
await this.updateEmbeddedDocuments('Item', [{ _id: compId, 'system.predilections': pred }]) await this.updateEmbeddedDocuments('Item', [{ _id: compId, 'system.predilections': pred }])
} }
@@ -461,7 +461,7 @@ export class HeritiersActor extends Actor {
} }
if (arme.system.totalDefensif > maxDef) { if (arme.system.totalDefensif > maxDef) {
maxDef = arme.system.totalDefensif maxDef = arme.system.totalDefensif
bestArme = duplicate(arme) bestArme = foundry.utils.duplicate(arme)
} }
} }
return bestArme return bestArme
@@ -476,7 +476,7 @@ export class HeritiersActor extends Actor {
for (let auto of talent.system.automations) { for (let auto of talent.system.automations) {
if (auto.eventtype === "prepare-roll") { if (auto.eventtype === "prepare-roll") {
if (auto.competence.toLowerCase() == competence.name.toLowerCase()) { if (auto.competence.toLowerCase() == competence.name.toLowerCase()) {
talent = duplicate(talent) talent = foundry.utils.duplicate(talent)
talent.system.bonus = auto.bonus talent.system.bonus = auto.bonus
talent.system.baCost = auto.baCost talent.system.baCost = auto.baCost
talents.push(talent) talents.push(talent)
@@ -558,12 +558,12 @@ export class HeritiersActor extends Actor {
rollData.rulesMalus.push(this.getPvMalus()) rollData.rulesMalus.push(this.getPvMalus())
if (compId) { if (compId) {
rollData.competence = duplicate(this.items.get(compId) || {}) rollData.competence = foundry.utils.duplicate(this.items.get(compId) || {})
this.prepareUtileSkill(rollData.competence) this.prepareUtileSkill(rollData.competence)
rollData.actionImg = rollData.competence?.img rollData.actionImg = rollData.competence?.img
} }
if (compName) { if (compName) {
rollData.competence = duplicate(this.items.find(item => item.name.toLowerCase() == compName.toLowerCase()) || {}) rollData.competence = foundry.utils.duplicate(this.items.find(item => item.name.toLowerCase() == compName.toLowerCase()) || {})
if (rollData.competence?.name) { if (rollData.competence?.name) {
this.prepareUtileSkill(rollData.competence) this.prepareUtileSkill(rollData.competence)
rollData.actionImg = rollData.competence?.img rollData.actionImg = rollData.competence?.img
@@ -631,7 +631,7 @@ export class HeritiersActor extends Actor {
async rollAttaqueArme(armeId) { async rollAttaqueArme(armeId) {
let arme = this.items.get(armeId) let arme = this.items.get(armeId)
if (arme) { if (arme) {
arme = duplicate(arme) arme = foundry.utils.duplicate(arme)
arme.system.isMelee = HeritiersUtility.isArmeMelee(arme) arme.system.isMelee = HeritiersUtility.isArmeMelee(arme)
let competenceName = "Tir" let competenceName = "Tir"
let key = "prec" let key = "prec"
@@ -664,7 +664,7 @@ export class HeritiersActor extends Actor {
let rollData = this.getCommonRollData(undefined, competenceName) let rollData = this.getCommonRollData(undefined, competenceName)
rollData.carac = this.system.caracteristiques[key] rollData.carac = this.system.caracteristiques[key]
rollData.caracKey = key rollData.caracKey = key
rollData.arme = duplicate(arme) rollData.arme = foundry.utils.duplicate(arme)
rollData.mode = "attaquebrutale" rollData.mode = "attaquebrutale"
rollData.armes = this.getOtherMeleeWeapons(arme) rollData.armes = this.getOtherMeleeWeapons(arme)
rollData.rulesMalus.push({ name: "Attaque brutale", value: -2 }) rollData.rulesMalus.push({ name: "Attaque brutale", value: -2 })
@@ -682,7 +682,7 @@ export class HeritiersActor extends Actor {
let rollData = this.getCommonRollData(undefined, pireCompetence.name) let rollData = this.getCommonRollData(undefined, pireCompetence.name)
rollData.carac = this.system.caracteristiques[key] rollData.carac = this.system.caracteristiques[key]
rollData.caracKey = key rollData.caracKey = key
rollData.arme = duplicate(arme) rollData.arme = foundry.utils.duplicate(arme)
rollData.armes = this.getOtherMeleeWeapons(arme) rollData.armes = this.getOtherMeleeWeapons(arme)
rollData.mode = "attaquecharge" rollData.mode = "attaquecharge"
let rollDialog = await HeritiersRollDialog.create(this, rollData) let rollDialog = await HeritiersRollDialog.create(this, rollData)
@@ -699,7 +699,7 @@ export class HeritiersActor extends Actor {
let rollData = this.getCommonRollData(undefined, competenceName) let rollData = this.getCommonRollData(undefined, competenceName)
rollData.carac = this.system.caracteristiques["agi"] rollData.carac = this.system.caracteristiques["agi"]
rollData.caracKey = "agi" rollData.caracKey = "agi"
rollData.arme = duplicate(arme) rollData.arme = foundry.utils.duplicate(arme)
rollData.mode = "assommer" rollData.mode = "assommer"
if (rollData.defenderTokenId) { if (rollData.defenderTokenId) {
rollData.cacheDifficulte = true rollData.cacheDifficulte = true
@@ -777,19 +777,28 @@ export class HeritiersActor extends Actor {
} }
let rollData = this.getCommonRollData(undefined, undefined) let rollData = this.getCommonRollData(undefined, undefined)
if (pouvoir.system.feeriemasque != "autre") {
rollData.pouvoirBase = duplicate(this.system.rang[pouvoir.system.feeriemasque.toLowerCase()])
rollData.pouvoirBase.label = "Féerie"
if (!pouvoir.system.carac) {
ui.notifications.warn("Le pouvoir actif " + pouvoir.name + " n'a pas de caractéristique associée")
return
}
rollData.carac = duplicate(this.system.caracteristiques[pouvoir.system.carac])
rollData.caracKey = pouvoir.system.carac
}
rollData.pouvoirMaxUsage = this.getPouvoirUsageMax(pouvoir) rollData.pouvoirMaxUsage = this.getPouvoirUsageMax(pouvoir)
rollData.pouvoir = duplicate(pouvoir) rollData.pouvoir = foundry.utils.duplicate(pouvoir)
rollData.mode = "pouvoir" rollData.mode = "pouvoir"
if (pouvoir.system.feeriemasque != "autre") {
rollData.pouvoirBase = foundry.utils.duplicate(this.system.rang[pouvoir.system.feeriemasque.toLowerCase()])
rollData.pouvoirBase.label = "Féerie"
if (pouvoir.system.istest && !pouvoir.system.carac) {
ui.notifications.warn("Le pouvoir actif " + pouvoir.name + " n'a pas de caractéristique associée")
}
if ( pouvoir.system.istest) {
rollData.carac = foundry.utils.duplicate(this.system.caracteristiques[pouvoir.system.carac])
rollData.caracKey = pouvoir.system.carac
} else {
rollData.noRoll = true
HeritiersUtility.rollHeritiers(rollData);
return;
//this.incDecPointsUsage(pouvoir.id, -rollData.pouvoirPointsUsage)
//ui.notifications.warn("Le pouvoir actif " + pouvoir.name + " a été utilisé, dépense de " + pouvoirPointsUsage + " points d'usage")
}
}
let rollDialog = await HeritiersRollDialog.create(this, rollData) let rollDialog = await HeritiersRollDialog.create(this, rollData)
rollDialog.render(true) rollDialog.render(true)
} }

View File

@@ -65,32 +65,32 @@ export const HERITIERS_CONFIG = {
}, },
seuilsDifficulte: { seuilsDifficulte: {
"-1": "Aucun/Non applicable", "-1": "Aucun/Non applicable",
"5": "Enfantine", "5": "Enfantine (5)",
"6": "Triviale", "6": "Triviale (6)",
"7": "Moins Triviale", "7": "Moins Triviale (7)",
"8": "Aisée", "8": "Aisée (8)",
"7": "Moins Aisée", "9": "Moins Aisée (9)",
"10": "Normale", "10": "Normale (10)",
"11": "Moins Normale", "11": "Moins Normale (11)",
"12": "Compliquée", "12": "Compliquée (12)",
"13": "Plus Compliquée", "13": "Plus Compliquée (13)",
"14": "Difficile", "14": "Difficile (14)",
"15": "Plus Difficile", "15": "Plus Difficile (15)",
"16": "Très Difficile", "16": "Très Difficile (16)",
"17": "Très Très Difficile", "17": "Très Très Difficile (17)",
"18": "Critique", "18": "Critique (18)",
"19": "Plus Critique", "19": "Plus Critique (19)",
"20": "Insurmontable", "20": "Insurmontable (20)",
"20": "Très Insurmontable", "21": "Très Insurmontable (21)",
"22": "Surhumaine", "22": "Surhumaine (22)",
"23": "Très Surhumaine", "23": "Très Surhumaine (23)",
"24": "Epique", "24": "Epique (24)",
"25": "Plus Epique", "25": "Plus Epique (25)",
"26": "Légendaire", "26": "Légendaire (26)",
"26": "Très Légendaire", "27": "Très Légendaire (27)",
"28": "Mythique", "28": "Mythique (28)",
"29": "Plus Mythique", "29": "Plus Mythique (29)",
"30": "Divine" "30": "Divine (30)"
}, },
attaqueCible: { attaqueCible: {
@@ -145,7 +145,66 @@ export const HERITIERS_CONFIG = {
"traditionnelle": "Traditionnelle", "traditionnelle": "Traditionnelle",
"moderne": "Moderne", "moderne": "Moderne",
"orientale": "Orientale" "orientale": "Orientale"
} },
typeContact: {
"contact": "Contact",
"allie": "Allié",
"ennemi": "Ennemi",
"interet": "Personne d'interêt"
},
niveauContact: {
"1": "1",
"2": "2",
"3": "3",
},
pointsUsageList: {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
},
attaquePlusieursList : {
"0": "0",
"1": "+1",
"2": "+2",
},
attaque2ArmesListe: [
{value: "0", label: "Aucun"},
{value: "-4", label: "Deux armes à 1 main"},
{value: "-2", label: "Deux armes naturelles"},
{value: "-2", label: "Avec spécialisation \"Mauvaise Main\""}
],
typeProfil: {
"mineur": "Mineur",
"majeur": "Majeur",
},
bonusMalusContext: [
{value: "-6", label: "-6"},
{value: "-5", label: "-5"},
{value: "-4", label: "-4"},
{value: "-3", label: "-3"},
{value: "-2", label: "-2"},
{value: "-1", label: "-1"},
{value: "0", label: "0"},
{value: "1", label: "+1"},
{value: "2", label: "+2"},
{value: "3", label: "+3"},
{value: "4", label: "+4"},
{value: "5", label: "+5"},
{value: "6", label: "+6"}
],
listNiveau: {
"0": "0",
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10"
},
} }

View File

@@ -1,25 +0,0 @@
/**
* Extend the basic ActorSheet with some very simple modifications
* @extends {ActorSheet}
*/
import { HeritiersActorSheet } from "./heritiers-actor-sheet.js";
import { HeritiersUtility } from "./heritiers-utility.js";
/* -------------------------------------------- */
export class HeritiersCreatureSheet extends HeritiersActorSheet {
/** @override */
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "actor"],
template: "systems/fvtt-les-heritiers/templates/creature-sheet.html",
width: 640,
height: 720,
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }],
dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }],
editScore: false
})
}
}

View File

@@ -9,7 +9,7 @@ export class HeritiersItemSheet extends ItemSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["fvtt-les-heritiers", "sheet", "item"], classes: ["fvtt-les-heritiers", "sheet", "item"],
template: "systems/fvtt-les-heritiers/templates/item-sheet.html", template: "systems/fvtt-les-heritiers/templates/item-sheet.html",
dragDrop: [{ dragSelector: null, dropSelector: null }], dragDrop: [{ dragSelector: null, dropSelector: null }],
@@ -48,7 +48,7 @@ export class HeritiersItemSheet extends ItemSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async getData() { async getData() {
const objectData = duplicate(this.object) const objectData = foundry.utils.duplicate(this.object)
let formData = { let formData = {
title: this.title, title: this.title,
id: this.id, id: this.id,
@@ -96,7 +96,7 @@ export class HeritiersItemSheet extends ItemSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
postItem() { postItem() {
let chatData = duplicate(HeritiersUtility.data(this.item)); let chatData = foundry.utils.duplicate(HeritiersUtility.data(this.item));
if (this.actor) { if (this.actor) {
chatData.actor = { id: this.actor.id }; chatData.actor = { id: this.actor.id };
} }
@@ -138,52 +138,52 @@ export class HeritiersItemSheet extends ItemSheet {
}) })
html.find('#add-specialite').click(ev => { html.find('#add-specialite').click(ev => {
let spec = duplicate(this.object.system.specialites) let spec = foundry.utils.duplicate(this.object.system.specialites)
spec.push( { name: "Nouvelle Spécialité", id: randomID(16), used: false }) spec.push( { name: "Nouvelle Spécialité", id: foundry.utils.randomID(16), used: false })
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('.delete-specialite').click(ev => { html.find('.delete-specialite').click(ev => {
const li = $(ev.currentTarget).parents(".specialite-item") const li = $(ev.currentTarget).parents(".specialite-item")
let index = li.data("specialite-index") let index = li.data("specialite-index")
let spec = duplicate(this.object.system.specialites) let spec = foundry.utils.duplicate(this.object.system.specialites)
spec.splice(index,1) spec.splice(index,1)
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('.edit-specialite').change(ev => { html.find('.edit-specialite').change(ev => {
const li = $(ev.currentTarget).parents(".specialite-item") const li = $(ev.currentTarget).parents(".specialite-item")
let index = li.data("specialite-index") let index = li.data("specialite-index")
let spec = duplicate(this.object.system.specialites) let spec = foundry.utils.duplicate(this.object.system.specialites)
spec[index].name = ev.currentTarget.value spec[index].name = ev.currentTarget.value
spec[index].id = spec[index].id || randomID(16) spec[index].id = spec[index].id || foundry.utils.randomID(16)
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('.edit-specialite-description').change(ev => { html.find('.edit-specialite-description').change(ev => {
const li = $(ev.currentTarget).parents(".specialite-item") const li = $(ev.currentTarget).parents(".specialite-item")
let index = li.data("specialite-index") let index = li.data("specialite-index")
let spec = duplicate(this.object.system.specialites) let spec = foundry.utils.duplicate(this.object.system.specialites)
spec[index].description = ev.currentTarget.value spec[index].description = ev.currentTarget.value
spec[index].id = spec[index].id || randomID(16) spec[index].id = spec[index].id || foundry.utils.randomID(16)
this.object.update( { 'system.specialites': spec }) this.object.update( { 'system.specialites': spec })
}) })
html.find('#add-automation').click(ev => { html.find('#add-automation').click(ev => {
let autom = duplicate(this.object.system.automations) let autom = foundry.utils.duplicate(this.object.system.automations)
autom.push( { eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: randomID(16) }) autom.push( { eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: foundry.utils.randomID(16) })
this.object.update( { 'system.automations': autom }) this.object.update( { 'system.automations': autom })
}) })
html.find('.delete-automation').click(ev => { html.find('.delete-automation').click(ev => {
const li = $(ev.currentTarget).parents(".automation-item") const li = $(ev.currentTarget).parents(".automation-item")
let index = li.data("automation-index") let index = li.data("automation-index")
let autom = duplicate(this.object.system.automations) let autom = foundry.utils.duplicate(this.object.system.automations)
autom.splice(index,1) autom.splice(index,1)
this.object.update( { 'system.automations': autom }) this.object.update( { 'system.automations': autom })
}) })
html.find('.automation-edit-field').change(ev => { html.find('.automation-edit-field').change(ev => {
let index = $(ev.currentTarget).data("automation-index") let index = $(ev.currentTarget).data("automation-index")
let field = $(ev.currentTarget).data("automation-field") let field = $(ev.currentTarget).data("automation-field")
let auto = duplicate(this.object.system.automations) let auto = foundry.utils.duplicate(this.object.system.automations)
auto[index][field] = ev.currentTarget.value auto[index][field] = ev.currentTarget.value
auto[index].id = auto[index].id || randomID(16) auto[index].id = auto[index].id || foundry.utils.randomID(16)
this.object.update( { 'system.automations': auto }) this.object.update( { 'system.automations': auto })
}) })

View File

@@ -12,7 +12,6 @@ import { HeritiersActor } from "./heritiers-actor.js";
import { HeritiersItemSheet } from "./heritiers-item-sheet.js"; import { HeritiersItemSheet } from "./heritiers-item-sheet.js";
import { HeritiersActorSheet } from "./heritiers-actor-sheet.js"; import { HeritiersActorSheet } from "./heritiers-actor-sheet.js";
import { HeritiersActorPNJSheet } from "./heritiers-actor-pnj-sheet.js"; import { HeritiersActorPNJSheet } from "./heritiers-actor-pnj-sheet.js";
import { HeritiersCreatureSheet } from "./heritiers-creature-sheet.js";
import { HeritiersUtility } from "./heritiers-utility.js"; import { HeritiersUtility } from "./heritiers-utility.js";
import { HeritiersCombat } from "./heritiers-combat.js"; import { HeritiersCombat } from "./heritiers-combat.js";
import { HeritiersItem } from "./heritiers-item.js"; import { HeritiersItem } from "./heritiers-item.js";
@@ -47,6 +46,8 @@ Hooks.once("init", async function () {
CONFIG.Combat.documentClass = HeritiersCombat CONFIG.Combat.documentClass = HeritiersCombat
CONFIG.Actor.documentClass = HeritiersActor CONFIG.Actor.documentClass = HeritiersActor
CONFIG.Item.documentClass = HeritiersItem CONFIG.Item.documentClass = HeritiersItem
// Create an object of bonus/malus from -6 to +6 signed
HERITIERS_CONFIG.bonusMalus = Array.from({ length: 7 }, (v, k) => toString(k - 6))
game.system.lesheritiers = { game.system.lesheritiers = {
HeritiersUtility, HeritiersUtility,
config: HERITIERS_CONFIG config: HERITIERS_CONFIG

View File

@@ -118,6 +118,7 @@ export class HeritiersRollDialog extends Dialog {
this.rollData.sdValue = Number(event.currentTarget.value) this.rollData.sdValue = Number(event.currentTarget.value)
}) })
html.find('#caracKey').change(async (event) => { html.find('#caracKey').change(async (event) => {
//console.log("caracKey", event.currentTarget.value)
this.rollData.caracKey = String(event.currentTarget.value) this.rollData.caracKey = String(event.currentTarget.value)
}) })
html.find('#bonus-malus-context').change((event) => { html.find('#bonus-malus-context').change((event) => {

View File

@@ -140,7 +140,7 @@ export class HeritiersUtility {
let rollData = message.getFlag("world", "heritiers-roll") let rollData = message.getFlag("world", "heritiers-roll")
let actor = this.getActorFromRollData(rollData) let actor = this.getActorFromRollData(rollData)
await actor.setPredilectionUsed(rollData.competence._id, predIdx) await actor.setPredilectionUsed(rollData.competence._id, predIdx)
rollData.competence = duplicate(actor.getCompetence(rollData.competence._id)) rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id))
HeritiersUtility.rollHeritiers(rollData) HeritiersUtility.rollHeritiers(rollData)
}) })
@@ -172,8 +172,7 @@ export class HeritiersUtility {
'systems/fvtt-les-heritiers/templates/partial-item-header.html', 'systems/fvtt-les-heritiers/templates/partial-item-header.html',
'systems/fvtt-les-heritiers/templates/partial-item-description.html', 'systems/fvtt-les-heritiers/templates/partial-item-description.html',
'systems/fvtt-les-heritiers/templates/partial-item-nav.html', 'systems/fvtt-les-heritiers/templates/partial-item-nav.html',
'systems/fvtt-les-heritiers/templates/partial-utile-skills.html', 'systems/fvtt-les-heritiers/templates/partial-utile-skills.html'
'systems/fvtt-les-heritiers/templates/partial-list-niveau.html'
] ]
return loadTemplates(templatePaths); return loadTemplates(templatePaths);
} }
@@ -252,7 +251,7 @@ export class HeritiersUtility {
let id = rollData.rollId; let id = rollData.rollId;
let oldRollData = this.rollDataStore[id] || {}; let oldRollData = this.rollDataStore[id] || {};
let newRollData = mergeObject(oldRollData, rollData); let newRollData = foundry.utils.mergeObject(oldRollData, rollData);
this.rollDataStore[id] = newRollData; this.rollDataStore[id] = newRollData;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@@ -391,7 +390,7 @@ export class HeritiersUtility {
} }
} }
if ( !rollData.forcedValue) { if ( !rollData.forcedValue) {
rollData.adjacentFaces = duplicate(__facesAdjacentes[rollData.mainDice][rollData.diceValue]) rollData.adjacentFaces = foundry.utils.duplicate(__facesAdjacentes[rollData.mainDice][rollData.diceValue])
} }
} }
} }
@@ -477,7 +476,7 @@ export class HeritiersUtility {
} }
//rollData.actionImg = "systems/fvtt-les-heritiers/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" //rollData.actionImg = "systems/fvtt-les-heritiers/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp"
rollData.carac = duplicate(actor.system.caracteristiques[rollData.caracKey]) rollData.carac = foundry.utils.duplicate(actor.system.caracteristiques[rollData.caracKey])
if (rollData.forcedValue) { if (rollData.forcedValue) {
rollData.diceFormula = rollData.forcedValue rollData.diceFormula = rollData.forcedValue
@@ -536,9 +535,9 @@ export class HeritiersUtility {
} }
if ( !rollData.noRoll) { if ( !rollData.noRoll) {
let myRoll = new Roll(rollData.diceFormula).roll({ async: false }) let myRoll = await new Roll(rollData.diceFormula).roll()
await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
rollData.roll = duplicate(myRoll) rollData.roll = foundry.utils.duplicate(myRoll)
console.log(">>>> ", myRoll) console.log(">>>> ", myRoll)
this.computeResult(actor, rollData) this.computeResult(actor, rollData)
this.computeMarge(rollData, rollData.sdValue) // Calcul de la marge si seuil présent this.computeMarge(rollData, rollData.sdValue) // Calcul de la marge si seuil présent
@@ -583,9 +582,9 @@ export class HeritiersUtility {
static async bonusRollHeritiers(rollData) { static async bonusRollHeritiers(rollData) {
rollData.bonusFormula = rollData.addedBonus rollData.bonusFormula = rollData.addedBonus
let bonusRoll = new Roll(rollData.bonusFormula).roll({ async: false }) let bonusRoll = await new Roll(rollData.bonusFormula).roll()
await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode"));
rollData.bonusRoll = duplicate(bonusRoll) rollData.bonusRoll = foundry.utils.duplicate(bonusRoll)
rollData.finalResult += rollData.bonusRoll.total rollData.finalResult += rollData.bonusRoll.total
@@ -623,7 +622,7 @@ export class HeritiersUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static blindMessageToGM(chatOptions) { static blindMessageToGM(chatOptions) {
let chatGM = duplicate(chatOptions); let chatGM = foundry.utils.duplicate(chatOptions);
chatGM.whisper = this.getUsers(user => user.isGM); chatGM.whisper = this.getUsers(user => user.isGM);
chatGM.content = "Blinde message of " + game.user.name + "<br>" + chatOptions.content; chatGM.content = "Blinde message of " + game.user.name + "<br>" + chatOptions.content;
console.log("blindMessageToGM", chatGM); console.log("blindMessageToGM", chatGM);
@@ -687,7 +686,7 @@ export class HeritiersUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static getBasicRollData() { static getBasicRollData() {
let rollData = { let rollData = {
rollId: randomID(16), rollId: foundry.utils.randomID(16),
rollMode: game.settings.get("core", "rollMode"), rollMode: game.settings.get("core", "rollMode"),
sdList: game.system.lesheritiers.config.seuilsDifficulte, sdList: game.system.lesheritiers.config.seuilsDifficulte,
sdValue: -1, sdValue: -1,

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000139

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.407753 7fcc5fe006c0 Recovering log #96 2024/07/30-09:26:48.905986 7f61a0c006c0 Recovering log #137
2024/04/24-21:03:14.418285 7fcc5fe006c0 Delete type=3 #94 2024/07/30-09:26:48.916644 7f61a0c006c0 Delete type=3 #135
2024/04/24-21:03:14.418386 7fcc5fe006c0 Delete type=0 #96 2024/07/30-09:26:48.916787 7f61a0c006c0 Delete type=0 #137
2024/04/24-21:12:06.758987 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.623829 7f619e8006c0 Level-0 table #142: started
2024/04/24-21:12:06.759009 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.623893 7f619e8006c0 Level-0 table #142: 0 bytes OK
2024/04/24-21:12:06.766071 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.631639 7f619e8006c0 Delete type=0 #140
2024/04/24-21:12:06.772507 7fcc5e4006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.640831 7f619e8006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.780581 7fcc5e4006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.640969 7f619e8006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.195494 7fcc64a006c0 Recovering log #92 2024/07/30-09:10:55.068008 7f61a0c006c0 Recovering log #133
2024/04/24-21:00:50.205751 7fcc64a006c0 Delete type=3 #90 2024/07/30-09:10:55.078873 7f61a0c006c0 Delete type=3 #131
2024/04/24-21:00:50.205814 7fcc64a006c0 Delete type=0 #92 2024/07/30-09:10:55.079032 7f61a0c006c0 Delete type=0 #133
2024/04/24-21:03:07.405442 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.189572 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.405465 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.189616 7f619e8006c0 Level-0 table #138: 0 bytes OK
2024/04/24-21:03:07.413456 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.237443 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.434002 7fcc5e4006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.372498 7f619e8006c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.434046 7fcc5e4006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.372559 7f619e8006c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000139

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.434490 7fcc5fe006c0 Recovering log #96 2024/07/30-09:26:48.936799 7f61a16006c0 Recovering log #137
2024/04/24-21:03:14.445376 7fcc5fe006c0 Delete type=3 #94 2024/07/30-09:26:48.947878 7f61a16006c0 Delete type=3 #135
2024/04/24-21:03:14.445476 7fcc5fe006c0 Delete type=0 #96 2024/07/30-09:26:48.947994 7f61a16006c0 Delete type=0 #137
2024/04/24-21:12:06.780592 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.641116 7f619e8006c0 Level-0 table #142: started
2024/04/24-21:12:06.780614 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.641202 7f619e8006c0 Level-0 table #142: 0 bytes OK
2024/04/24-21:12:06.786815 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.648854 7f619e8006c0 Delete type=0 #140
2024/04/24-21:12:06.793537 7fcc5e4006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.680189 7f619e8006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.800296 7fcc5e4006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.680301 7f619e8006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.225781 7fcc64a006c0 Recovering log #92 2024/07/30-09:10:55.099640 7f61a02006c0 Recovering log #133
2024/04/24-21:00:50.235570 7fcc64a006c0 Delete type=3 #90 2024/07/30-09:10:55.110842 7f61a02006c0 Delete type=3 #131
2024/04/24-21:00:50.235631 7fcc64a006c0 Delete type=0 #92 2024/07/30-09:10:55.110942 7f61a02006c0 Delete type=0 #133
2024/04/24-21:03:07.419889 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.335864 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.419918 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.335940 7f619e8006c0 Level-0 table #138: 0 bytes OK
2024/04/24-21:03:07.426864 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.372305 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.434022 7fcc5e4006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.372546 7f619e8006c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.434058 7fcc5e4006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.446232 7f619e8006c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000139

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.394982 7fcc64a006c0 Recovering log #96 2024/07/30-09:26:48.890651 7f619f8006c0 Recovering log #137
2024/04/24-21:03:14.405041 7fcc64a006c0 Delete type=3 #94 2024/07/30-09:26:48.901439 7f619f8006c0 Delete type=3 #135
2024/04/24-21:03:14.405101 7fcc64a006c0 Delete type=0 #96 2024/07/30-09:26:48.901535 7f619f8006c0 Delete type=0 #137
2024/04/24-21:12:06.752178 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.607037 7f619e8006c0 Level-0 table #142: started
2024/04/24-21:12:06.752221 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.607124 7f619e8006c0 Level-0 table #142: 0 bytes OK
2024/04/24-21:12:06.758834 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.614640 7f619e8006c0 Delete type=0 #140
2024/04/24-21:12:06.766218 7fcc5e4006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.640778 7f619e8006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.772523 7fcc5e4006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.640904 7f619e8006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.181640 7fcc5fe006c0 Recovering log #92 2024/07/30-09:10:55.051639 7f61a16006c0 Recovering log #133
2024/04/24-21:00:50.191751 7fcc5fe006c0 Delete type=3 #90 2024/07/30-09:10:55.062824 7f61a16006c0 Delete type=3 #131
2024/04/24-21:00:50.191823 7fcc5fe006c0 Delete type=0 #92 2024/07/30-09:10:55.062987 7f61a16006c0 Delete type=0 #133
2024/04/24-21:03:07.391895 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.237667 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.391918 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.237719 7f619e8006c0 Level-0 table #138: 0 bytes OK
2024/04/24-21:03:07.398417 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.272266 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.405331 7fcc5e4006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.372517 7f619e8006c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.405364 7fcc5e4006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.372572 7f619e8006c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

BIN
packs/avantages/000106.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000139

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.357785 7fcc5fe006c0 Recovering log #96 2024/07/30-09:26:48.846369 7f61a0c006c0 Recovering log #137
2024/04/24-21:03:14.368372 7fcc5fe006c0 Delete type=3 #94 2024/07/30-09:26:48.856642 7f61a0c006c0 Delete type=3 #135
2024/04/24-21:03:14.368475 7fcc5fe006c0 Delete type=0 #96 2024/07/30-09:26:48.856767 7f61a0c006c0 Delete type=0 #137
2024/04/24-21:12:06.730451 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.585757 7f619e8006c0 Level-0 table #142: started
2024/04/24-21:12:06.730536 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.585819 7f619e8006c0 Level-0 table #142: 0 bytes OK
2024/04/24-21:12:06.737283 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.592691 7f619e8006c0 Delete type=0 #140
2024/04/24-21:12:06.745838 7fcc5e4006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606792 7f619e8006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.752158 7fcc5e4006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606883 7f619e8006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.139541 7fcc64a006c0 Recovering log #92 2024/07/30-09:10:55.006701 7f61a0c006c0 Recovering log #133
2024/04/24-21:00:50.150459 7fcc64a006c0 Delete type=3 #90 2024/07/30-09:10:55.017640 7f61a0c006c0 Delete type=3 #131
2024/04/24-21:00:50.150560 7fcc64a006c0 Delete type=0 #92 2024/07/30-09:10:55.017731 7f61a0c006c0 Delete type=0 #133
2024/04/24-21:03:07.378965 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.068943 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.378988 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.068981 7f619e8006c0 Level-0 table #138: 0 bytes OK
2024/04/24-21:03:07.385088 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.107862 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.405303 7fcc5e4006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189274 7f619e8006c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.405350 7fcc5e4006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189350 7f619e8006c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/capacites/000106.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000139

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.382877 7fcc5fe006c0 Recovering log #96 2024/07/30-09:26:48.875799 7f61a16006c0 Recovering log #137
2024/04/24-21:03:14.392582 7fcc5fe006c0 Delete type=3 #94 2024/07/30-09:26:48.886968 7f61a16006c0 Delete type=3 #135
2024/04/24-21:03:14.392719 7fcc5fe006c0 Delete type=0 #96 2024/07/30-09:26:48.887068 7f61a16006c0 Delete type=0 #137
2024/04/24-21:12:06.745861 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.599930 7f619e8006c0 Level-0 table #142: started
2024/04/24-21:12:06.745883 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.599993 7f619e8006c0 Level-0 table #142: 0 bytes OK
2024/04/24-21:12:06.751942 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.606481 7f619e8006c0 Delete type=0 #140
2024/04/24-21:12:06.758963 7fcc5e4006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606839 7f619e8006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.766233 7fcc5e4006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606928 7f619e8006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.167153 7fcc64a006c0 Recovering log #92 2024/07/30-09:10:55.037123 7f61a02006c0 Recovering log #133
2024/04/24-21:00:50.178593 7fcc64a006c0 Delete type=3 #90 2024/07/30-09:10:55.047779 7f61a02006c0 Delete type=3 #131
2024/04/24-21:00:50.178677 7fcc64a006c0 Delete type=0 #92 2024/07/30-09:10:55.047946 7f61a02006c0 Delete type=0 #133
2024/04/24-21:03:07.398635 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.151197 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.398683 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.151237 7f619e8006c0 Level-0 table #138: 0 bytes OK
2024/04/24-21:03:07.405176 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.188887 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.405342 7fcc5e4006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189323 7f619e8006c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.405373 7fcc5e4006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189365 7f619e8006c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000139

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.345134 7fcc64a006c0 Recovering log #96 2024/07/30-09:26:48.831897 7f619f8006c0 Recovering log #137
2024/04/24-21:03:14.355600 7fcc64a006c0 Delete type=3 #94 2024/07/30-09:26:48.842926 7f619f8006c0 Delete type=3 #135
2024/04/24-21:03:14.355657 7fcc64a006c0 Delete type=0 #96 2024/07/30-09:26:48.843016 7f619f8006c0 Delete type=0 #137
2024/04/24-21:12:06.723482 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.578835 7f619e8006c0 Level-0 table #142: started
2024/04/24-21:12:06.723520 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.578921 7f619e8006c0 Level-0 table #142: 0 bytes OK
2024/04/24-21:12:06.730146 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.585476 7f619e8006c0 Delete type=0 #140
2024/04/24-21:12:06.737428 7fcc5e4006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606759 7f619e8006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.745851 7fcc5e4006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606861 7f619e8006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.125583 7fcc5fe006c0 Recovering log #92 2024/07/30-09:10:54.992903 7f61a16006c0 Recovering log #133
2024/04/24-21:00:50.136089 7fcc5fe006c0 Delete type=3 #90 2024/07/30-09:10:55.003212 7f61a16006c0 Delete type=3 #131
2024/04/24-21:00:50.136151 7fcc5fe006c0 Delete type=0 #92 2024/07/30-09:10:55.003337 7f61a16006c0 Delete type=0 #133
2024/04/24-21:03:07.371083 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.108114 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.371109 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.108172 7f619e8006c0 Level-0 table #138: 0 bytes OK
2024/04/24-21:03:07.378702 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.151019 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.378854 7fcc5e4006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189301 7f619e8006c0 Manual compaction at level-0 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.378876 7fcc5e4006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189378 7f619e8006c0 Manual compaction at level-1 from '!items!0V86n4TU8NegrR2B' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000139

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.370215 7fcc64a006c0 Recovering log #96 2024/07/30-09:26:48.860691 7f61a02006c0 Recovering log #137
2024/04/24-21:03:14.380871 7fcc64a006c0 Delete type=3 #94 2024/07/30-09:26:48.871716 7f61a02006c0 Delete type=3 #135
2024/04/24-21:03:14.380943 7fcc64a006c0 Delete type=0 #96 2024/07/30-09:26:48.871819 7f61a02006c0 Delete type=0 #137
2024/04/24-21:12:06.737478 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.592995 7f619e8006c0 Level-0 table #142: started
2024/04/24-21:12:06.737537 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.593062 7f619e8006c0 Level-0 table #142: 0 bytes OK
2024/04/24-21:12:06.745719 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.599648 7f619e8006c0 Delete type=0 #140
2024/04/24-21:12:06.752140 7fcc5e4006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606816 7f619e8006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.758974 7fcc5e4006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.606905 7f619e8006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.154218 7fcc5fe006c0 Recovering log #92 2024/07/30-09:10:55.021975 7f619f8006c0 Recovering log #133
2024/04/24-21:00:50.164265 7fcc5fe006c0 Delete type=3 #90 2024/07/30-09:10:55.033025 7f619f8006c0 Delete type=3 #131
2024/04/24-21:00:50.164327 7fcc5fe006c0 Delete type=0 #92 2024/07/30-09:10:55.033200 7f619f8006c0 Delete type=0 #133
2024/04/24-21:03:07.385211 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.033848 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.385236 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.033938 7f619e8006c0 Level-0 table #138: 0 bytes OK
2024/04/24-21:03:07.391768 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.068751 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.405315 7fcc5e4006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189232 7f619e8006c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.405356 7fcc5e4006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.189337 7f619e8006c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/pouvoirs/000139.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000140

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.421201 7fcc64a006c0 Recovering log #96 2024/07/30-09:26:48.920872 7f61a02006c0 Recovering log #137
2024/04/24-21:03:14.431610 7fcc64a006c0 Delete type=3 #94 2024/07/30-09:26:48.931697 7f61a02006c0 Delete type=3 #135
2024/04/24-21:03:14.431661 7fcc64a006c0 Delete type=0 #96 2024/07/30-09:26:48.931863 7f61a02006c0 Delete type=0 #137
2024/04/24-21:12:06.766244 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.614872 7f619e8006c0 Level-0 table #143: started
2024/04/24-21:12:06.766271 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.614928 7f619e8006c0 Level-0 table #143: 0 bytes OK
2024/04/24-21:12:06.772332 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.623464 7f619e8006c0 Delete type=0 #141
2024/04/24-21:12:06.786941 7fcc5e4006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.640807 7f619e8006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.793548 7fcc5e4006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.640941 7f619e8006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,15 @@
2024/04/24-21:00:50.210067 7fcc5fe006c0 Recovering log #92 2024/07/30-09:10:55.082770 7f619f8006c0 Recovering log #133
2024/04/24-21:00:50.221093 7fcc5fe006c0 Delete type=3 #90 2024/07/30-09:10:55.094232 7f619f8006c0 Delete type=3 #131
2024/04/24-21:00:50.221151 7fcc5fe006c0 Delete type=0 #92 2024/07/30-09:10:55.094379 7f619f8006c0 Delete type=0 #133
2024/04/24-21:03:07.413577 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.272516 7f619e8006c0 Level-0 table #138: started
2024/04/24-21:03:07.413605 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.296681 7f619e8006c0 Level-0 table #138: 278828 bytes OK
2024/04/24-21:03:07.419750 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.335294 7f619e8006c0 Delete type=0 #136
2024/04/24-21:03:07.434013 7fcc5e4006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.372532 7f619e8006c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.434051 7fcc5e4006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.372589 7f619e8006c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at '!items!zON0h5SjFyANjPnA' @ 285 : 1
2024/07/30-09:23:03.372598 7f619e8006c0 Compacting 1@1 + 1@2 files
2024/07/30-09:23:03.396725 7f619e8006c0 Generated table #139@1: 135 keys, 278828 bytes
2024/07/30-09:23:03.396780 7f619e8006c0 Compacted 1@1 + 1@2 files => 278828 bytes
2024/07/30-09:23:03.445194 7f619e8006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/07/30-09:23:03.445387 7f619e8006c0 Delete type=2 #106
2024/07/30-09:23:03.445870 7f619e8006c0 Delete type=2 #138
2024/07/30-09:23:03.521388 7f619e8006c0 Manual compaction at level-1 from '!items!zON0h5SjFyANjPnA' @ 285 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000098 MANIFEST-000138

View File

@@ -1,7 +1,7 @@
2024/04/24-21:03:14.447506 7fcc64a006c0 Recovering log #96 2024/07/30-09:26:48.951614 7f619f8006c0 Recovering log #136
2024/04/24-21:03:14.458045 7fcc64a006c0 Delete type=3 #94 2024/07/30-09:26:48.962377 7f619f8006c0 Delete type=3 #134
2024/04/24-21:03:14.458168 7fcc64a006c0 Delete type=0 #96 2024/07/30-09:26:48.962496 7f619f8006c0 Delete type=0 #136
2024/04/24-21:12:06.772537 7fcc5e4006c0 Level-0 table #101: started 2024/07/30-09:29:38.631861 7f619e8006c0 Level-0 table #141: started
2024/04/24-21:12:06.772571 7fcc5e4006c0 Level-0 table #101: 0 bytes OK 2024/07/30-09:29:38.631900 7f619e8006c0 Level-0 table #141: 0 bytes OK
2024/04/24-21:12:06.780429 7fcc5e4006c0 Delete type=0 #99 2024/07/30-09:29:38.640515 7f619e8006c0 Delete type=0 #139
2024/04/24-21:12:06.786953 7fcc5e4006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.640860 7f619e8006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

View File

@@ -1,7 +1,7 @@
2024/04/24-21:00:50.238991 7fcc5fe006c0 Recovering log #92 2024/07/30-09:10:55.114542 7f61a16006c0 Recovering log #132
2024/04/24-21:00:50.249789 7fcc5fe006c0 Delete type=3 #90 2024/07/30-09:10:55.125060 7f61a16006c0 Delete type=3 #130
2024/04/24-21:00:50.249856 7fcc5fe006c0 Delete type=0 #92 2024/07/30-09:10:55.125159 7f61a16006c0 Delete type=0 #132
2024/04/24-21:03:07.427061 7fcc5e4006c0 Level-0 table #97: started 2024/07/30-09:23:03.446260 7f619e8006c0 Level-0 table #137: started
2024/04/24-21:03:07.427101 7fcc5e4006c0 Level-0 table #97: 0 bytes OK 2024/07/30-09:23:03.446314 7f619e8006c0 Level-0 table #137: 0 bytes OK
2024/04/24-21:03:07.433866 7fcc5e4006c0 Delete type=0 #95 2024/07/30-09:23:03.482153 7f619e8006c0 Delete type=0 #135
2024/04/24-21:03:07.434036 7fcc5e4006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.558536 7f619e8006c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
packs/scenes/000087.ldb Normal file

Binary file not shown.

View File

@@ -1 +1 @@
MANIFEST-000066 MANIFEST-000108

View File

@@ -1,8 +1,8 @@
2024/04/24-21:03:14.460264 7fcc5fe006c0 Recovering log #64 2024/07/30-09:26:48.966405 7f61a0c006c0 Recovering log #106
2024/04/24-21:03:14.471026 7fcc5fe006c0 Delete type=3 #62 2024/07/30-09:26:48.976989 7f61a0c006c0 Delete type=3 #104
2024/04/24-21:03:14.471085 7fcc5fe006c0 Delete type=0 #64 2024/07/30-09:26:48.977132 7f61a0c006c0 Delete type=0 #106
2024/04/24-21:12:06.786961 7fcc5e4006c0 Level-0 table #69: started 2024/07/30-09:29:38.667547 7f619e8006c0 Level-0 table #111: started
2024/04/24-21:12:06.786984 7fcc5e4006c0 Level-0 table #69: 0 bytes OK 2024/07/30-09:29:38.667608 7f619e8006c0 Level-0 table #111: 0 bytes OK
2024/04/24-21:12:06.793408 7fcc5e4006c0 Delete type=0 #67 2024/07/30-09:29:38.679898 7f619e8006c0 Delete type=0 #109
2024/04/24-21:12:06.800278 7fcc5e4006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.680276 7f619e8006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
2024/04/24-21:12:06.800312 7fcc5e4006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2024/07/30-09:29:38.680339 7f619e8006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)

View File

@@ -1,8 +1,8 @@
2024/04/24-21:00:50.251923 7fcc64a006c0 Recovering log #60 2024/07/30-09:10:55.129106 7f61a0c006c0 Recovering log #102
2024/04/24-21:00:50.262770 7fcc64a006c0 Delete type=3 #58 2024/07/30-09:10:55.140215 7f61a0c006c0 Delete type=3 #100
2024/04/24-21:00:50.262826 7fcc64a006c0 Delete type=0 #60 2024/07/30-09:10:55.140318 7f61a0c006c0 Delete type=0 #102
2024/04/24-21:03:07.434179 7fcc5e4006c0 Level-0 table #65: started 2024/07/30-09:23:03.482450 7f619e8006c0 Level-0 table #107: started
2024/04/24-21:03:07.434204 7fcc5e4006c0 Level-0 table #65: 0 bytes OK 2024/07/30-09:23:03.482514 7f619e8006c0 Level-0 table #107: 0 bytes OK
2024/04/24-21:03:07.440869 7fcc5e4006c0 Delete type=0 #63 2024/07/30-09:23:03.521050 7f619e8006c0 Delete type=0 #105
2024/04/24-21:03:07.448328 7fcc5e4006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.558562 7f619e8006c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
2024/04/24-21:03:07.448358 7fcc5e4006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end) 2024/07/30-09:23:03.596053 7f619e8006c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

@@ -1,7 +1,7 @@
{ {
"id": "fvtt-les-heritiers", "id": "fvtt-les-heritiers",
"description": "Les Héritiers pour FoundryVTT", "description": "Les Héritiers pour FoundryVTT",
"version": "11.0.14", "version": "12.0.3",
"authors": [ "authors": [
{ {
"name": "Uberwald/LeRatierBretonnien", "name": "Uberwald/LeRatierBretonnien",
@@ -15,11 +15,13 @@
"esmodules": [ "esmodules": [
"modules/heritiers-main.js" "modules/heritiers-main.js"
], ],
"gridDistance": 5, "grid": {
"gridUnits": "m", "distance": 5,
"units": "m"
},
"license": "LICENSE.txt", "license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/raw/branch/master/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-11.0.14.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-12.0.3.zip",
"languages": [ "languages": [
{ {
"lang": "fr", "lang": "fr",
@@ -197,7 +199,7 @@
"url": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers", "url": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers",
"background": "systems/fvtt-les-heritiers/assets/ui/wallpaper_foundry2.webp", "background": "systems/fvtt-les-heritiers/assets/ui/wallpaper_foundry2.webp",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "11",
"verified": "11" "verified": "12"
} }
} }

View File

@@ -52,11 +52,7 @@
<span>&nbsp;&nbsp;</span> <span>&nbsp;&nbsp;</span>
<select class="item-field-label-medium" type="text" name="system.statutmasque" value="{{system.statutmasque}}" data-dtype="string"> <select class="item-field-label-medium" type="text" name="system.statutmasque" value="{{system.statutmasque}}" data-dtype="string">
{{#select system.statutmasque}} {{selectOptions config.statutMasque selected=system.statutmasque}}
{{#each config.statutMasque as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
<span>&nbsp;&nbsp;</span> <span>&nbsp;&nbsp;</span>
@@ -117,16 +113,14 @@
<span class="item-field-label-long2 roll-style"><a class="roll-competence item-field-label-short" <span class="item-field-label-long2 roll-style"><a class="roll-competence item-field-label-short"
data-attr-key="tochoose">{{skill.name}}</a></span> data-attr-key="tochoose">{{skill.name}}</a></span>
<select class="item-field-label-short edit-item-data" type="text" <select class="item-field-label-short edit-item-data" type="text"
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number"> data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
{{#select skill.system.niveau}} {{selectOptions @root.config.listNiveau selected=skill.system.niveau}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select> </select>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -221,10 +215,10 @@
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i <a class="item-control item-equip" title="Equipé">{{#if arme.system.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a> class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -255,8 +249,8 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -275,8 +269,8 @@
<span class="item-field-label-long2">{{fee.name}}</span> <span class="item-field-label-long2">{{fee.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
</div> </div>
@@ -317,8 +311,8 @@
<span class="item-field-label-long2">{{avantage.name}}</span> <span class="item-field-label-long2">{{avantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -343,8 +337,8 @@
<span class="item-field-label-long2">{{desavantage.name}}</span> <span class="item-field-label-long2">{{desavantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -369,8 +363,8 @@
<span class="item-field-label-long2">{{atout.name}}</span> <span class="item-field-label-long2">{{atout.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -412,8 +406,8 @@
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -438,8 +432,8 @@
<span class="item-field-label-long2">{{capa.name}}</span> <span class="item-field-label-long2">{{capa.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -463,8 +457,8 @@
<span class="item-field-label-long2">{{equip.name}}</span> <span class="item-field-label-long2">{{equip.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}

View File

@@ -14,7 +14,8 @@
{{#each system.caracteristiques as |carac key|}} {{#each system.caracteristiques as |carac key|}}
{{#if (eq kind "physical")}} {{#if (eq kind "physical")}}
<li class="item flexrow "> <li class="item flexrow ">
<h4 class="item-name-label competence-name roll-style"><a class="roll-carac" data-key="{{key}}">{{carac.label}}</a></h4> <h4 class="item-name-label competence-name roll-style"><a class="roll-carac"
data-key="{{key}}">{{carac.label}}</a></h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" /> name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" />
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
@@ -30,7 +31,8 @@
{{#each system.caracteristiques as |carac key|}} {{#each system.caracteristiques as |carac key|}}
{{#if (eq kind "mental")}} {{#if (eq kind "mental")}}
<li class="item flexrow "> <li class="item flexrow ">
<h4 class="item-name-label competence-name roll-style"><a class="roll-carac" data-key="{{key}}">{{carac.label}}</a></h4> <h4 class="item-name-label competence-name roll-style"><a class="roll-carac"
data-key="{{key}}">{{carac.label}}</a></h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" /> name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" />
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short" <input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
@@ -41,29 +43,31 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="flexrow"> <div class="flexrow">
<label class="item-field-label-short">PV</label> <label class="item-field-label-short">PV</label>
<input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}"
<input type="text" class="item-field-label-short" name="system.pv.max" value="{{system.pv.max}}" disabled data-dtype="Number" /> data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.pv.mod" value="{{system.pv.mod}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.pv.max" value="{{system.pv.max}}" disabled
<label class="item-field-label-short">Malus</label> data-dtype="Number" />
<input type="text" class="item-field-label-short" value="{{pvMalus.value}}" data-dtype="Number" disabled /> <input type="text" class="item-field-label-short" name="system.pv.mod" value="{{system.pv.mod}}"
<span>&nbsp;&nbsp;</span> data-dtype="Number" />
<label class="item-field-label-short">Malus</label>
<input type="text" class="item-field-label-short" value="{{pvMalus.value}}" data-dtype="Number" disabled />
<span>&nbsp;&nbsp;</span>
<select class="item-field-label-medium" type="text" name="system.statutmasque" value="{{system.statutmasque}}" data-dtype="string"> <select class="item-field-label-medium" type="text" name="system.statutmasque"
{{#select system.statutmasque}} value="{{system.statutmasque}}" data-dtype="string">
{{#each config.statutMasque as |categ cKey|}} {{selectOptions config.statutMasque selected=system.statutmasque}}
<option value="{{cKey}}">{{categ}}</option> </select>
{{/each}}
{{/select}} <span>&nbsp;&nbsp;</span>
</select> <label class="item-field-label-short">Tricherie</label>
<input type="text" class="item-field-label-short" name="system.rang.tricherie.value"
<span>&nbsp;&nbsp;</span> value="{{system.rang.tricherie.value}}" data-dtype="Number" />
<label class="item-field-label-short">Tricherie</label> <input type="text" class="item-field-label-short" name="system.rang.tricherie.max"
<input type="text" class="item-field-label-short" name="system.rang.tricherie.value" value="{{system.rang.tricherie.value}}" data-dtype="Number" /> value="{{system.rang.tricherie.max}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.tricherie.max" value="{{system.rang.tricherie.max}}" data-dtype="Number" /> </div>
</div>
</div> </div>
</div> </div>
@@ -92,13 +96,15 @@
<div> <div>
{{#each utileSkillsPhysical as |skillDef keyProfil|}} {{#each utileSkillsPhysical as |skillDef keyProfil|}}
{{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil}} {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil
config=config}}
{{/each}} {{/each}}
</div> </div>
<div> <div>
{{#each utileSkillsMental as |skillDef keyProfil|}} {{#each utileSkillsMental as |skillDef keyProfil|}}
{{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil}} {{> systems/fvtt-les-heritiers/templates/partial-utile-skills.html skillDef=skillDef keyProfil=keyProfil
config=config}}
{{/each}} {{/each}}
</div> </div>
@@ -124,16 +130,14 @@
<span class="item-field-label-long2 roll-style"><a class="roll-competence item-field-label-short" <span class="item-field-label-long2 roll-style"><a class="roll-competence item-field-label-short"
data-attr-key="tochoose">{{skill.name}}</a></span> data-attr-key="tochoose">{{skill.name}}</a></span>
<select class="item-field-label-short edit-item-data" type="text" <select class="item-field-label-short edit-item-data" type="text" data-item-field="niveau"
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number"> value="{{skill.system.niveau}}" data-dtype="Number">
{{#select skill.system.niveau}} {{selectOptions @root.config.listNiveau selected=skill.system.niveau}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select> </select>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -154,32 +158,41 @@
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
<label class="item-field-label-medium"><strong>Esquive</strong></label> <label class="item-field-label-medium"><strong>Esquive</strong></label>
<label class="item-field-label-medium">Masquée</label> <label class="item-field-label-medium">Masquée</label>
<input type="text" class="item-field-label-short" name="system.combat.esquive.masquee" value="{{system.combat.esquive.masquee}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.esquive.masquee"
value="{{system.combat.esquive.masquee}}" data-dtype="Number" />
<label class="item-field-label-medium">Démasquée</label> <label class="item-field-label-medium">Démasquée</label>
<input type="text" class="item-field-label-short" name="system.combat.esquive.demasquee" value="{{system.combat.esquive.demasquee}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.esquive.demasquee"
value="{{system.combat.esquive.demasquee}}" data-dtype="Number" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-medium"><strong>Parade</strong></label> <label class="item-field-label-medium"><strong>Parade</strong></label>
<label class="item-field-label-medium">Masquée</label> <label class="item-field-label-medium">Masquée</label>
<input type="text" class="item-field-label-short" name="system.combat.parade.masquee" value="{{system.combat.parade.masquee}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.parade.masquee"
value="{{system.combat.parade.masquee}}" data-dtype="Number" />
<label class="item-field-label-medium">Démasquée</label> <label class="item-field-label-medium">Démasquée</label>
<input type="text" class="item-field-label-short" name="system.combat.parade.demasquee" value="{{system.combat.parade.demasquee}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.parade.demasquee"
value="{{system.combat.parade.demasquee}}" data-dtype="Number" />
</li> </li>
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
<label class="item-field-label-long">Rés. physique</label> <label class="item-field-label-long">Rés. physique</label>
<input type="text" class="item-field-label-short" name="system.combat.resistancephysique.value" value="{{system.combat.resistancephysique.value}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.resistancephysique.value"
value="{{system.combat.resistancephysique.value}}" data-dtype="Number" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-long">Rés. psychique</label> <label class="item-field-label-long">Rés. psychique</label>
<input type="text" class="item-field-label-short" name="system.combat.resistancepsychique.value" value="{{system.combat.resistancepsychique.value}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.resistancepsychique.value"
value="{{system.combat.resistancepsychique.value}}" data-dtype="Number" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-medium">Protection : </label> <label class="item-field-label-medium">Protection : </label>
<input type="text" class="item-field-label-short" name="system.combat.protection.value" value="{{system.combat.protection.value}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.protection.value"
value="{{system.combat.protection.value}}" data-dtype="Number" />
</li> </li>
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
<label class="item-field-label-long">Effets secondaires</label> <label class="item-field-label-long">Effets secondaires</label>
<input type="text" class="item-field-label-short" name="system.combat.effetssecondaires" value="{{system.combat.effetssecondaires}}" data-dtype="String" /> <input type="text" class="item-field-label-short" name="system.combat.effetssecondaires"
value="{{system.combat.effetssecondaires}}" data-dtype="String" />
<label class="item-field-label-short">&nbsp;&nbsp;</label> <label class="item-field-label-short">&nbsp;&nbsp;</label>
<label class="item-field-label-long">Dissimulation : </label> <label class="item-field-label-long">Dissimulation : </label>
<input type="text" class="item-field-label-short" name="system.combat.dissimulation.value" value="{{system.combat.dissimulation.value}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.combat.dissimulation.value"
value="{{system.combat.dissimulation.value}}" data-dtype="Number" />
</li> </li>
</ul> </ul>
@@ -219,22 +232,23 @@
<span class="item-field-label-short"> <span class="item-field-label-short">
<button class="roll-assomer-arme button-sheet-roll">Assomer</button> <button class="roll-assomer-arme button-sheet-roll">Assomer</button>
</span> </span>
{{#if arme.system.isMelee}} {{#if arme.system.isMelee}}
<span class="item-field-label-short"> <span class="item-field-label-short">
<button class="roll-attaque-charge-arme button-sheet-roll">Charger</button> <button class="roll-attaque-charge-arme button-sheet-roll">Charger</button>
</span> </span>
<span class="item-field-label-short"> <span class="item-field-label-short">
<button class="roll-attaque-brutale-arme button-sheet-roll button-sheet-roll-long1">Attaque brutale</button> <button class="roll-attaque-brutale-arme button-sheet-roll button-sheet-roll-long1">Attaque
brutale</button>
</span> </span>
{{/if}} {{/if}}
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i <a class="item-control item-equip" title="Equipé">{{#if arme.system.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a> class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -265,8 +279,8 @@
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -278,15 +292,15 @@
{{!-- Fee Tab --}} {{!-- Fee Tab --}}
<div class="tab fee" data-group="primary" data-tab="fee"> <div class="tab fee" data-group="primary" data-tab="fee">
<div class="flexrow"> <div class="flexrow">
<li class="item flexrow " data-item-id="{{fee._id}}" data-item-type="avantage"> <li class="item flexrow " data-item-id="{{fee._id}}" data-item-type="avantage">
<img class="item-name-img" src="{{fee.img}}" /> <img class="item-name-img" src="{{fee.img}}" />
<span class="item-field-label-long2">{{fee.name}}</span> <span class="item-field-label-long2">{{fee.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
</div> </div>
@@ -294,15 +308,22 @@
<div class="flexrow"> <div class="flexrow">
<ul> <ul>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="feerie">Féerie</a></label> <label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short"
<input type="text" class="item-field-label-short" name="system.rang.feerie.value" value="{{system.rang.feerie.value}}" data-dtype="Number" /> data-rang-key="feerie">Féerie</a></label>
<input type="text" class="item-field-label-short" name="system.rang.feerie.max" value="{{system.rang.feerie.max}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.rang.feerie.value"
value="{{system.rang.feerie.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.feerie.max"
value="{{system.rang.feerie.max}}" data-dtype="Number" />
<span class="item-field-label-medium"></span> <span class="item-field-label-medium"></span>
<label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short" data-rang-key="masque">Masque</a></label> <label class="item-field-label-medium roll-style"><a class="roll-rang item-field-label-short"
<input type="text" class="item-field-label-short" name="system.rang.masque.value" value="{{system.rang.masque.value}}" data-dtype="Number" /> data-rang-key="masque">Masque</a></label>
<input type="text" class="item-field-label-short" name="system.rang.masque.max" value="{{system.rang.masque.max}}" data-dtype="Number" /> <input type="text" class="item-field-label-short" name="system.rang.masque.value"
value="{{system.rang.masque.value}}" data-dtype="Number" />
<input type="text" class="item-field-label-short" name="system.rang.masque.max"
value="{{system.rang.masque.max}}" data-dtype="Number" />
<span class="item-field-label-medium"></span> <span class="item-field-label-medium"></span>
<label class="item-field-label-long roll-style"><a class="dialog-recup-usage item-field-label-long">Récup. P. d'Usage</a></label> <label class="item-field-label-long roll-style"><a class="dialog-recup-usage item-field-label-long">Récup.
P. d'Usage</a></label>
</li> </li>
</ul> </ul>
</div> </div>
@@ -327,8 +348,8 @@
<span class="item-field-label-long2">{{avantage.name}}</span> <span class="item-field-label-long2">{{avantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -353,8 +374,8 @@
<span class="item-field-label-long2">{{desavantage.name}}</span> <span class="item-field-label-long2">{{desavantage.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -379,8 +400,8 @@
<span class="item-field-label-long2">{{atout.name}}</span> <span class="item-field-label-long2">{{atout.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -419,11 +440,11 @@
<span class="item-field-label-medium">{{upperFirst pouvoir.system.pouvoirtype}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.pouvoirtype}}</span>
<span class="item-field-label-medium">{{upperFirst pouvoir.system.niveau}}</span> <span class="item-field-label-medium">{{upperFirst pouvoir.system.niveau}}</span>
<span class="item-field-label-medium">{{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}}</span> <span class="item-field-label-medium">{{pouvoir.system.pointsusagecourant}}/{{pouvoir.maxUsage}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -449,8 +470,8 @@
<span class="item-field-label-long2">{{capa.name}}</span> <span class="item-field-label-long2">{{capa.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -464,7 +485,7 @@
{{!-- Equipement Tab --}} {{!-- Equipement Tab --}}
<div class="tab equipement" data-group="primary" data-tab="equipement"> <div class="tab equipement" data-group="primary" data-tab="equipement">
<div class="sheet-box color-bg-archetype"> <div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list"> <ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg"> <li class="item flexrow list-item items-title-bg">
@@ -472,8 +493,9 @@
<h3><label class="items-title-text">Equipements</label></h3> <h3><label class="items-title-text">Equipements</label></h3>
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="equipement" title="Créer un équipement"><i class="fas fa-plus"></i></a> <a class="item-control item-add" data-type="equipement" title="Créer un équipement"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each equipements as |equip key|}} {{#each equipements as |equip key|}}
@@ -482,8 +504,8 @@
<span class="item-field-label-long2">{{equip.name}}</span> <span class="item-field-label-long2">{{equip.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -501,8 +523,9 @@
<h3><label class="items-title-text">Contacts, Allies et Ennemis</label></h3> <h3><label class="items-title-text">Contacts, Allies et Ennemis</label></h3>
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="contact" title="Créer un contact"><i class="fas fa-plus"></i></a> <a class="item-control item-add" data-type="contact" title="Créer un contact"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
</div> </div>
@@ -515,8 +538,9 @@
<h3><label class="items-title-text">{{contactList.label}}</label></h3> <h3><label class="items-title-text">{{contactList.label}}</label></h3>
</span> </span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="contact" title="Créer un contact"><i class="fas fa-plus"></i></a> <a class="item-control item-add" data-type="contact" title="Créer un contact"><i
class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each contactList.list as |contact key|}} {{#each contactList.list as |contact key|}}
@@ -525,8 +549,8 @@
<span class="item-field-label-long2">{{contact.name}}</span> <span class="item-field-label-long2">{{contact.name}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -559,8 +583,8 @@
<span class="item-field-label-medium">{{upperFirst profil.system.profiltype}}</span> <span class="item-field-label-medium">{{upperFirst profil.system.profiltype}}</span>
<div class="item-filler">&nbsp;</div> <div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a> <a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a> <a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
</div> </div>
</li> </li>
{{/each}} {{/each}}
@@ -570,28 +594,37 @@
<div class="flexrow"> <div class="flexrow">
<ul> <ul>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Nom humain</label> <input type="text" class="" name="system.biodata.nomhumain" value="{{system.biodata.nomhumain}}" data-dtype="String" /> <label class="item-field-label-long2">Nom humain</label> <input type="text" class=""
name="system.biodata.nomhumain" value="{{system.biodata.nomhumain}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Activités</label> <input type="text" class="" name="system.biodata.activites" value="{{system.biodata.activites}}" data-dtype="String" /> <label class="item-field-label-long2">Activités</label> <input type="text" class=""
name="system.biodata.activites" value="{{system.biodata.activites}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Apparence masquée</label> <input type="text" class="" name="system.biodata.apparencemasquee" value="{{system.biodata.apparencemasquee}}" data-dtype="String" /> <label class="item-field-label-long2">Apparence masquée</label> <input type="text" class=""
name="system.biodata.apparencemasquee" value="{{system.biodata.apparencemasquee}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Apparence démasquée</label> <input type="text" class="" name="system.biodata.apparencedemasquee" value="{{system.biodata.apparencedemasquee}}" data-dtype="String" /> <label class="item-field-label-long2">Apparence démasquée</label> <input type="text" class=""
name="system.biodata.apparencedemasquee" value="{{system.biodata.apparencedemasquee}}"
data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Titre et Famille</label> <input type="text" class="" name="system.biodata.titrefamille" value="{{system.biodata.titrefamille}}" data-dtype="String" /> <label class="item-field-label-long2">Titre et Famille</label> <input type="text" class=""
name="system.biodata.titrefamille" value="{{system.biodata.titrefamille}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Factions féériques</label> <input type="text" class="" name="system.biodata.factionfeerique" value="{{system.biodata.factionfeerique}}" data-dtype="String" /> <label class="item-field-label-long2">Factions féériques</label> <input type="text" class=""
name="system.biodata.factionfeerique" value="{{system.biodata.factionfeerique}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Traits de caractères dominants</label> <input type="text" class="" name="system.biodata.traitscaracteres" value="{{system.biodata.traitscaracteres}}" data-dtype="String" /> <label class="item-field-label-long2">Traits de caractères dominants</label> <input type="text" class=""
name="system.biodata.traitscaracteres" value="{{system.biodata.traitscaracteres}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="item-field-label-long2">Langues</label> <input type="text" class="" name="system.biodata.langues" value="{{system.biodata.langues}}" data-dtype="String" /> <label class="item-field-label-long2">Langues</label> <input type="text" class=""
name="system.biodata.langues" value="{{system.biodata.langues}}" data-dtype="String" />
</li> </li>
</ul> </ul>
</div> </div>
@@ -625,8 +658,8 @@
</li> </li>
<li class="item flexrow"> <li class="item flexrow">
<label class="generic-label">Taille Démasquée</label> <label class="generic-label">Taille Démasquée</label>
<input type="text" class="" name="system.biodata.tailledemasquee" value="{{system.biodata.tailledemasquee}}" <input type="text" class="" name="system.biodata.tailledemasquee"
data-dtype="String" /> value="{{system.biodata.tailledemasquee}}" data-dtype="String" />
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Type de taille</label> <label class="generic-label">Type de taille</label>
@@ -635,7 +668,8 @@
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label">Points d'héritage</label> <label class="generic-label">Points d'héritage</label>
<input type="text" class="" name="system.rang.heritage.value" value="{{system.rang.heritage.value}}" data-dtype="String" /> <input type="text" class="" name="system.rang.heritage.value" value="{{system.rang.heritage.value}}"
data-dtype="String" />
</li> </li>
</ul> </ul>
@@ -664,7 +698,7 @@
data-dtype="String" /> data-dtype="String" />
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -18,13 +18,13 @@
<div> <div>
<ul> <ul>
<li>Assomer {{defenderName}} en état de : {{etatAssommer}}</li> <li>Assomer {{defenderName}} en état de : {{etatAssommer}}</li>
{{#if isSuccess}} {{#if isSuccess}}
<li>Marge : {{marge}}</li> <li>Marge : {{marge}}</li>
<li>{{defenderName}} est assomé pour {{dureeAssommer}} minutes !</li> <li>{{defenderName}} est assomé pour {{dureeAssommer}} minutes !</li>
{{else}} {{else}}
<li>{{defenderName}} n'a pas été assomé et est conscient la tentative !</li> <li>{{defenderName}} n'a pas été assomé et est conscient la tentative !</li>
{{/if}} {{/if}}
</ul> </ul>
</div> </div>

View File

@@ -18,25 +18,26 @@
<div> <div>
<ul> <ul>
<li>Défense de {{defenderName}} : {{defenderMode}} ({{defenderValue}})</li> <li>Défense de {{defenderName}} : {{defenderMode}} ({{defenderValue}})</li>
{{#if isSuccess}}
<li>Marge : {{marge}}</li>
<li>Degats de l'arme : {{degatsArme}}</li>
{{#if (eq attaqueCible "membre")}}
<li><strong>Cible un membre : La cible a -2 de malus sur ces actions avec ce membre (mouvement 2 si jambes)</strong></li>
{{/if}}
{{#if (eq attaqueCible "main")}}
<li><strong>Cible une main : La cible ne peut plus utiliser sa main</strong></li>
{{/if}}
{{#if isCriticalSuccess}} {{#if isSuccess}}
<Li>Critique : Aubaine ou +2 aux dégats ci-dessus</li> <li>Marge : {{marge}}</li>
{{/if}} <li>Degats de l'arme : {{degatsArme}}</li>
{{#if (eq attaqueCible "membre")}}
<li><strong>Cible un membre : La cible a -2 de malus sur ces actions avec ce membre (mouvement 2 si jambes)</strong>
</li>
{{/if}}
{{#if (eq attaqueCible "main")}}
<li><strong>Cible une main : La cible ne peut plus utiliser sa main</strong></li>
{{/if}}
{{#if isCriticalSuccess}}
<Li>Critique : Aubaine ou +2 aux dégats ci-dessus</li>
{{/if}}
{{else}} {{else}}
<li>Echec face à la {{defenderMode}} !</li> <li>Echec face à la {{defenderMode}} !</li>
{{/if}} {{/if}}
</ul> </ul>
</div> </div>

View File

@@ -26,16 +26,16 @@
{{#if competence}} {{#if competence}}
<li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li> <li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li>
{{#if useSpecialite}} {{#if useSpecialite}}
<li>Bonus de spécialité +1</li> <li>Bonus de spécialité +1</li>
{{/if}} {{/if}}
{{/if}} {{/if}}
{{#if arme}} {{#if arme}}
<li>Attaque avec : {{arme.name}}</li> <li>Attaque avec : {{arme.name}}</li>
{{#if (eq mode "assommer")}} {{#if (eq mode "assommer")}}
<li>Attaque pour assommer</li> <li>Attaque pour assommer</li>
{{/if}} {{/if}}
{{/if}} {{/if}}
{{#if pouvoir}} {{#if pouvoir}}
@@ -50,44 +50,44 @@
{{#if noRoll}} {{#if noRoll}}
{{else}} {{else}}
<li>Formule : {{diceFormula}}</li> <li>Formule : {{diceFormula}}</li>
<li>Résultat du dé : {{diceResult}} </li> <li>Résultat du dé : {{diceResult}} </li>
{{#if adjacentFaces}} {{#if adjacentFaces}}
<li>Faces Adjacentes : <li>Faces Adjacentes :
{{#each adjacentFaces as |value key|}} {{#each adjacentFaces as |value key|}}
<a class="roll-tricherie-2" data-dice-value="{{value}}">{{value}}</a> <a class="roll-tricherie-2" data-dice-value="{{value}}">{{value}}</a>
{{/each}} {{/each}}
</li> </li>
{{/if}}
<li>Total : {{finalResult}} {{#if (gt sdValue "-1")}}(Marge : {{marge}}){{/if}}</li>
{{#if (gt sdValue "-1")}}
{{#if isSuccess}}
<li class="chat-success">Succès...
</li>
{{else}}
<li class="chat-failure">Echec...</li>
{{/if}}
{{/if}}
{{#if isBrelan}}
<li class="chat-success">Brelan sur 3 dés !</li>
{{/if}}
{{#if isSuite}}
<li class="chat-success">Suite sur 3 dés !</li>
{{/if}}
{{#if isCriticalSuccess}}
<li class="chat-success">Réussite Critique !!!</li>
{{/if}}
{{#if isCriticalFailure}}
<li class="chat-failure">Echec Critique !!!</li>
{{/if}}
{{/if}} {{/if}}
</ul>
</div>
<li>Total : {{finalResult}} {{#if (gt sdValue "-1")}}(Marge : {{marge}}){{/if}}</li>
{{#if (gt sdValue "-1")}}
<li>Seuil de difficulté : {{sdValue}}</li>
{{#if isSuccess}}
<li class="chat-success">Succès...
</li>
{{else}}
<li class="chat-failure">Echec...</li>
{{/if}}
{{/if}}
{{#if isBrelan}}
<li class="chat-success">Brelan sur 3 dés !</li>
{{/if}}
{{#if isSuite}}
<li class="chat-success">Suite sur 3 dés !</li>
{{/if}}
{{#if isCriticalSuccess}}
<li class="chat-success">Réussite Critique !!!</li>
{{/if}}
{{#if isCriticalFailure}}
<li class="chat-failure">Echec Critique !!!</li>
{{/if}}
{{/if}}
</ul>
</div>

View File

@@ -1,356 +0,0 @@
<form class="{{cssClass}}" autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields background-sheet-header">
<div class="flexrow">
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="flexcol">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
<div class="flexrow">
<ul class="item-list alternate-list">
<li class="item flexrow ">
<h4 class="item-name-label competence-name">Ressources</h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.ressources.value" value="{{system.ressources.value}}" data-dtype="Number" />
</li>
</ul>
</div>
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="principal">Technique</a>
<a class="item" data-tab="competences">Compétences</a>
<a class="item" data-tab="talents">Talents</a>
<a class="item" data-tab="armes">Armes</a>
<a class="item" data-tab="biodata">Bio&Notes</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Main Tab --}}
<div class="tab principal" data-group="primary" data-tab="principal">
<div class="grid grid-2col">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
{{#each system.attributs as |attr key|}}
<li class="item flexrow " data-attr-key="{{key}}">
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/{{attr.labelnorm}}.webp">
<span class="item-name-label competence-name item-field-label-medium"><a
class="roll-attribut">{{attr.label}}</a></span>
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
name="system.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="Number">
{{#select attr.value}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select>
</li>
{{/each}}
<li class="item flexrow">
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/vitesse.webp">
<span class="item-name-label competence-name item-field-label-medium">Vitesse</span>
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.vitesse.value"
value="{{system.vitesse.value}}" data-dtype="Number" />
</li>
</ul>
<h4 class="item-name-label competence-name">Santé</h4>
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="label-name item-field-label-short">Vigueur</label>
<label class="label-name item-field-label-short">{{system.sante.vigueur}}</label>
</li>
<li class="item flexrow">
<label class="label-name item-field-label-short">Etat</label>
<select class="label-name item-field-label-medium" type="text" name="system.sante.etat" value="{{system.sante.etat}}" data-dtype="Number">
{{#select system.sante.etat}}
{{> systems/fvtt-les-heritiers/templates/partial-sante-etat.html}}
{{/select}}
</select>
</li>
</ul>
<h4 class="item-name-label competence-name">Combat</h4>
<ul class="item-list alternate-list">
<li class="item flexrow">
<button class="chat-card-button roll-initiative">Initiative</button>
</li>
</ul>
</div>
<div class="sheet-box color-bg-archetype">
<h4 class="item-name-label competence-name">Adversité</h4>
<ul class="item-list alternate-list">
{{#each system.adversite as |adv key|}}
<li class="item flexrow" data-adversite="{{key}}">
<a class="adversite-modify plus-minus-button" data-adversite-value="-1">-</a>
<div class="icon-adversite-container">
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_{{key}}.webp">
<div class="adversite-text">{{adv}}</div>
</div>
<a class="adversite-modify plus-minus-button" data-adversite-value="1">+</a>
<div class="">&nbsp;</div>
<div class="">&nbsp;</div>
<div class="">&nbsp;</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Competence Tab --}}
<div class="tab competences" data-group="primary" data-tab="competences">
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Compétences</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Niveau</label>
</span>
<div class="item-filler">&nbsp;</div>
</li>
{{#each skills as |skill key|}}
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
<img class="item-name-img" src="{{skill.img}}" />
<span class="item-name-label competence-name"><a class="roll-competence item-field-label-short"
data-attr-key="tochoose">{{skill.name}}</a></span>
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
{{#select skill.system.niveau}}
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
{{/select}}
</select>
{{#if (ne skill.system.attribut1 "none")}}
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut1}}">{{upper
skill.system.attribut1}} : {{skill.system.attribut1total}}</button>
{{/if}}
{{#if (ne skill.system.attribut2 "none")}}
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut2}}">{{upper
skill.system.attribut2}} : {{skill.system.attribut2total}}</button>
{{/if}}
{{#if (ne skill.system.attribut3 "none")}}
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut3}}">{{upper
skill.system.attribut3}} : {{skill.system.attribut3total}}</button>
{{/if}}
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Talents Tab --}}
<div class="tab talents" data-group="primary" data-tab="talents">
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Talents</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Résumé</label>
</span>
<div class="item-filler">&nbsp;</div>
</li>
{{#each talents as |talent key|}}
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
<img class="item-name-img" src="{{talent.img}}" />
<span class="item-name-label competence-name">{{talent.name}}</span>
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Talents de Cellule</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Résumé</label>
</span>
<div class="item-filler">&nbsp;</div>
</li>
{{#each talentsCell as |talent key|}}
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
<img class="item-name-img" src="{{talent.img}}" />
<span class="item-name-label competence-name">{{talent.name}}</span>
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Equipement Tab --}}
<div class="tab armes" data-group="primary" data-tab="armes">
<div class="flexcol">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Armes</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Attaque</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Défense</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Dégats</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each armes as |arme key|}}
<li class="item flexrow " data-item-id="{{arme._id}}" data-item-type="arme">
<img class="item-name-img" src="{{arme.img}}" />
<span class="item-name-label competence-name">{{arme.name}}</span>
<span class="item-field-label-short">
{{#if arme.system.equipped}}
<button class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
{{else}}
<button disabled class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
{{/if}}
</span>
{{#if arme.system.isdefense}}
<span class="item-field-label-short arme-defensif item-field-label-short"><label
class="arme-defensif item-field-label-short defense-sheet">{{arme.system.totalDefensif}}</label></span>
{{else}}
<span class="item-field-label-short arme-defensif item-field-label-short"><label
class="arme-defensif item-field-label-short defense-sheet">N/A</label></span>
{{/if}}
<span class="item-field-label-short">
{{#if arme.system.equipped}}
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
{{else}}
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
{{/if}}
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Protections</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Protection</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each protections as |protection key|}}
<li class="item flexrow " data-item-id="{{protection._id}}" data-item-type="protection">
<img class="item-name-img" src="{{protection.img}}" />
<span class="item-name-label competence-name">{{protection.name}}</span>
<span class="item-field-label-short arme-defensif"><label
class="arme-defensif">{{protection.system.protection}}</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
</div>
{{!-- Biography Tab --}}
<div class="tab biodata" data-group="primary" data-tab="biodata">
<span>
<h3>Description</h3>
</span>
<div class="medium-editor item-text-long-line">
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
</div>
<span>
<h3>Habitat</h3>
</span>
<div class="medium-editor item-text-long-line">
{{editor habitat target="system.biodata.habitat" button=true owner=owner editable=editable}}
</div>
</div>
</section>
</form>

View File

@@ -16,11 +16,7 @@
<label class="item-field-label-long">Catégorie : </label> <label class="item-field-label-long">Catégorie : </label>
<select class="item-field-label-long" type="text" name="system.categorie" <select class="item-field-label-long" type="text" name="system.categorie"
value="{{system.categorie}}" data-dtype="string"> value="{{system.categorie}}" data-dtype="string">
{{#select system.categorie}} {{selectOptions config.categorieArme selected=system.categorie}}
{{#each config.categorieArme as |categ key|}}
<option value="{{key}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -28,11 +24,7 @@
<label class="item-field-label-long">Type : </label> <label class="item-field-label-long">Type : </label>
<select class="item-field-label-long" type="text" name="system.armetype" <select class="item-field-label-long" type="text" name="system.armetype"
value="{{system.armetype}}" data-dtype="string"> value="{{system.armetype}}" data-dtype="string">
{{#select system.armetype}} {{selectOptions config.typeArme selected=system.armetype}}
{{#each config.typeArme as |type key|}}
<option value="{{key}}">{{type}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -74,22 +66,14 @@
<label class="generic-label item-field-label-long">Légalité : </label> <label class="generic-label item-field-label-long">Légalité : </label>
<select class="item-field-label-long" type="text" name="system.legalite" <select class="item-field-label-long" type="text" name="system.legalite"
value="{{system.legalite}}" data-dtype="string"> value="{{system.legalite}}" data-dtype="string">
{{#select system.legalite}} {{selectOptions config.armeLegalite selected=system.legalite}}
{{#each config.armeLegalite as |legal key|}}
<option value="{{key}}">{{legal}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label item-field-label-long">Dissimulation : </label> <label class="generic-label item-field-label-long">Dissimulation : </label>
<select class="item-field-label-long" type="text" name="system.dissimulation" <select class="item-field-label-long" type="text" name="system.dissimulation"
value="{{system.dissimulation}}" data-dtype="string"> value="{{system.dissimulation}}" data-dtype="string">
{{#select system.dissimulation}} {{selectOptions config.armeDissimulation selected=system.dissimulation}}
{{#each config.armeDissimulation as |diss key|}}
<option value="{{key}}">{{diss}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
<li class="flexrow item"> <li class="flexrow item">

View File

@@ -16,11 +16,7 @@
<label class="generic-label item-field-label-long2">Type </label> <label class="generic-label item-field-label-long2">Type </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string"> name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string">
{{#select system.pouvoirtype}} {{selectOptions config.typePouvoir selected=system.pouvoirtype}}
{{#each config.typePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -52,11 +48,7 @@
<label class="generic-label item-field-label-long2">Résistance</label> <label class="generic-label item-field-label-long2">Résistance</label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.resistance" value="{{system.resistance}}" data-dtype="string"> name="system.resistance" value="{{system.resistance}}" data-dtype="string">
{{#select system.resistance}} {{selectOptions config.resistancePouvoir selected=system.resistance}}
{{#each config.resistancePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>

View File

@@ -16,11 +16,7 @@
<label class="generic-label item-field-label-long2">Catégorie </label> <label class="generic-label item-field-label-long2">Catégorie </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.categorie" value="{{system.categorie}}" data-dtype="string"> name="system.categorie" value="{{system.categorie}}" data-dtype="string">
{{#select system.categorie}} {{selectOptions config.competenceCategorie selected=system.categorie}}
{{#each config.competenceCategorie as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -28,11 +24,7 @@
<label class="generic-label item-field-label-long2">Profil </label> <label class="generic-label item-field-label-long2">Profil </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.profil" value="{{system.profil}}" data-dtype="string"> name="system.profil" value="{{system.profil}}" data-dtype="string">
{{#select system.profil}} {{selectOptions config.competenceProfil selected=system.profil labelAttr="name"}}
{{#each config.competenceProfil as |profil pKey|}}
<option value="{{pKey}}">{{profil.name}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>

View File

@@ -15,23 +15,14 @@
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label item-field-label-long">Type : </label> <label class="generic-label item-field-label-long">Type : </label>
<select class="item-field-label-long" type="text" name="system.contacttype" value="{{system.contacttype}}" data-dtype="String"> <select class="item-field-label-long" type="text" name="system.contacttype" value="{{system.contacttype}}" data-dtype="String">
{{#select system.contacttype}} {{selectOptions config.typeContact selected=system.contacttype}}
<option value="contact">Contact</option>
<option value="allie">Allié</option>
<option value="ennemi">Ennemis</option>
<option value="interet">Personne d'interêt</option>
{{/select}}
</select> </select>
</li> </li>
<li class="flexrow item"> <li class="flexrow item">
<label class="generic-label item-field-label-long">Niveau : </label> <label class="generic-label item-field-label-long">Niveau : </label>
<select class="item-field-label-long" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"> <select class="item-field-label-long" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number">
{{#select system.niveau}} {{selectOptions config.niveauContact selected=system.niveau}}
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
{{/select}}
</select> </select>
</li> </li>

View File

@@ -17,11 +17,7 @@
<label class="item-field-label-long">Type de féé</label> <label class="item-field-label-long">Type de féé</label>
<select class="item-field-label-long" type="text" name="system.feetype" <select class="item-field-label-long" type="text" name="system.feetype"
value="{{system.feetype}}" data-dtype="string"> value="{{system.feetype}}" data-dtype="string">
{{#select system.feetype}} {{selectOptions config.typeFee selected=system.feetype}}
{{#each config.typeFee as |type key|}}
<option value="{{key}}">{{type}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>

View File

@@ -16,11 +16,8 @@
<label class="generic-label item-field-label-long2">Masqué/Démasque </label> <label class="generic-label item-field-label-long2">Masqué/Démasque </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.masquetype" value="{{system.masquetype}}" data-dtype="string"> name="system.masquetype" value="{{system.masquetype}}" data-dtype="string">
{{#select system.masquetype}} {{selectOptions config.masquePouvoir selected=system.masquetype}}
{{#each config.masquePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -28,11 +25,8 @@
<label class="generic-label item-field-label-long2">Type </label> <label class="generic-label item-field-label-long2">Type </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string"> name="system.pouvoirtype" value="{{system.pouvoirtype}}" data-dtype="string">
{{#select system.pouvoirtype}} {{selectOptions config.typePouvoir selected=system.pouvoirtype}}
{{#each config.typePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -40,11 +34,8 @@
<label class="generic-label item-field-label-long2">Niveau </label> <label class="generic-label item-field-label-long2">Niveau </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.niveau" value="{{system.niveau}}" data-dtype="string"> name="system.niveau" value="{{system.niveau}}" data-dtype="string">
{{#select system.niveau}} {{selectOptions config.niveauPouvoir selected=system.niveau}}
{{#each config.niveauPouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -65,11 +56,7 @@
<label class="generic-label item-field-label-long2">Base </label> <label class="generic-label item-field-label-long2">Base </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.feeriemasque" value="{{system.feeriemasque}}" data-dtype="string"> name="system.feeriemasque" value="{{system.feeriemasque}}" data-dtype="string">
{{#select system.feeriemasque}} {{selectOptions config.baseTestPouvoir selected=system.feeriemasque}}
{{#each config.baseTestPouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
@@ -83,11 +70,7 @@
<label class="generic-label item-field-label-long2">+ Carac </label> <label class="generic-label item-field-label-long2">+ Carac </label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.carac" value="{{system.carac}}" data-dtype="string"> name="system.carac" value="{{system.carac}}" data-dtype="string">
{{#select system.carac}} {{selectOptions config.caracList selected=system.carac}}
{{#each config.caracList as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>
{{/if}} {{/if}}
@@ -136,11 +119,7 @@
<label class="generic-label item-field-label-long2">Résistance</label> <label class="generic-label item-field-label-long2">Résistance</label>
<select class="status-small-label color-class-common item-field-label-long" type="text" <select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.resistance" value="{{system.resistance}}" data-dtype="string"> name="system.resistance" value="{{system.resistance}}" data-dtype="string">
{{#select system.resistance}} {{selectOptions config.resistancePouvoir selected=system.resistance}}
{{#each config.resistancePouvoir as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
{{/each}}
{{/select}}
</select> </select>
</li> </li>

Some files were not shown because too many files have changed in this diff Show More