Compare commits
10 Commits
fvtt-les-h
...
master
Author | SHA1 | Date | |
---|---|---|---|
939cfb1e86 | |||
5f5e0e2a8c | |||
c993a9a5b1 | |||
cc7de0e53c | |||
4d41986c12 | |||
d04731f475 | |||
44a641a0ca | |||
1ad022d193 | |||
1c7cf343b1 | |||
d4b00e3508 |
@@ -160,6 +160,7 @@ export class HeritiersActor extends Actor {
|
||||
HeritiersUtility.sortArrayObjectsByName(comp)
|
||||
return comp
|
||||
}
|
||||
|
||||
prepareMagie() {
|
||||
let magieList = []
|
||||
for (let item of this.items) {
|
||||
@@ -167,10 +168,56 @@ export class HeritiersActor extends Actor {
|
||||
let magie = {}
|
||||
magie.name = item.name
|
||||
magie.competence = foundry.utils.duplicate(item)
|
||||
magie.sorts = []
|
||||
for (let sort of this.items) {
|
||||
if (sort.type == "sort" && sort.system.competence == item.name) {
|
||||
magie.sorts.push(sort)
|
||||
magie.rang = Math.round(item.system.niveau / 2);
|
||||
magie.rangGenericName = game.system.lesheritiers.config.rangName[magie.rang];
|
||||
console.log("Magie", item.name, item.system.niveau, magie.rang, magie.rangGenericName)
|
||||
//magie.rangSpecificName = game.system.lesheritiers.config.rangNameSpecific[item.name][magie.rangGenericName];
|
||||
magie.sorts = {}
|
||||
if (item.name == "Magie du Clan") {
|
||||
magie.sorts = {
|
||||
"soufflecombat": {
|
||||
1: { nomNiveau: magie.competence.system.nomniveausouffle.soufflecombat["1"], sorts: [] },
|
||||
2: { nomNiveau: magie.competence.system.nomniveausouffle.soufflecombat["2"], sorts: [] },
|
||||
3: { nomNiveau: magie.competence.system.nomniveausouffle.soufflecombat["3"], sorts: [] },
|
||||
4: { nomNiveau: magie.competence.system.nomniveausouffle.soufflecombat["4"], sorts: [] }
|
||||
},
|
||||
"soufflemouvement": {
|
||||
1: { nomNiveau: magie.competence.system.nomniveausouffle.soufflemouvement["1"], sorts: [] },
|
||||
2: { nomNiveau: magie.competence.system.nomniveausouffle.soufflemouvement["2"], sorts: [] },
|
||||
3: { nomNiveau: magie.competence.system.nomniveausouffle.soufflemouvement["3"], sorts: [] },
|
||||
4: { nomNiveau: magie.competence.system.nomniveausouffle.soufflemouvement["4"], sorts: [] }
|
||||
},
|
||||
"souffleesprit": {
|
||||
1: { nomNiveau: magie.competence.system.nomniveausouffle.souffleesprit["1"], sorts: [] },
|
||||
2: { nomNiveau: magie.competence.system.nomniveausouffle.souffleesprit["2"], sorts: [] },
|
||||
3: { nomNiveau: magie.competence.system.nomniveausouffle.souffleesprit["3"], sorts: [] },
|
||||
4: { nomNiveau: magie.competence.system.nomniveausouffle.souffleesprit["4"], sorts: [] }
|
||||
}
|
||||
}
|
||||
for (let sort of this.items) {
|
||||
if (sort.type == "sort" && sort.system.competence == item.name) {
|
||||
let sortObj = foundry.utils.duplicate(sort)
|
||||
sortObj.sdValue = HeritiersUtility.getSDSortValue(Number(sort.system.niveau))
|
||||
if (!magie.sorts[sort.system?.souffle]) {
|
||||
console.warn("Sort with unknown souffle ", sort.system.souffle, sort)
|
||||
continue
|
||||
}
|
||||
magie.sorts[sort.system.souffle][Number(sort.system.niveau)].sorts.push(sortObj)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
magie.sorts = {
|
||||
1: { nomNiveau: magie.competence.system.nomniveau["1"], sorts: [] },
|
||||
2: { nomNiveau: magie.competence.system.nomniveau["2"], sorts: [] },
|
||||
3: { nomNiveau: magie.competence.system.nomniveau["3"], sorts: [] },
|
||||
4: { nomNiveau: magie.competence.system.nomniveau["4"], sorts: [] }
|
||||
}
|
||||
for (let sort of this.items) {
|
||||
if (sort.type == "sort" && sort.system.competence == item.name) {
|
||||
let sortObj = foundry.utils.duplicate(sort)
|
||||
sortObj.sdValue = HeritiersUtility.getSDSortValue(Number(sort.system.niveau))
|
||||
magie.sorts[Number(sort.system.niveau)].sorts.push(sortObj)
|
||||
}
|
||||
}
|
||||
}
|
||||
magieList.push(magie)
|
||||
@@ -477,6 +524,7 @@ export class HeritiersActor extends Actor {
|
||||
adversite[adv] = Math.max(adversite[adv], 0)
|
||||
this.update({ 'system.adversite': adversite })
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async incDecQuantity(objetId, incDec = 0) {
|
||||
let objetQ = this.items.get(objetId)
|
||||
@@ -707,6 +755,20 @@ export class HeritiersActor extends Actor {
|
||||
rollDialog.render(true)
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
inDecCarac(key, incDec) {
|
||||
let carac = this.system.caracteristiques[key]
|
||||
carac.value += incDec
|
||||
if (carac.value < 0 || carac.value > carac.rang) {
|
||||
ui.notifications.warn("Pas assez de points dans cette caractéristique ou rang max atteint !")
|
||||
return false
|
||||
}
|
||||
carac.value = Math.max(carac.value, 0)
|
||||
carac.value = Math.min(carac.value, carac.rang)
|
||||
this.update({ [`system.caracteristiques.${key}`]: carac })
|
||||
return true
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async rollSort(sortId) {
|
||||
let sort = this.items.get(sortId)
|
||||
@@ -715,12 +777,41 @@ export class HeritiersActor extends Actor {
|
||||
ui.notifications.warn("Compétence de magie associée non trouvée !")
|
||||
return
|
||||
}
|
||||
if (sort.system.informatif) {
|
||||
if (sort.system.texteinformatif) {
|
||||
let chatData = { user: game.user.id, speaker: { actor: this, alias: this.name }, content: `<div class="heritiers-informatif-sort"><h4>Sort informatif !</h4>${sort.system.texteinformatif}</div>` }
|
||||
ChatMessage.create(chatData)
|
||||
} else {
|
||||
ui.notifications.info("Ce sort est uniquement informatif et ne peut pas être lancé.")
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
let rollData = this.getCommonRollData(comp.id)
|
||||
rollData.mode = "sort"
|
||||
rollData.sort = foundry.utils.duplicate(sort)
|
||||
rollData.sdValue = HeritiersUtility.getSDSortValue(sort.system.niveau)
|
||||
rollData.sortPointsAme = sort.system.niveau
|
||||
rollData.sdValue = HeritiersUtility.getSDSortValue(Number(sort.system.niveau))
|
||||
if (Number(sort.system.sdspecial) && Number(sort.system.sdspecial) > 0) {
|
||||
rollData.sdValue = Number(sort.system.sdspecial)
|
||||
}
|
||||
rollData.sortPointsAme = Number(sort.system.niveau)
|
||||
rollData.totalEsprit = 1
|
||||
if (sort.system.competence == "Grand Langage") {
|
||||
rollData.sortPointsAme *= 2
|
||||
rollData.totalEsprit = Math.floor((rollData.sortPointsAme) / 3)
|
||||
}
|
||||
if (rollData.sortPointsAme > this.system.magie.pointsame.value) {
|
||||
// Vérifier si au moins 1 point d'Esprit est disponible
|
||||
if (this.system.caracteristiques.esp.value <= rollData.totalEsprit) {
|
||||
ui.notifications.warn(`Pas assez de Points d'Esprit ni de Points d'Ame pour lancer ce sort (requis: ${rollData.totalEsprit}, disponible: ${this.system.caracteristiques.esp.value})`)
|
||||
return
|
||||
} else {
|
||||
rollData.spendEsprit = true
|
||||
ui.notifications.warn(`Vous n'avez pas assez de Points d'Ame pour lancer ce sort (requis: ${rollData.sortPointsAme}, disponible: ${this.system.magie.pointsame.value}).`)
|
||||
ui.notifications.warn(`${rollData.totalEsprit} Points d'Esprit seront utilisés à la place si vous effectuez le lancer.`)
|
||||
}
|
||||
}
|
||||
|
||||
if (sort.system.carac2 != "none") {
|
||||
// get the best carac between carac1 and carac2
|
||||
if (this.system.caracteristiques[sort.system.carac1].value > this.system.caracteristiques[sort.system.carac2].value) {
|
||||
@@ -729,6 +820,8 @@ export class HeritiersActor extends Actor {
|
||||
rollData.caracKey = sort.system.carac2
|
||||
}
|
||||
rollData.caracMessage = "Ce sort peut être lancé avec " + game.system.lesheritiers.config.caracList[sort.system.carac1] + " ou " + game.system.lesheritiers.config.caracList[sort.system.carac2] + ". La meilleure caractéristique a été selectionnée."
|
||||
} else {
|
||||
rollData.caracKey = sort.system.carac1
|
||||
}
|
||||
console.log("RollData", rollData)
|
||||
let rollDialog = await HeritiersRollDialog.create(this, rollData)
|
||||
@@ -913,6 +1006,23 @@ export class HeritiersActor extends Actor {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
incDecPointsAme(value) {
|
||||
let newValue = this.system.magie.pointsame.value + value
|
||||
newValue = Math.max(newValue, 0)
|
||||
newValue = Math.min(newValue, this.system.magie.pointsame.max)
|
||||
this.update({ 'system.magie.pointsame.value': newValue })
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
incDecPV(value) {
|
||||
let newValue = this.system.pv.value + value
|
||||
newValue = Math.max(newValue, 0)
|
||||
newValue = Math.min(newValue, this.system.pv.max)
|
||||
this.update({ 'system.pv.value': newValue })
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
incDecPointsUsage(pouvoirId, value) {
|
||||
let pouvoir = this.items.get(pouvoirId)
|
||||
|
@@ -12,26 +12,26 @@ export const HERITIERS_CONFIG = {
|
||||
"san": "Sang-Froid"
|
||||
},
|
||||
|
||||
competenceCategorie : {
|
||||
competenceCategorie: {
|
||||
"utile": "Utile",
|
||||
"futile": "Futile"
|
||||
},
|
||||
|
||||
|
||||
contactType: {
|
||||
contact: "Contact",
|
||||
contact: "Contact",
|
||||
allie: "Allié",
|
||||
ennemi: "Ennemi",
|
||||
interet: "Personne d'interêt"
|
||||
},
|
||||
|
||||
competenceProfil : {
|
||||
"aventurier": {kind: "physical", name: "Aventurier"},
|
||||
"roublard": {kind: "physical",name: "Roublard"},
|
||||
"combattant": {kind: "physical",name:"Combattant"},
|
||||
"erudit": {kind: "mental",name:"Erudit"},
|
||||
"savant": {kind: "mental",name:"Savant"},
|
||||
"gentleman": {kind: "mental",name:"Gentleman"},
|
||||
"magie": {kind: "magical", name: "Magie"},
|
||||
competenceProfil: {
|
||||
"aventurier": { kind: "physical", name: "Aventurier" },
|
||||
"roublard": { kind: "physical", name: "Roublard" },
|
||||
"combattant": { kind: "physical", name: "Combattant" },
|
||||
"erudit": { kind: "mental", name: "Erudit" },
|
||||
"savant": { kind: "mental", name: "Savant" },
|
||||
"gentleman": { kind: "mental", name: "Gentleman" },
|
||||
"magie": { kind: "magical", name: "Magie" },
|
||||
},
|
||||
baseTestPouvoir: {
|
||||
"feerie": "Féerie",
|
||||
@@ -53,7 +53,7 @@ export const HERITIERS_CONFIG = {
|
||||
},
|
||||
statutMasque: {
|
||||
"masque": "Masqué",
|
||||
"demasque":"Démasqué"
|
||||
"demasque": "Démasqué"
|
||||
},
|
||||
niveauPouvoir: {
|
||||
"normal": "Normal",
|
||||
@@ -100,8 +100,8 @@ export const HERITIERS_CONFIG = {
|
||||
"main": "Main",
|
||||
"tete": "Tête/Coeur"
|
||||
},
|
||||
|
||||
categorieArme : {
|
||||
|
||||
categorieArme: {
|
||||
"trait": "Arme de trait",
|
||||
"poing": "Arme de poing",
|
||||
"epaule": "Arme d'épaule",
|
||||
@@ -109,7 +109,7 @@ export const HERITIERS_CONFIG = {
|
||||
"blanche": "Arme blanche",
|
||||
"improvise": "Arme improvisée",
|
||||
"explosif": "Explosif"
|
||||
},
|
||||
},
|
||||
typeArme: {
|
||||
"naturelle": "Arme naturelle",
|
||||
"trait": "Trait",
|
||||
@@ -131,13 +131,13 @@ export const HERITIERS_CONFIG = {
|
||||
"controlee": "Contrôlée (C)",
|
||||
"prohibee": "Prohibée (P)"
|
||||
},
|
||||
armeDissimulation :{
|
||||
armeDissimulation: {
|
||||
"tresfacile": "Très facile (TF)",
|
||||
"facile": "Facile (F)",
|
||||
"difficile": "Difficile (D)",
|
||||
"impossible": "Impossible (I)"
|
||||
},
|
||||
typeProtection : {
|
||||
typeProtection: {
|
||||
"balle": "Protège ds balles",
|
||||
"melee": "Protège en mélée",
|
||||
"tout": "Tout type de dégats"
|
||||
@@ -146,7 +146,7 @@ export const HERITIERS_CONFIG = {
|
||||
"traditionnelle": "Traditionnelle",
|
||||
"moderne": "Moderne",
|
||||
"orientale": "Orientale"
|
||||
},
|
||||
},
|
||||
typeContact: {
|
||||
"contact": "Contact",
|
||||
"allie": "Allié",
|
||||
@@ -164,41 +164,50 @@ export const HERITIERS_CONFIG = {
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
},
|
||||
attaquePlusieursList : {
|
||||
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\""}
|
||||
{ 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"}
|
||||
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" }
|
||||
],
|
||||
listNiveauSort: {
|
||||
"1" : "1",
|
||||
"2" : "2",
|
||||
"3" : "3",
|
||||
"4" : "4"
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4"
|
||||
},
|
||||
listRangSort: {
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7"
|
||||
},
|
||||
listNiveau: {
|
||||
"0": "0",
|
||||
@@ -213,5 +222,61 @@ export const HERITIERS_CONFIG = {
|
||||
"9": "9",
|
||||
"10": "10"
|
||||
},
|
||||
rangName: [
|
||||
"Novice",
|
||||
"Novice",
|
||||
"Adepte",
|
||||
"Maître",
|
||||
"Grand Maître"
|
||||
],
|
||||
rangNameSpecific: {
|
||||
"Druidisme": {
|
||||
"Novice": "Eubage",
|
||||
"Adepte": "Saronide",
|
||||
"Maître": "Ovate",
|
||||
"Grand Maître": "Archidruide"
|
||||
},
|
||||
"Faëomancie": {
|
||||
"Novice": "Marmiton",
|
||||
"Adepte": "Queux",
|
||||
"Maître": "Chef",
|
||||
"Grand Maître": "Maître-queux"
|
||||
},
|
||||
"Nécromancie": {
|
||||
"Novice": "Inexpertus",
|
||||
"Adepte": "Discipulus",
|
||||
"Maître": "Dominus",
|
||||
"Grand Maître": "Magister"
|
||||
},
|
||||
"Necromancie": {
|
||||
"Novice": "Inexpertus",
|
||||
"Adepte": "Discipulus",
|
||||
"Maître": "Dominus",
|
||||
"Grand Maître": "Magister"
|
||||
},
|
||||
"Magie du Clan": {
|
||||
"Novice": "Apprenti",
|
||||
"Adepte": "Disciple",
|
||||
"Maître": "Maître",
|
||||
"Grand Maître": "Éminence"
|
||||
},
|
||||
"Théurgie": {
|
||||
"Novice": "Frère",
|
||||
"Adepte": "Père",
|
||||
"Maître": "Saint",
|
||||
"Grand Maître": "Apôtre"
|
||||
},
|
||||
"Grand Langage": {
|
||||
"Novice": "Éveillé",
|
||||
"Adepte": "Initié",
|
||||
"Maître": "Sage",
|
||||
"Grand Maître": "Docteur"
|
||||
}
|
||||
},
|
||||
soufflesMagieDuClan: {
|
||||
"soufflecombat": "Souffle du Combat",
|
||||
"soufflemouvement": "Souffle du Mouvement",
|
||||
"souffleesprit": "Souffle de l'Esprit"
|
||||
}
|
||||
|
||||
}
|
@@ -15,7 +15,7 @@ export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
||||
width: 620,
|
||||
height: 550,
|
||||
tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}]
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }]
|
||||
});
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||
owner: this.document.isOwner,
|
||||
config: game.system.lesheritiers.config,
|
||||
isArmeMelee: HeritiersUtility.isArmeMelee(this.object),
|
||||
description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.description, {async: true}),
|
||||
description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.description, { async: true }),
|
||||
mr: (this.object.type == 'specialisation'),
|
||||
isGM: game.user.isGM,
|
||||
usageMax: -1
|
||||
@@ -76,7 +76,7 @@ export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||
this.object.system.pointsusagecourant = formData.usageMax
|
||||
}
|
||||
}
|
||||
if (this.object.type == 'sort' ) {
|
||||
if (this.object.type == 'sort') {
|
||||
formData.competencesMagie = HeritiersUtility.getCompetencesMagie()
|
||||
}
|
||||
|
||||
@@ -143,15 +143,15 @@ export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||
|
||||
html.find('#add-specialite').click(ev => {
|
||||
let spec = foundry.utils.duplicate(this.object.system.specialites)
|
||||
spec.push( { name: "Nouvelle Spécialité", id: foundry.utils.randomID(16), used: false })
|
||||
this.object.update( { 'system.specialites': spec })
|
||||
spec.push({ name: "Nouvelle Spécialité", id: foundry.utils.randomID(16), used: false })
|
||||
this.object.update({ 'system.specialites': spec })
|
||||
})
|
||||
html.find('.delete-specialite').click(ev => {
|
||||
const li = $(ev.currentTarget).parents(".specialite-item")
|
||||
let index = li.data("specialite-index")
|
||||
let spec = foundry.utils.duplicate(this.object.system.specialites)
|
||||
spec.splice(index,1)
|
||||
this.object.update( { 'system.specialites': spec })
|
||||
spec.splice(index, 1)
|
||||
this.object.update({ 'system.specialites': spec })
|
||||
})
|
||||
html.find('.edit-specialite').change(ev => {
|
||||
const li = $(ev.currentTarget).parents(".specialite-item")
|
||||
@@ -159,7 +159,7 @@ export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||
let spec = foundry.utils.duplicate(this.object.system.specialites)
|
||||
spec[index].name = ev.currentTarget.value
|
||||
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 => {
|
||||
const li = $(ev.currentTarget).parents(".specialite-item")
|
||||
@@ -167,20 +167,20 @@ export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||
let spec = foundry.utils.duplicate(this.object.system.specialites)
|
||||
spec[index].description = ev.currentTarget.value
|
||||
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 => {
|
||||
let autom = foundry.utils.duplicate(this.object.system.automations)
|
||||
autom.push( { eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: foundry.utils.randomID(16) })
|
||||
this.object.update( { 'system.automations': autom })
|
||||
autom.push({ eventtype: "on-drop", name: "Automatisation 1", competence: "", minLevel: 0, id: foundry.utils.randomID(16) })
|
||||
this.object.update({ 'system.automations': autom })
|
||||
})
|
||||
html.find('.delete-automation').click(ev => {
|
||||
const li = $(ev.currentTarget).parents(".automation-item")
|
||||
let index = li.data("automation-index")
|
||||
let autom = foundry.utils.duplicate(this.object.system.automations)
|
||||
autom.splice(index,1)
|
||||
this.object.update( { 'system.automations': autom })
|
||||
autom.splice(index, 1)
|
||||
this.object.update({ 'system.automations': autom })
|
||||
})
|
||||
html.find('.automation-edit-field').change(ev => {
|
||||
let index = $(ev.currentTarget).data("automation-index")
|
||||
@@ -188,7 +188,7 @@ export class HeritiersItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||
let auto = foundry.utils.duplicate(this.object.system.automations)
|
||||
auto[index][field] = ev.currentTarget.value
|
||||
auto[index].id = auto[index].id || foundry.utils.randomID(16)
|
||||
this.object.update( { 'system.automations': auto })
|
||||
this.object.update({ 'system.automations': auto })
|
||||
})
|
||||
|
||||
// Update Inventory Item
|
||||
|
@@ -118,9 +118,10 @@ export class HeritiersUtility {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static getSDSortValue(niveau) {
|
||||
if (niveau <= 2) return 12;
|
||||
if (niveau <= 4) return 14;
|
||||
if (niveau <= 6) return 16;
|
||||
if (niveau <= 1) return 12;
|
||||
if (niveau == 2) return 14;
|
||||
if (niveau == 3) return 16;
|
||||
if (niveau > 3) return 18;
|
||||
return 18;
|
||||
}
|
||||
|
||||
@@ -129,6 +130,18 @@ export class HeritiersUtility {
|
||||
return this.competencesMagie
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static buildCompetencesMagie() {
|
||||
let competences = foundry.utils.duplicate(this.getCompetencesMagie())
|
||||
for (let comp of competences) {
|
||||
// Calcul du rang
|
||||
let rang = Math.round(comp.system.niveau / 2);
|
||||
competences.system.rang = rang;
|
||||
competences.system.rangGenericName = game.system.lesheritiers.config.rangName[rang];
|
||||
competences.system.rangSpecificName = game.system.lesheritiers.config.rangNameSpecific[comp.Name][competences.system.rangGenericName];
|
||||
}
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static async loadCompendiumData(compendium) {
|
||||
const pack = game.packs.get(compendium);
|
||||
@@ -567,6 +580,17 @@ export class HeritiersUtility {
|
||||
if (rollData.mode == "pouvoir" || rollData.mode == "pouvoirpassif") {
|
||||
actor.incDecPointsUsage(rollData.pouvoir._id, -rollData.pouvoirPointsUsage)
|
||||
}
|
||||
// Gestion sort et points d'âme
|
||||
if (rollData.mode == "sort") {
|
||||
if (rollData.spendEsprit) {
|
||||
actor.inDecCarac("esp", -rollData.totalEsprit)
|
||||
} else {
|
||||
actor.incDecPointsAme(-rollData.sortPointsAme)
|
||||
if (rollData.sort.system.competence == "Magie du Clan") {
|
||||
actor.incDecPV(-2)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
this.createChatWithRollMode(rollData.alias, {
|
||||
content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-les-heritiers/templates/chat-generic-result.html`, rollData)
|
||||
|
@@ -1 +1 @@
|
||||
MANIFEST-000204
|
||||
MANIFEST-000300
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.392137 7f12ef7fe6c0 Recovering log #202
|
||||
2025/08/11-22:51:18.402831 7f12ef7fe6c0 Delete type=3 #200
|
||||
2025/08/11-22:51:18.403033 7f12ef7fe6c0 Delete type=0 #202
|
||||
2025/08/11-22:52:41.281449 7f12edffb6c0 Level-0 table #207: started
|
||||
2025/08/11-22:52:41.281484 7f12edffb6c0 Level-0 table #207: 0 bytes OK
|
||||
2025/08/11-22:52:41.288560 7f12edffb6c0 Delete type=0 #205
|
||||
2025/08/11-22:52:41.294969 7f12edffb6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.295038 7f12edffb6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.823326 7f307affd6c0 Recovering log #298
|
||||
2025/09/15-22:15:24.833041 7f307affd6c0 Delete type=3 #296
|
||||
2025/09/15-22:15:24.833115 7f307affd6c0 Delete type=0 #298
|
||||
2025/09/15-22:23:01.584235 7f307a7fc6c0 Level-0 table #303: started
|
||||
2025/09/15-22:23:01.584266 7f307a7fc6c0 Level-0 table #303: 0 bytes OK
|
||||
2025/09/15-22:23:01.590949 7f307a7fc6c0 Delete type=0 #301
|
||||
2025/09/15-22:23:01.597083 7f307a7fc6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.597126 7f307a7fc6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:20.213810 7f12eeffd6c0 Recovering log #198
|
||||
2025/08/11-21:34:20.256044 7f12eeffd6c0 Delete type=3 #196
|
||||
2025/08/11-21:34:20.256149 7f12eeffd6c0 Delete type=0 #198
|
||||
2025/08/11-22:51:08.095390 7f12edffb6c0 Level-0 table #203: started
|
||||
2025/08/11-22:51:08.095416 7f12edffb6c0 Level-0 table #203: 0 bytes OK
|
||||
2025/08/11-22:51:08.101419 7f12edffb6c0 Delete type=0 #201
|
||||
2025/08/11-22:51:08.115257 7f12edffb6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.115306 7f12edffb6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.325495 7f307affd6c0 Recovering log #294
|
||||
2025/09/15-21:06:27.335836 7f307affd6c0 Delete type=3 #292
|
||||
2025/09/15-21:06:27.335957 7f307affd6c0 Delete type=0 #294
|
||||
2025/09/15-21:08:54.705256 7f307a7fc6c0 Level-0 table #299: started
|
||||
2025/09/15-21:08:54.705333 7f307a7fc6c0 Level-0 table #299: 0 bytes OK
|
||||
2025/09/15-21:08:54.712270 7f307a7fc6c0 Delete type=0 #297
|
||||
2025/09/15-21:08:54.731675 7f307a7fc6c0 Manual compaction at level-0 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.731735 7f307a7fc6c0 Manual compaction at level-1 from '!items!1NhJH4IJpxsGmLB8' @ 72057594037927935 : 1 .. '!items!y1yOenfAJTsb3r6e' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000204
|
||||
MANIFEST-000300
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.427459 7f12effff6c0 Recovering log #202
|
||||
2025/08/11-22:51:18.437741 7f12effff6c0 Delete type=3 #200
|
||||
2025/08/11-22:51:18.437824 7f12effff6c0 Delete type=0 #202
|
||||
2025/08/11-22:52:41.295170 7f12edffb6c0 Level-0 table #207: started
|
||||
2025/08/11-22:52:41.295253 7f12edffb6c0 Level-0 table #207: 0 bytes OK
|
||||
2025/08/11-22:52:41.301406 7f12edffb6c0 Delete type=0 #205
|
||||
2025/08/11-22:52:41.321176 7f12edffb6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.321242 7f12edffb6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.848609 7f307b7fe6c0 Recovering log #298
|
||||
2025/09/15-22:15:24.859061 7f307b7fe6c0 Delete type=3 #296
|
||||
2025/09/15-22:15:24.859140 7f307b7fe6c0 Delete type=0 #298
|
||||
2025/09/15-22:23:01.577999 7f307a7fc6c0 Level-0 table #303: started
|
||||
2025/09/15-22:23:01.578051 7f307a7fc6c0 Level-0 table #303: 0 bytes OK
|
||||
2025/09/15-22:23:01.584148 7f307a7fc6c0 Delete type=0 #301
|
||||
2025/09/15-22:23:01.597073 7f307a7fc6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.597114 7f307a7fc6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:20.321725 7f12ee7fc6c0 Recovering log #198
|
||||
2025/08/11-21:34:20.374068 7f12ee7fc6c0 Delete type=3 #196
|
||||
2025/08/11-21:34:20.374213 7f12ee7fc6c0 Delete type=0 #198
|
||||
2025/08/11-22:51:08.133789 7f12edffb6c0 Level-0 table #203: started
|
||||
2025/08/11-22:51:08.133823 7f12edffb6c0 Level-0 table #203: 0 bytes OK
|
||||
2025/08/11-22:51:08.139874 7f12edffb6c0 Delete type=0 #201
|
||||
2025/08/11-22:51:08.147851 7f12edffb6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.158002 7f12edffb6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.351420 7f307bfff6c0 Recovering log #294
|
||||
2025/09/15-21:06:27.362201 7f307bfff6c0 Delete type=3 #292
|
||||
2025/09/15-21:06:27.362258 7f307bfff6c0 Delete type=0 #294
|
||||
2025/09/15-21:08:54.712395 7f307a7fc6c0 Level-0 table #299: started
|
||||
2025/09/15-21:08:54.712426 7f307a7fc6c0 Level-0 table #299: 0 bytes OK
|
||||
2025/09/15-21:08:54.718406 7f307a7fc6c0 Delete type=0 #297
|
||||
2025/09/15-21:08:54.731696 7f307a7fc6c0 Manual compaction at level-0 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.731747 7f307a7fc6c0 Manual compaction at level-1 from '!items!1ETVaPBtjDtzelK1' @ 72057594037927935 : 1 .. '!items!zbsVCsWxRzkzzG1N' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000204
|
||||
MANIFEST-000300
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.358721 7f12eeffd6c0 Recovering log #202
|
||||
2025/08/11-22:51:18.370416 7f12eeffd6c0 Delete type=3 #200
|
||||
2025/08/11-22:51:18.370477 7f12eeffd6c0 Delete type=0 #202
|
||||
2025/08/11-22:52:41.264660 7f12edffb6c0 Level-0 table #207: started
|
||||
2025/08/11-22:52:41.264688 7f12edffb6c0 Level-0 table #207: 0 bytes OK
|
||||
2025/08/11-22:52:41.270787 7f12edffb6c0 Delete type=0 #205
|
||||
2025/08/11-22:52:41.294911 7f12edffb6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.295015 7f12edffb6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.798700 7f307bfff6c0 Recovering log #298
|
||||
2025/09/15-22:15:24.808066 7f307bfff6c0 Delete type=3 #296
|
||||
2025/09/15-22:15:24.808115 7f307bfff6c0 Delete type=0 #298
|
||||
2025/09/15-22:23:01.541562 7f307a7fc6c0 Level-0 table #303: started
|
||||
2025/09/15-22:23:01.541615 7f307a7fc6c0 Level-0 table #303: 0 bytes OK
|
||||
2025/09/15-22:23:01.547814 7f307a7fc6c0 Delete type=0 #301
|
||||
2025/09/15-22:23:01.565908 7f307a7fc6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.565949 7f307a7fc6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:20.151917 7f12ee7fc6c0 Recovering log #198
|
||||
2025/08/11-21:34:20.210898 7f12ee7fc6c0 Delete type=3 #196
|
||||
2025/08/11-21:34:20.211020 7f12ee7fc6c0 Delete type=0 #198
|
||||
2025/08/11-22:51:08.101600 7f12edffb6c0 Level-0 table #203: started
|
||||
2025/08/11-22:51:08.101658 7f12edffb6c0 Level-0 table #203: 0 bytes OK
|
||||
2025/08/11-22:51:08.109108 7f12edffb6c0 Delete type=0 #201
|
||||
2025/08/11-22:51:08.115273 7f12edffb6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.115320 7f12edffb6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.300488 7f307bfff6c0 Recovering log #294
|
||||
2025/09/15-21:06:27.310028 7f307bfff6c0 Delete type=3 #292
|
||||
2025/09/15-21:06:27.310094 7f307bfff6c0 Delete type=0 #294
|
||||
2025/09/15-21:08:54.685417 7f307a7fc6c0 Level-0 table #299: started
|
||||
2025/09/15-21:08:54.685439 7f307a7fc6c0 Level-0 table #299: 0 bytes OK
|
||||
2025/09/15-21:08:54.692723 7f307a7fc6c0 Delete type=0 #297
|
||||
2025/09/15-21:08:54.705096 7f307a7fc6c0 Manual compaction at level-0 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.705139 7f307a7fc6c0 Manual compaction at level-1 from '!items!0fPXtA5LkLgG8uDj' @ 72057594037927935 : 1 .. '!items!zvtBlG6KCIn0oCVk' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000204
|
||||
MANIFEST-000300
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.304943 7f12ef7fe6c0 Recovering log #202
|
||||
2025/08/11-22:51:18.317352 7f12ef7fe6c0 Delete type=3 #200
|
||||
2025/08/11-22:51:18.317883 7f12ef7fe6c0 Delete type=0 #202
|
||||
2025/08/11-22:52:41.257402 7f12edffb6c0 Level-0 table #207: started
|
||||
2025/08/11-22:52:41.257472 7f12edffb6c0 Level-0 table #207: 0 bytes OK
|
||||
2025/08/11-22:52:41.264373 7f12edffb6c0 Delete type=0 #205
|
||||
2025/08/11-22:52:41.264537 7f12edffb6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.264567 7f12edffb6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.760919 7f3080dfa6c0 Recovering log #298
|
||||
2025/09/15-22:15:24.770694 7f3080dfa6c0 Delete type=3 #296
|
||||
2025/09/15-22:15:24.770767 7f3080dfa6c0 Delete type=0 #298
|
||||
2025/09/15-22:23:01.521581 7f307a7fc6c0 Level-0 table #303: started
|
||||
2025/09/15-22:23:01.521642 7f307a7fc6c0 Level-0 table #303: 0 bytes OK
|
||||
2025/09/15-22:23:01.528012 7f307a7fc6c0 Delete type=0 #301
|
||||
2025/09/15-22:23:01.534278 7f307a7fc6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.534315 7f307a7fc6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:19.962488 7f12ee7fc6c0 Recovering log #198
|
||||
2025/08/11-21:34:20.014408 7f12ee7fc6c0 Delete type=3 #196
|
||||
2025/08/11-21:34:20.014461 7f12ee7fc6c0 Delete type=0 #198
|
||||
2025/08/11-22:51:08.055412 7f12edffb6c0 Level-0 table #203: started
|
||||
2025/08/11-22:51:08.055458 7f12edffb6c0 Level-0 table #203: 0 bytes OK
|
||||
2025/08/11-22:51:08.062106 7f12edffb6c0 Delete type=0 #201
|
||||
2025/08/11-22:51:08.085428 7f12edffb6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.085469 7f12edffb6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.262631 7f307bfff6c0 Recovering log #294
|
||||
2025/09/15-21:06:27.272396 7f307bfff6c0 Delete type=3 #292
|
||||
2025/09/15-21:06:27.272468 7f307bfff6c0 Delete type=0 #294
|
||||
2025/09/15-21:08:54.666847 7f307a7fc6c0 Level-0 table #299: started
|
||||
2025/09/15-21:08:54.666873 7f307a7fc6c0 Level-0 table #299: 0 bytes OK
|
||||
2025/09/15-21:08:54.672959 7f307a7fc6c0 Delete type=0 #297
|
||||
2025/09/15-21:08:54.679358 7f307a7fc6c0 Manual compaction at level-0 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.679384 7f307a7fc6c0 Manual compaction at level-1 from '!items!0EAAt0qSzcD9VRBH' @ 72057594037927935 : 1 .. '!items!zfpjROW9LDAlXUkN' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000204
|
||||
MANIFEST-000300
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.341321 7f12ee7fc6c0 Recovering log #202
|
||||
2025/08/11-22:51:18.354195 7f12ee7fc6c0 Delete type=3 #200
|
||||
2025/08/11-22:51:18.354810 7f12ee7fc6c0 Delete type=0 #202
|
||||
2025/08/11-22:52:41.237394 7f12edffb6c0 Level-0 table #207: started
|
||||
2025/08/11-22:52:41.237434 7f12edffb6c0 Level-0 table #207: 0 bytes OK
|
||||
2025/08/11-22:52:41.243722 7f12edffb6c0 Delete type=0 #205
|
||||
2025/08/11-22:52:41.264503 7f12edffb6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.264544 7f12edffb6c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.786128 7f307affd6c0 Recovering log #298
|
||||
2025/09/15-22:15:24.796141 7f307affd6c0 Delete type=3 #296
|
||||
2025/09/15-22:15:24.796205 7f307affd6c0 Delete type=0 #298
|
||||
2025/09/15-22:23:01.534415 7f307a7fc6c0 Level-0 table #303: started
|
||||
2025/09/15-22:23:01.534493 7f307a7fc6c0 Level-0 table #303: 0 bytes OK
|
||||
2025/09/15-22:23:01.541334 7f307a7fc6c0 Delete type=0 #301
|
||||
2025/09/15-22:23:01.565894 7f307a7fc6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.565940 7f307a7fc6c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:20.096085 7f12effff6c0 Recovering log #198
|
||||
2025/08/11-21:34:20.149715 7f12effff6c0 Delete type=3 #196
|
||||
2025/08/11-21:34:20.149828 7f12effff6c0 Delete type=0 #198
|
||||
2025/08/11-22:51:08.062220 7f12edffb6c0 Level-0 table #203: started
|
||||
2025/08/11-22:51:08.062246 7f12edffb6c0 Level-0 table #203: 0 bytes OK
|
||||
2025/08/11-22:51:08.068241 7f12edffb6c0 Delete type=0 #201
|
||||
2025/08/11-22:51:08.085439 7f12edffb6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.085475 7f12edffb6c0 Manual compaction at level-1 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.288049 7f307b7fe6c0 Recovering log #294
|
||||
2025/09/15-21:06:27.298262 7f307b7fe6c0 Delete type=3 #292
|
||||
2025/09/15-21:06:27.298356 7f307b7fe6c0 Delete type=0 #294
|
||||
2025/09/15-21:08:54.692841 7f307a7fc6c0 Level-0 table #299: started
|
||||
2025/09/15-21:08:54.692870 7f307a7fc6c0 Level-0 table #299: 0 bytes OK
|
||||
2025/09/15-21:08:54.698762 7f307a7fc6c0 Delete type=0 #297
|
||||
2025/09/15-21:08:54.705111 7f307a7fc6c0 Manual compaction at level-0 from '!items!0cNSRJVPk3GbvxfD' @ 72057594037927935 : 1 .. '!items!yWDg2KlXEz33TSmZ' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.705145 7f307a7fc6c0 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.
@@ -1 +1 @@
|
||||
MANIFEST-000207
|
||||
MANIFEST-000306
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.291417 7f12ee7fc6c0 Recovering log #204
|
||||
2025/08/11-22:51:18.301512 7f12ee7fc6c0 Delete type=3 #202
|
||||
2025/08/11-22:51:18.301601 7f12ee7fc6c0 Delete type=0 #204
|
||||
2025/08/11-22:52:41.243942 7f12edffb6c0 Level-0 table #210: started
|
||||
2025/08/11-22:52:41.244021 7f12edffb6c0 Level-0 table #210: 0 bytes OK
|
||||
2025/08/11-22:52:41.250458 7f12edffb6c0 Delete type=0 #208
|
||||
2025/08/11-22:52:41.264517 7f12edffb6c0 Manual compaction at level-0 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.264551 7f12edffb6c0 Manual compaction at level-1 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.748857 7f307affd6c0 Recovering log #304
|
||||
2025/09/15-22:15:24.758566 7f307affd6c0 Delete type=3 #302
|
||||
2025/09/15-22:15:24.758631 7f307affd6c0 Delete type=0 #304
|
||||
2025/09/15-22:23:01.528222 7f307a7fc6c0 Level-0 table #309: started
|
||||
2025/09/15-22:23:01.528266 7f307a7fc6c0 Level-0 table #309: 0 bytes OK
|
||||
2025/09/15-22:23:01.534172 7f307a7fc6c0 Delete type=0 #307
|
||||
2025/09/15-22:23:01.534287 7f307a7fc6c0 Manual compaction at level-0 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.534306 7f307a7fc6c0 Manual compaction at level-1 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,15 +1,8 @@
|
||||
2025/08/11-21:34:19.906242 7f12effff6c0 Recovering log #200
|
||||
2025/08/11-21:34:19.959359 7f12effff6c0 Delete type=3 #198
|
||||
2025/08/11-21:34:19.959494 7f12effff6c0 Delete type=0 #200
|
||||
2025/08/11-22:51:08.074684 7f12edffb6c0 Level-0 table #205: started
|
||||
2025/08/11-22:51:08.078126 7f12edffb6c0 Level-0 table #205: 31504 bytes OK
|
||||
2025/08/11-22:51:08.085271 7f12edffb6c0 Delete type=0 #203
|
||||
2025/08/11-22:51:08.085480 7f12edffb6c0 Manual compaction at level-0 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.085510 7f12edffb6c0 Manual compaction at level-1 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at '!items!zEl2NQsnCpELVWzh' @ 338 : 1
|
||||
2025/08/11-22:51:08.085516 7f12edffb6c0 Compacting 1@1 + 1@2 files
|
||||
2025/08/11-22:51:08.088988 7f12edffb6c0 Generated table #206@1: 77 keys, 31504 bytes
|
||||
2025/08/11-22:51:08.089022 7f12edffb6c0 Compacted 1@1 + 1@2 files => 31504 bytes
|
||||
2025/08/11-22:51:08.095088 7f12edffb6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2025/08/11-22:51:08.095209 7f12edffb6c0 Delete type=2 #197
|
||||
2025/08/11-22:51:08.095332 7f12edffb6c0 Delete type=2 #205
|
||||
2025/08/11-22:51:08.115239 7f12edffb6c0 Manual compaction at level-1 from '!items!zEl2NQsnCpELVWzh' @ 338 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.249709 7f307b7fe6c0 Recovering log #300
|
||||
2025/09/15-21:06:27.260222 7f307b7fe6c0 Delete type=3 #298
|
||||
2025/09/15-21:06:27.260307 7f307b7fe6c0 Delete type=0 #300
|
||||
2025/09/15-21:08:54.660355 7f307a7fc6c0 Level-0 table #305: started
|
||||
2025/09/15-21:08:54.660389 7f307a7fc6c0 Level-0 table #305: 0 bytes OK
|
||||
2025/09/15-21:08:54.666754 7f307a7fc6c0 Delete type=0 #303
|
||||
2025/09/15-21:08:54.679346 7f307a7fc6c0 Manual compaction at level-0 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.679378 7f307a7fc6c0 Manual compaction at level-1 from '!folders!FBCujRu055QLePB2' @ 72057594037927935 : 1 .. '!items!zEl2NQsnCpELVWzh' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/competences/MANIFEST-000306
Normal file
BIN
packs/competences/MANIFEST-000306
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000204
|
||||
MANIFEST-000300
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.324133 7f12effff6c0 Recovering log #202
|
||||
2025/08/11-22:51:18.335594 7f12effff6c0 Delete type=3 #200
|
||||
2025/08/11-22:51:18.336174 7f12effff6c0 Delete type=0 #202
|
||||
2025/08/11-22:52:41.250593 7f12edffb6c0 Level-0 table #207: started
|
||||
2025/08/11-22:52:41.250618 7f12edffb6c0 Level-0 table #207: 0 bytes OK
|
||||
2025/08/11-22:52:41.257077 7f12edffb6c0 Delete type=0 #205
|
||||
2025/08/11-22:52:41.264527 7f12edffb6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.264560 7f12edffb6c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.773117 7f307b7fe6c0 Recovering log #298
|
||||
2025/09/15-22:15:24.783458 7f307b7fe6c0 Delete type=3 #296
|
||||
2025/09/15-22:15:24.783520 7f307b7fe6c0 Delete type=0 #298
|
||||
2025/09/15-22:23:01.559017 7f307a7fc6c0 Level-0 table #303: started
|
||||
2025/09/15-22:23:01.559048 7f307a7fc6c0 Level-0 table #303: 0 bytes OK
|
||||
2025/09/15-22:23:01.565802 7f307a7fc6c0 Delete type=0 #301
|
||||
2025/09/15-22:23:01.565930 7f307a7fc6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.565957 7f307a7fc6c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:20.017484 7f12eeffd6c0 Recovering log #198
|
||||
2025/08/11-21:34:20.093316 7f12eeffd6c0 Delete type=3 #196
|
||||
2025/08/11-21:34:20.093428 7f12eeffd6c0 Delete type=0 #198
|
||||
2025/08/11-22:51:08.068405 7f12edffb6c0 Level-0 table #203: started
|
||||
2025/08/11-22:51:08.068464 7f12edffb6c0 Level-0 table #203: 0 bytes OK
|
||||
2025/08/11-22:51:08.074542 7f12edffb6c0 Delete type=0 #201
|
||||
2025/08/11-22:51:08.085448 7f12edffb6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.085490 7f12edffb6c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.274645 7f3080dfa6c0 Recovering log #294
|
||||
2025/09/15-21:06:27.285405 7f3080dfa6c0 Delete type=3 #292
|
||||
2025/09/15-21:06:27.285486 7f3080dfa6c0 Delete type=0 #294
|
||||
2025/09/15-21:08:54.679508 7f307a7fc6c0 Level-0 table #299: started
|
||||
2025/09/15-21:08:54.679542 7f307a7fc6c0 Level-0 table #299: 0 bytes OK
|
||||
2025/09/15-21:08:54.685322 7f307a7fc6c0 Delete type=0 #297
|
||||
2025/09/15-21:08:54.705080 7f307a7fc6c0 Manual compaction at level-0 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.705123 7f307a7fc6c0 Manual compaction at level-1 from '!items!2QqvtClSVnh5ejXu' @ 72057594037927935 : 1 .. '!items!xzRJ6JP1HqoqxLdj' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/journaux/000005.ldb
Normal file
BIN
packs/journaux/000005.ldb
Normal file
Binary file not shown.
1
packs/journaux/CURRENT
Normal file
1
packs/journaux/CURRENT
Normal file
@@ -0,0 +1 @@
|
||||
MANIFEST-000018
|
8
packs/journaux/LOG
Normal file
8
packs/journaux/LOG
Normal file
@@ -0,0 +1,8 @@
|
||||
2025/09/15-22:15:24.887393 7f3080dfa6c0 Recovering log #16
|
||||
2025/09/15-22:15:24.897947 7f3080dfa6c0 Delete type=3 #14
|
||||
2025/09/15-22:15:24.898013 7f3080dfa6c0 Delete type=0 #16
|
||||
2025/09/15-22:23:01.610372 7f307a7fc6c0 Level-0 table #21: started
|
||||
2025/09/15-22:23:01.610444 7f307a7fc6c0 Level-0 table #21: 0 bytes OK
|
||||
2025/09/15-22:23:01.616579 7f307a7fc6c0 Delete type=0 #19
|
||||
2025/09/15-22:23:01.623474 7f307a7fc6c0 Manual compaction at level-0 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.623518 7f307a7fc6c0 Manual compaction at level-1 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end)
|
8
packs/journaux/LOG.old
Normal file
8
packs/journaux/LOG.old
Normal file
@@ -0,0 +1,8 @@
|
||||
2025/09/15-21:06:27.389764 7f307affd6c0 Recovering log #12
|
||||
2025/09/15-21:06:27.400118 7f307affd6c0 Delete type=3 #10
|
||||
2025/09/15-21:06:27.400175 7f307affd6c0 Delete type=0 #12
|
||||
2025/09/15-21:08:54.731831 7f307a7fc6c0 Level-0 table #17: started
|
||||
2025/09/15-21:08:54.731879 7f307a7fc6c0 Level-0 table #17: 0 bytes OK
|
||||
2025/09/15-21:08:54.738151 7f307a7fc6c0 Delete type=0 #15
|
||||
2025/09/15-21:08:54.758915 7f307a7fc6c0 Manual compaction at level-0 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.758952 7f307a7fc6c0 Manual compaction at level-1 from '!journal!QZDy8zwSVh7t4meA' @ 72057594037927935 : 1 .. '!journal.pages!QZDy8zwSVh7t4meA.gdXBDBkPlBjfmTy7' @ 0 : 0; will stop at (end)
|
BIN
packs/journaux/MANIFEST-000018
Normal file
BIN
packs/journaux/MANIFEST-000018
Normal file
Binary file not shown.
Binary file not shown.
BIN
packs/magie-sorts/000107.ldb
Normal file
BIN
packs/magie-sorts/000107.ldb
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000002
|
||||
MANIFEST-000103
|
||||
|
@@ -1,5 +1,15 @@
|
||||
2025/08/11-22:51:18.389099 7f12eeffd6c0 Delete type=3 #1
|
||||
2025/08/11-22:52:41.270919 7f12edffb6c0 Level-0 table #5: started
|
||||
2025/08/11-22:52:41.274955 7f12edffb6c0 Level-0 table #5: 72907 bytes OK
|
||||
2025/08/11-22:52:41.281286 7f12edffb6c0 Delete type=0 #3
|
||||
2025/08/11-22:52:41.294945 7f12edffb6c0 Manual compaction at level-0 from '!folders!NE8l8XLXdVUw0aZm' @ 72057594037927935 : 1 .. '!items!zjQQhJpujpdbG4zl' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.810480 7f307b7fe6c0 Recovering log #101
|
||||
2025/09/15-22:15:24.820390 7f307b7fe6c0 Delete type=3 #99
|
||||
2025/09/15-22:15:24.820446 7f307b7fe6c0 Delete type=0 #101
|
||||
2025/09/15-22:23:01.547894 7f307a7fc6c0 Level-0 table #106: started
|
||||
2025/09/15-22:23:01.552623 7f307a7fc6c0 Level-0 table #106: 132165 bytes OK
|
||||
2025/09/15-22:23:01.558854 7f307a7fc6c0 Delete type=0 #104
|
||||
2025/09/15-22:23:01.565921 7f307a7fc6c0 Manual compaction at level-0 from '!folders!5pCYN0vTiCKOHrXM' @ 72057594037927935 : 1 .. '!items!zbZ88BQkH9ZCYlDK' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.565970 7f307a7fc6c0 Manual compaction at level-1 from '!folders!5pCYN0vTiCKOHrXM' @ 72057594037927935 : 1 .. '!items!zbZ88BQkH9ZCYlDK' @ 0 : 0; will stop at '!items!zbZ88BQkH9ZCYlDK' @ 457 : 0
|
||||
2025/09/15-22:23:01.565979 7f307a7fc6c0 Compacting 1@1 + 1@2 files
|
||||
2025/09/15-22:23:01.571458 7f307a7fc6c0 Generated table #107@1: 146 keys, 129863 bytes
|
||||
2025/09/15-22:23:01.571503 7f307a7fc6c0 Compacted 1@1 + 1@2 files => 129863 bytes
|
||||
2025/09/15-22:23:01.577463 7f307a7fc6c0 compacted to: files[ 0 0 1 0 0 0 0 ]
|
||||
2025/09/15-22:23:01.577659 7f307a7fc6c0 Delete type=2 #86
|
||||
2025/09/15-22:23:01.577865 7f307a7fc6c0 Delete type=2 #106
|
||||
2025/09/15-22:23:01.597062 7f307a7fc6c0 Manual compaction at level-1 from '!items!zbZ88BQkH9ZCYlDK' @ 457 : 0 .. '!items!zbZ88BQkH9ZCYlDK' @ 0 : 0; will stop at (end)
|
||||
|
8
packs/magie-sorts/LOG.old
Normal file
8
packs/magie-sorts/LOG.old
Normal file
@@ -0,0 +1,8 @@
|
||||
2025/09/15-21:06:27.312840 7f3080dfa6c0 Recovering log #97
|
||||
2025/09/15-21:06:27.322814 7f3080dfa6c0 Delete type=3 #95
|
||||
2025/09/15-21:06:27.322901 7f3080dfa6c0 Delete type=0 #97
|
||||
2025/09/15-21:08:54.698842 7f307a7fc6c0 Level-0 table #102: started
|
||||
2025/09/15-21:08:54.698870 7f307a7fc6c0 Level-0 table #102: 0 bytes OK
|
||||
2025/09/15-21:08:54.704908 7f307a7fc6c0 Delete type=0 #100
|
||||
2025/09/15-21:08:54.705132 7f307a7fc6c0 Manual compaction at level-0 from '!folders!1ENmqNfRLUTmKPc6' @ 72057594037927935 : 1 .. '!items!zbZ88BQkH9ZCYlDK' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.705168 7f307a7fc6c0 Manual compaction at level-1 from '!folders!1ENmqNfRLUTmKPc6' @ 72057594037927935 : 1 .. '!items!zbZ88BQkH9ZCYlDK' @ 0 : 0; will stop at (end)
|
Binary file not shown.
BIN
packs/magie-sorts/MANIFEST-000103
Normal file
BIN
packs/magie-sorts/MANIFEST-000103
Normal file
Binary file not shown.
@@ -1 +1 @@
|
||||
MANIFEST-000205
|
||||
MANIFEST-000301
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.409703 7f12eeffd6c0 Recovering log #203
|
||||
2025/08/11-22:51:18.420789 7f12eeffd6c0 Delete type=3 #201
|
||||
2025/08/11-22:51:18.420873 7f12eeffd6c0 Delete type=0 #203
|
||||
2025/08/11-22:52:41.288698 7f12edffb6c0 Level-0 table #208: started
|
||||
2025/08/11-22:52:41.288730 7f12edffb6c0 Level-0 table #208: 0 bytes OK
|
||||
2025/08/11-22:52:41.294715 7f12edffb6c0 Delete type=0 #206
|
||||
2025/08/11-22:52:41.294992 7f12edffb6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.295062 7f12edffb6c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.835820 7f307bfff6c0 Recovering log #299
|
||||
2025/09/15-22:15:24.845487 7f307bfff6c0 Delete type=3 #297
|
||||
2025/09/15-22:15:24.845568 7f307bfff6c0 Delete type=0 #299
|
||||
2025/09/15-22:23:01.591108 7f307a7fc6c0 Level-0 table #304: started
|
||||
2025/09/15-22:23:01.591136 7f307a7fc6c0 Level-0 table #304: 0 bytes OK
|
||||
2025/09/15-22:23:01.596986 7f307a7fc6c0 Delete type=0 #302
|
||||
2025/09/15-22:23:01.597090 7f307a7fc6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.597120 7f307a7fc6c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:20.258603 7f12effff6c0 Recovering log #199
|
||||
2025/08/11-21:34:20.318194 7f12effff6c0 Delete type=3 #197
|
||||
2025/08/11-21:34:20.318250 7f12effff6c0 Delete type=0 #199
|
||||
2025/08/11-22:51:08.109218 7f12edffb6c0 Level-0 table #204: started
|
||||
2025/08/11-22:51:08.109241 7f12edffb6c0 Level-0 table #204: 0 bytes OK
|
||||
2025/08/11-22:51:08.115092 7f12edffb6c0 Delete type=0 #202
|
||||
2025/08/11-22:51:08.115290 7f12edffb6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.115335 7f12edffb6c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.338726 7f307b7fe6c0 Recovering log #295
|
||||
2025/09/15-21:06:27.348432 7f307b7fe6c0 Delete type=3 #293
|
||||
2025/09/15-21:06:27.348491 7f307b7fe6c0 Delete type=0 #295
|
||||
2025/09/15-21:08:54.718495 7f307a7fc6c0 Level-0 table #300: started
|
||||
2025/09/15-21:08:54.718519 7f307a7fc6c0 Level-0 table #300: 0 bytes OK
|
||||
2025/09/15-21:08:54.724957 7f307a7fc6c0 Delete type=0 #298
|
||||
2025/09/15-21:08:54.731709 7f307a7fc6c0 Manual compaction at level-0 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.731758 7f307a7fc6c0 Manual compaction at level-1 from '!items!19r9ijZUyvnlIqgm' @ 72057594037927935 : 1 .. '!items!zON0h5SjFyANjPnA' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
0
packs/profils/000300.log
Normal file
0
packs/profils/000300.log
Normal file
@@ -1 +1 @@
|
||||
MANIFEST-000202
|
||||
MANIFEST-000298
|
||||
|
@@ -1,7 +1,7 @@
|
||||
2025/08/11-22:51:18.440585 7f12ef7fe6c0 Recovering log #200
|
||||
2025/08/11-22:51:18.452074 7f12ef7fe6c0 Delete type=3 #198
|
||||
2025/08/11-22:51:18.452406 7f12ef7fe6c0 Delete type=0 #200
|
||||
2025/08/11-22:52:41.301484 7f12edffb6c0 Level-0 table #205: started
|
||||
2025/08/11-22:52:41.301507 7f12edffb6c0 Level-0 table #205: 0 bytes OK
|
||||
2025/08/11-22:52:41.307731 7f12edffb6c0 Delete type=0 #203
|
||||
2025/08/11-22:52:41.321197 7f12edffb6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.861471 7f3080dfa6c0 Recovering log #296
|
||||
2025/09/15-22:15:24.871507 7f3080dfa6c0 Delete type=3 #294
|
||||
2025/09/15-22:15:24.871573 7f3080dfa6c0 Delete type=0 #296
|
||||
2025/09/15-22:23:01.597208 7f307a7fc6c0 Level-0 table #301: started
|
||||
2025/09/15-22:23:01.597240 7f307a7fc6c0 Level-0 table #301: 0 bytes OK
|
||||
2025/09/15-22:23:01.603183 7f307a7fc6c0 Delete type=0 #299
|
||||
2025/09/15-22:23:01.623429 7f307a7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,7 +1,7 @@
|
||||
2025/08/11-21:34:20.376707 7f12eeffd6c0 Recovering log #196
|
||||
2025/08/11-21:34:20.429317 7f12eeffd6c0 Delete type=3 #194
|
||||
2025/08/11-21:34:20.429419 7f12eeffd6c0 Delete type=0 #196
|
||||
2025/08/11-22:51:08.115446 7f12edffb6c0 Level-0 table #201: started
|
||||
2025/08/11-22:51:08.115492 7f12edffb6c0 Level-0 table #201: 0 bytes OK
|
||||
2025/08/11-22:51:08.121470 7f12edffb6c0 Delete type=0 #199
|
||||
2025/08/11-22:51:08.147831 7f12edffb6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.364429 7f3080dfa6c0 Recovering log #292
|
||||
2025/09/15-21:06:27.374643 7f3080dfa6c0 Delete type=3 #290
|
||||
2025/09/15-21:06:27.374720 7f3080dfa6c0 Delete type=0 #292
|
||||
2025/09/15-21:08:54.725160 7f307a7fc6c0 Level-0 table #297: started
|
||||
2025/09/15-21:08:54.725200 7f307a7fc6c0 Level-0 table #297: 0 bytes OK
|
||||
2025/09/15-21:08:54.731505 7f307a7fc6c0 Delete type=0 #295
|
||||
2025/09/15-21:08:54.731723 7f307a7fc6c0 Manual compaction at level-0 from 'undefined' @ 72057594037927935 : 1 .. 'undefined' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/profils/MANIFEST-000298
Normal file
BIN
packs/profils/MANIFEST-000298
Normal file
Binary file not shown.
0
packs/scenes/000271.log
Normal file
0
packs/scenes/000271.log
Normal file
@@ -1 +1 @@
|
||||
MANIFEST-000173
|
||||
MANIFEST-000269
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-22:51:18.458421 7f12eeffd6c0 Recovering log #171
|
||||
2025/08/11-22:51:18.469978 7f12eeffd6c0 Delete type=3 #169
|
||||
2025/08/11-22:51:18.470069 7f12eeffd6c0 Delete type=0 #171
|
||||
2025/08/11-22:52:41.314747 7f12edffb6c0 Level-0 table #176: started
|
||||
2025/08/11-22:52:41.314796 7f12edffb6c0 Level-0 table #176: 0 bytes OK
|
||||
2025/08/11-22:52:41.320976 7f12edffb6c0 Delete type=0 #174
|
||||
2025/08/11-22:52:41.321230 7f12edffb6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:52:41.321269 7f12edffb6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:15:24.873861 7f307affd6c0 Recovering log #267
|
||||
2025/09/15-22:15:24.883924 7f307affd6c0 Delete type=3 #265
|
||||
2025/09/15-22:15:24.884000 7f307affd6c0 Delete type=0 #267
|
||||
2025/09/15-22:23:01.616718 7f307a7fc6c0 Level-0 table #272: started
|
||||
2025/09/15-22:23:01.616761 7f307a7fc6c0 Level-0 table #272: 0 bytes OK
|
||||
2025/09/15-22:23:01.623192 7f307a7fc6c0 Delete type=0 #270
|
||||
2025/09/15-22:23:01.623491 7f307a7fc6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-22:23:01.623509 7f307a7fc6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
|
@@ -1,8 +1,8 @@
|
||||
2025/08/11-21:34:20.432403 7f12effff6c0 Recovering log #167
|
||||
2025/08/11-21:34:20.484938 7f12effff6c0 Delete type=3 #165
|
||||
2025/08/11-21:34:20.484995 7f12effff6c0 Delete type=0 #167
|
||||
2025/08/11-22:51:08.140001 7f12edffb6c0 Level-0 table #172: started
|
||||
2025/08/11-22:51:08.140028 7f12edffb6c0 Level-0 table #172: 0 bytes OK
|
||||
2025/08/11-22:51:08.147678 7f12edffb6c0 Delete type=0 #170
|
||||
2025/08/11-22:51:08.147861 7f12edffb6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
2025/08/11-22:51:08.157987 7f12edffb6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:06:27.376909 7f307b7fe6c0 Recovering log #263
|
||||
2025/09/15-21:06:27.386759 7f307b7fe6c0 Delete type=3 #261
|
||||
2025/09/15-21:06:27.386852 7f307b7fe6c0 Delete type=0 #263
|
||||
2025/09/15-21:08:54.752330 7f307a7fc6c0 Level-0 table #268: started
|
||||
2025/09/15-21:08:54.752369 7f307a7fc6c0 Level-0 table #268: 0 bytes OK
|
||||
2025/09/15-21:08:54.758780 7f307a7fc6c0 Delete type=0 #266
|
||||
2025/09/15-21:08:54.758945 7f307a7fc6c0 Manual compaction at level-0 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
2025/09/15-21:08:54.758971 7f307a7fc6c0 Manual compaction at level-1 from '!scenes!8DjkNeeujp2qff1N' @ 72057594037927935 : 1 .. '!scenes!ypDutqjqZcr7lx6I' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
@@ -111,10 +111,6 @@
|
||||
color: #151c1f;
|
||||
}
|
||||
|
||||
.heading-link {
|
||||
color: #151c1f;
|
||||
}
|
||||
|
||||
.window-app.sheet .window-content {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -382,6 +378,7 @@
|
||||
.editor {
|
||||
border: 2;
|
||||
height: 300px;
|
||||
margin-top: 8px;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
|
19
system.json
19
system.json
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "fvtt-les-heritiers",
|
||||
"description": "Les Héritiers pour FoundryVTT",
|
||||
"version": "13.0.1",
|
||||
"version": "13.0.7",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Uberwald/LeRatierBretonnien",
|
||||
@@ -21,7 +21,7 @@
|
||||
},
|
||||
"license": "LICENSE.txt",
|
||||
"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-13.0.1.zip",
|
||||
"download": "https://www.uberwald.me/gitea/public/fvtt-les-heritiers/archive/fvtt-les-heritiers-13.0.7.zip",
|
||||
"languages": [
|
||||
{
|
||||
"lang": "fr",
|
||||
@@ -65,7 +65,8 @@
|
||||
}
|
||||
],
|
||||
"packs": [
|
||||
"scenes"
|
||||
"scenes",
|
||||
"journaux"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -201,6 +202,18 @@
|
||||
"PLAYER": "OBSERVER",
|
||||
"ASSISTANT": "OWNER"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "JournalEntry",
|
||||
"label": "Journaux",
|
||||
"name": "journaux",
|
||||
"path": "packs/journaux",
|
||||
"system": "fvtt-les-heritiers",
|
||||
"flags": {},
|
||||
"ownership": {
|
||||
"PLAYER": "OBSERVER",
|
||||
"ASSISTANT": "OWNER"
|
||||
}
|
||||
}
|
||||
],
|
||||
"primaryTokenAttribute": "sante.vigueur",
|
||||
|
@@ -343,6 +343,10 @@
|
||||
"categorie": "",
|
||||
"profil": "",
|
||||
"niveau": 0,
|
||||
"nomniveau": { "1": "", "2": "", "3": "", "4": ""},
|
||||
"nomniveausouffle": { "soufflecombat": { "1":"", "2": "", "3": "", "4": "" },
|
||||
"soufflemouvement": { "1": "", "2": 0, "3": "", "4": "" },
|
||||
"souffleesprit": { "1": "", "2": "", "3": "", "4": "" } },
|
||||
"predilection": false,
|
||||
"specialites": [],
|
||||
"ismagie": false,
|
||||
@@ -356,16 +360,21 @@
|
||||
},
|
||||
"sort": {
|
||||
"niveau": "1",
|
||||
"rang": "1",
|
||||
"competence": "Druidisme",
|
||||
"carac1": "esp",
|
||||
"carac2": "none",
|
||||
"sdspecial": "",
|
||||
"duree": "",
|
||||
"portee": "",
|
||||
"concentration": "",
|
||||
"informatif": false,
|
||||
"texteinformatif": "",
|
||||
"critique": "",
|
||||
"ingredients": "",
|
||||
"resistance": "",
|
||||
"coutactivation": "",
|
||||
"souffle": "",
|
||||
"description": ""
|
||||
},
|
||||
"arme": {
|
||||
|
@@ -507,25 +507,26 @@
|
||||
|
||||
{{#each magieList as |magie idx|}}
|
||||
<li class="item flexrow " data-item-id="{{magie.competence._id}}" data-item-type="competence">
|
||||
<h2 class="flexrow"><label class="items-title-text "><a class="roll-competence item-field-label-short"
|
||||
<h3 class="flexrow"><label class="items-title-text "><a class="roll-competence item-field-label-short"
|
||||
data-attr-key="tochoose">{{magie.name}} {{magie.competence.system.niveau}} </a> </label>
|
||||
<!-- <span>Rang : {{magie.rang}}</span> -->
|
||||
<span>{{magie.rangSpecificName}}</span>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</h2>
|
||||
</h3>
|
||||
</li>
|
||||
|
||||
{{#if (eq magie.name "Magie du Clan")}}
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h4 class="items-title-text">Souffle de Combat</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each sorts.soufflecombat as |niveau key|}}
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header item-field-label-long2-img">
|
||||
<h3><label class="items-title-text">Nom du sort</label></h3>
|
||||
<h4><label class="items-title-text">Niveau {{key}} {{niveau.nomNiveau}}</label></h4>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Niveau</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
{{#if @root.isGM}}
|
||||
<a class="item-control item-add" data-type="sort" data-sort-competence={{magie.name}}
|
||||
@@ -533,11 +534,15 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{#each sorts as |sort key|}}
|
||||
{{#each niveau.sorts as |sort key|}}
|
||||
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
|
||||
<img class="item-name-img" src="{{sort.img}}" />
|
||||
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
|
||||
{{#if sort.system.informatif}}
|
||||
<span class="item-field-label-medium">Informatif</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
@@ -546,111 +551,33 @@
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Equipement Tab --}}
|
||||
<div class="tab equipement" data-group="primary" data-tab="equipement">
|
||||
|
||||
<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">Equipements</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
{{#each equipements as |equip key|}}
|
||||
<li class="item flexrow " data-item-id="{{equip._id}}" data-item-type="equipement">
|
||||
<img class="item-name-img" src="{{equip.img}}" />
|
||||
<span class="item-field-label-long2">{{equip.name}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Contact Tab --}}
|
||||
<div class="tab contact" data-group="primary" data-tab="contact">
|
||||
|
||||
<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 item-field-label-long3">
|
||||
<h3><label class="items-title-text">Contacts, Allies et Ennemis</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
</div>
|
||||
|
||||
{{#each contacts as |contactList idx|}}
|
||||
<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">{{contactList.label}}</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
{{#each contactList.list as |contact key|}}
|
||||
<li class="item flexrow " data-item-id="{{contact._id}}" data-item-type="contact">
|
||||
<img class="item-name-img" src="{{contact.img}}" />
|
||||
<span class="item-field-label-long2">{{contact.name}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biodata" data-group="primary" data-tab="biodata">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h4 class="items-title-text">Souffle de Mouvement</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each sorts.soufflemouvement as |niveau key|}}
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header item-field-label-long2-img">
|
||||
<h3><label class="items-title-text">Profils</label></h3>
|
||||
<h4><label class="items-title-text">Niveau {{key}} {{niveau.nomNiveau}}</label></h4>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Type</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
{{#if @root.isGM}}
|
||||
<a class="item-control item-add" data-type="sort" data-sort-competence={{magie.name}}
|
||||
title="Ajouter un sort"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{#each profils as |profil key|}}
|
||||
<li class="item flexrow " data-item-id="{{profil._id}}" data-item-type="profil">
|
||||
<img class="item-name-img" src="{{profil.img}}" />
|
||||
<span class="item-field-label-long2">{{profil.name}}</span>
|
||||
<span class="item-field-label-medium">{{upperFirst profil.system.profiltype}}</span>
|
||||
{{#each niveau.sorts as |sort key|}}
|
||||
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
|
||||
<img class="item-name-img" src="{{sort.img}}" />
|
||||
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
|
||||
{{#if sort.system.informatif}}
|
||||
<span class="item-field-label-medium">Informatif</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
@@ -658,181 +585,364 @@
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<div class="grid-2col">
|
||||
<ul>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-3col">
|
||||
<div>
|
||||
<ul>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Fortune</label>
|
||||
<input type="text" class="" name="system.biodata.fortune" value="{{system.biodata.fortune}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Genre</label>
|
||||
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Age</label>
|
||||
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
{{#if isGM}}
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Fiche de Magie ?</label>
|
||||
<input type="checkbox" class="item-field-label-short edit-item-data" name="system.biodata.magie" {{checked
|
||||
system.biodata.magie}} />
|
||||
</li>
|
||||
<h4 class="items-title-text">Souffle de l'Esprit</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each sorts.souffleesprit as |niveau key|}}
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header item-field-label-long2-img">
|
||||
<h4><label class="items-title-text">Niveau {{key}} {{niveau.nomNiveau}}</label></h4>
|
||||
</span>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
{{#if @root.isGM}}
|
||||
<a class="item-control item-add" data-type="sort" data-sort-competence={{magie.name}}
|
||||
title="Ajouter un sort"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{#each niveau.sorts as |sort key|}}
|
||||
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
|
||||
<img class="item-name-img" src="{{sort.img}}" />
|
||||
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
|
||||
{{#if sort.system.informatif}}
|
||||
<span class="item-field-label-medium">Informatif</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{else}}
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each sorts as |niveau key|}}
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header item-field-label-long2-img">
|
||||
<h4><label class="items-title-text">Niveau {{key}} {{niveau.nomNiveau}}</label></h4>
|
||||
</span>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
{{#if @root.isGM}}
|
||||
<a class="item-control item-add" data-type="sort" data-sort-competence={{magie.name}}
|
||||
title="Ajouter un sort"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{#each niveau.sorts as |sort key|}}
|
||||
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
|
||||
<img class="item-name-img" src="{{sort.img}}" />
|
||||
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
|
||||
|
||||
{{#if sort.system.informatif}}
|
||||
<span class="item-field-label-medium">Informatif</span>
|
||||
{{else}}
|
||||
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Taille Masquée</label>
|
||||
<input type="text" class="" name="system.biodata.taillemasquee" value="{{system.biodata.taillemasquee}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Taille Démasquée</label>
|
||||
<input type="text" class="" name="system.biodata.tailledemasquee"
|
||||
value="{{system.biodata.tailledemasquee}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Type de taille</label>
|
||||
<input type="text" class="" name="system.experience.typetaille" value="{{system.experience.typetaille}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<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" />
|
||||
</li>
|
||||
</div>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
{{!-- Equipement Tab --}}
|
||||
<div class="tab equipement" data-group="primary" data-tab="equipement">
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Poids Masqué</label>
|
||||
<input type="text" class="" name="system.biodata.poidsmasquee" value="{{system.biodata.poidsmasquee}}"
|
||||
data-dtype="String" />
|
||||
<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">Equipements</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Poids Démasqué</label>
|
||||
<input type="text" class="" name="system.biodata.poidsdemasquee" value="{{system.biodata.poidsdemasquee}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">XP</label>
|
||||
<input type="text" class="" name="system.experience.value" value="{{system.experience.value}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">XP pour tricher</label>
|
||||
<input type="text" class="" name="system.experience.pourtricher" value="{{system.experience.pourtricher}}"
|
||||
data-dtype="String" />
|
||||
{{#each equipements as |equip key|}}
|
||||
<li class="item flexrow " data-item-id="{{equip._id}}" data-item-type="equipement">
|
||||
<img class="item-name-img" src="{{equip.img}}" />
|
||||
<span class="item-field-label-long2">{{equip.name}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if isGM}}
|
||||
{{#if system.biodata.magie}}
|
||||
<div class="magie-text-helper"><strong>Magie activée : </strong>Glissez/Déplacez la/les compétences de Magie
|
||||
nécessaires
|
||||
depuis le compendium dans l'onglet "Magie", puis faites de même pour les sorts.
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{!-- Contact Tab --}}
|
||||
<div class="tab contact" data-group="primary" data-tab="contact">
|
||||
|
||||
</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 item-field-label-long3">
|
||||
<h3><label class="items-title-text">Contacts, Allies et Ennemis</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
</div>
|
||||
|
||||
{{#each contacts as |contactList idx|}}
|
||||
<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">{{contactList.label}}</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
{{#each contactList.list as |contact key|}}
|
||||
<li class="item flexrow " data-item-id="{{contact._id}}" data-item-type="contact">
|
||||
<img class="item-name-img" src="{{contact.img}}" />
|
||||
<span class="item-field-label-long2">{{contact.name}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
<div class="tab notes" data-group="primary" data-tab="notes">
|
||||
<span>
|
||||
<h3>Historique</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>Notes diverses</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor playernotes target="system.biodata.playernotes" button=true owner=owner editable=editable}}
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biodata" data-group="primary" data-tab="biodata">
|
||||
|
||||
<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 item-field-label-long2-img">
|
||||
<h3><label class="items-title-text">Profils</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Type</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
</div>
|
||||
</li>
|
||||
{{#each profils as |profil key|}}
|
||||
<li class="item flexrow " data-item-id="{{profil._id}}" data-item-type="profil">
|
||||
<img class="item-name-img" src="{{profil.img}}" />
|
||||
<span class="item-field-label-long2">{{profil.name}}</span>
|
||||
<span class="item-field-label-medium">{{upperFirst profil.system.profiltype}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Supprimer l'item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<div class="grid-2col">
|
||||
<ul>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
<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" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-3col">
|
||||
<div>
|
||||
<ul>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Fortune</label>
|
||||
<input type="text" class="" name="system.biodata.fortune" value="{{system.biodata.fortune}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Genre</label>
|
||||
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Age</label>
|
||||
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
{{#if isGM}}
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Fiche de Magie ?</label>
|
||||
<input type="checkbox" class="item-field-label-short edit-item-data" name="system.biodata.magie"
|
||||
{{checked system.biodata.magie}} />
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Taille Masquée</label>
|
||||
<input type="text" class="" name="system.biodata.taillemasquee" value="{{system.biodata.taillemasquee}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Taille Démasquée</label>
|
||||
<input type="text" class="" name="system.biodata.tailledemasquee"
|
||||
value="{{system.biodata.tailledemasquee}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Type de taille</label>
|
||||
<input type="text" class="" name="system.experience.typetaille" value="{{system.experience.typetaille}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<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" />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Poids Masqué</label>
|
||||
<input type="text" class="" name="system.biodata.poidsmasquee" value="{{system.biodata.poidsmasquee}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Poids Démasqué</label>
|
||||
<input type="text" class="" name="system.biodata.poidsdemasquee"
|
||||
value="{{system.biodata.poidsdemasquee}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">XP</label>
|
||||
<input type="text" class="" name="system.experience.value" value="{{system.experience.value}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">XP pour tricher</label>
|
||||
<input type="text" class="" name="system.experience.pourtricher"
|
||||
value="{{system.experience.pourtricher}}" data-dtype="String" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if isGM}}
|
||||
{{#if system.biodata.magie}}
|
||||
<div class="magie-text-helper"><strong>Magie activée : </strong>Glissez/Déplacez la/les compétences de Magie
|
||||
nécessaires
|
||||
depuis le compendium dans l'onglet "Magie", puis faites de même pour les sorts.
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
||||
<span>
|
||||
<h3>Rêves étranges</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor revesetranges target="system.biodata.revesetranges" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<div class="tab notes" data-group="primary" data-tab="notes">
|
||||
<span>
|
||||
<h3>Historique</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>Secrets découverts</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor secretsdecouverts target="system.biodata.secretsdecouverts" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<span>
|
||||
<h3>Notes diverses</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor playernotes target="system.biodata.playernotes" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
<span>
|
||||
<h3>Questions en suspens</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor questions target="system.biodata.questions" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<span>
|
||||
<h3>Rêves étranges</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor revesetranges target="system.biodata.revesetranges" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<span>
|
||||
<h3>Secrets découverts</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor secretsdecouverts target="system.biodata.secretsdecouverts" button=true owner=owner
|
||||
editable=editable}}
|
||||
</div>
|
||||
|
||||
<span>
|
||||
<h3>Questions en suspens</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor questions target="system.biodata.questions" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
@@ -18,59 +18,106 @@
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li class="heritiers-roll">Caractéristique : {{carac.label}} ({{carac.value}})</li>
|
||||
<li class="heritiers-roll"><strong>Caractéristique :</strong> {{carac.label}} ({{carac.value}})</li>
|
||||
|
||||
{{#if rang}}
|
||||
<li>{{rang.label}} : {{rang.value}}</li>
|
||||
<li><strong>{{rang.label}} :</strong> {{rang.value}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if competence}}
|
||||
<li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li>
|
||||
<li><strong>Compétence :</strong> {{competence.name}} ({{competence.system.niveau}})</li>
|
||||
{{#if useSpecialite}}
|
||||
<li>Bonus de spécialité +1</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if arme}}
|
||||
<li>Attaque avec : {{arme.name}}</li>
|
||||
<li><strong>Attaque avec : </strong>{{arme.name}}</li>
|
||||
{{#if (eq mode "assommer")}}
|
||||
<li>Attaque pour assommer</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if pouvoir}}
|
||||
<li>Pouvoir : {{pouvoir.name}}</li>
|
||||
<li>Effet : {{pouvoir.system.effet}}</li>
|
||||
<li>Points d'usage consommés : {{pouvoirPointsUsage}}</li>
|
||||
<li><strong>Pouvoir</strong> : {{pouvoir.name}}</li>
|
||||
<li><strong>Effet</strong> : {{pouvoir.system.effet}}</li>
|
||||
{{#if (ne pouvoir.system.duree "")}}
|
||||
<li><strong>Durée :</strong> {{pouvoir.system.duree}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne pouvoir.system.portee "")}}
|
||||
<li><strong>Portée :</strong> {{pouvoir.system.portee}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne pouvoir.system.resistance "")}}
|
||||
<li><strong>Résistance :</strong> {{pouvoir.system.resistance}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne pouvoir.system.resistanceautre "")}}
|
||||
<li><strong>Résistance autre :</strong> {{pouvoir.system.resistanceautre}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne pouvoir.system.zoneeffet "")}}
|
||||
<li><strong>Zone d'effet :</strong> {{pouvoir.system.zoneeffet}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne pouvoir.system.cibles "")}}
|
||||
<li><strong>Cibles :</strong> {{pouvoir.system.cibles}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne pouvoir.system.virulence "")}}
|
||||
<li><strong>Virulence :</strong> {{pouvoir.system.virulence}}</li>
|
||||
{{/if}}
|
||||
<li><strong>Points d'usage consommés :</strong> {{pouvoirPointsUsage}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if sort}}
|
||||
<li>Sort : {{sort.name}}</li>
|
||||
<li>Cout en Points d'âmes : {{sortPointsAme}}</li>
|
||||
<li><strong>Sort :</strong> {{sort.name}}</li>
|
||||
{{#if (ne sort.system.resistance "")}}
|
||||
<li><strong>Résistance :</strong> {{sort.system.resistance}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne sort.system.concentration "")}}
|
||||
<li><strong>Concentration :</strong> {{sort.system.concentration}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne sort.system.duree "")}}
|
||||
<li><strong>Durée :</strong> {{sort.system.duree}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne sort.system.portee "")}}
|
||||
<li><strong>Portée :</strong> {{sort.system.portee}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne sort.system.ingredients "")}}
|
||||
<li><strong>Ingrédients :</strong> {{sort.system.ingredients}}</li>
|
||||
{{/if}}
|
||||
{{#if (ne sort.system.coutactivation "")}}
|
||||
<li><strong>Coût d'activation :</strong> {{sort.system.coutactivation}}</li>
|
||||
{{/if}}
|
||||
{{#if spendEsprit}}
|
||||
<li><strong>Points d'Esprit dépensé :</strong> 1</li>
|
||||
{{else}}
|
||||
<li><strong>Coût en points d'Âme</strong> : {{sortPointsAme}}</li>
|
||||
{{#if (eq sort.system.competence "Magie du Clan")}}
|
||||
<li><strong>Souffle :</strong> {{sort.system.souffle}}</li>
|
||||
<li><strong>Cout en PV :</strong> 2</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if forcedValue}}
|
||||
<li>Vous dépense 2 points de Tricherie et utilisé une face adjacente du dé !</li>
|
||||
<li>Vous dépensez 2 points de Tricherie et utilisez une face adjacente du dé !</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if noRoll}}
|
||||
{{else}}
|
||||
<li>Formule : {{diceFormula}}</li>
|
||||
<li>Résultat du dé : {{diceResult}} </li>
|
||||
<li><strong>Formule :</strong> {{diceFormula}}</li>
|
||||
<li><strong>Résultat du dé :</strong> {{diceResult}} </li>
|
||||
|
||||
{{#if adjacentFaces}}
|
||||
<li>Faces Adjacentes :
|
||||
<li><strong>Faces adjacentes :</strong>
|
||||
{{#each adjacentFaces as |value key|}}
|
||||
<a class="roll-tricherie-2" data-dice-value="{{value}}">{{value}}</a>
|
||||
{{/each}}
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li>Total : {{finalResult}} {{#if (gt sdValue "-1")}}(Marge : {{marge}}){{/if}}</li>
|
||||
<li><strong>Total : {{finalResult}} {{#if (gt sdValue "-1")}}(Marge : {{marge}}){{/if}}</strong></li>
|
||||
|
||||
|
||||
{{#if (gt sdValue "-1")}}
|
||||
<li>Seuil de difficulté : {{sdValue}}</li>
|
||||
<li><strong>Seuil de difficulté :</strong> {{sdValue}}</li>
|
||||
{{#if isSuccess}}
|
||||
<li class="chat-success">Succès...
|
||||
</li>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
|
||||
<li class="flexrow item">
|
||||
<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"
|
||||
@@ -22,8 +22,8 @@
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Profil </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.profil" value="{{system.profil}}" data-dtype="string">
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.profil"
|
||||
value="{{system.profil}}" data-dtype="string">
|
||||
{{selectOptions config.competenceProfil selected=system.profil labelAttr="name"}}
|
||||
</select>
|
||||
</li>
|
||||
@@ -31,7 +31,7 @@
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Compétence de Prédilection ? </label>
|
||||
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.predilection" {{checked system.predilection}}/>
|
||||
name="system.predilection" {{checked system.predilection}} />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
@@ -40,6 +40,41 @@
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
{{#if (eq system.profil "magie")}}
|
||||
{{#if (eq name "Magie du Clan")}}
|
||||
{{#each system.nomniveausouffle.soufflecombat as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau {{key}} Souffle du Combat</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveausouffle.soufflecombat.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#each system.nomniveausouffle.soufflemouvement as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau {{key}} Souffle du Mouvement</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveausouffle.soufflemouvement.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#each system.nomniveausouffle.souffleesprit as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau {{key}} Souffle de l'Esprit</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveausouffle.souffleesprit.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
{{else}}
|
||||
{{#each system.nomniveau as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Nom du Niveau {{key}}</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveau.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow item">
|
||||
<h3>Spécialités</h3>
|
||||
</li>
|
||||
|
@@ -11,7 +11,6 @@
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
{{log this}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Compétence de Magie </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
@@ -20,6 +19,16 @@
|
||||
</select>
|
||||
</li>
|
||||
|
||||
{{#if (eq system.competence "Magie du Clan")}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Souffle </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.souffle"
|
||||
value="{{system.souffle}}" data-dtype="string">
|
||||
{{selectOptions config.soufflesMagieDuClan selected=system.souffle}}
|
||||
</select>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Carac 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.carac1"
|
||||
@@ -38,13 +47,43 @@
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<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" name="system.niveau"
|
||||
value="{{system.niveau}}" data-dtype="string">
|
||||
{{selectOptions config.listNiveauSort selected=system.niveau}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Sort Informatif?</label>
|
||||
<input type="checkbox" name="system.informatif" {{#if system.informatif}} checked {{/if}} />
|
||||
</li>
|
||||
|
||||
{{#if system.informatif}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Texte Informatif</label>
|
||||
<textarea class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||
name="system.texteinformatif" data-dtype="String">{{system.texteinformatif}}</textarea>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2"
|
||||
data-tooltip="A renseigner si le SD n'est pas celui du niveau par défaut">SD spécial</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.sdspecial" value="{{system.sdspecial}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<!--
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Rang</label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.rang"
|
||||
value="{{system.rang}}" data-dtype="string">
|
||||
{{selectOptions config.listRangSort selected=system.rang}}
|
||||
</select>
|
||||
</li>
|
||||
-->
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Durée </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long3"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
<div class="editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user