Cleanup et preparation Foundry v12

This commit is contained in:
LeRatierBretonnien 2024-05-01 09:33:34 +02:00
parent 8f0bf91464
commit a84c9a065e
173 changed files with 659 additions and 341 deletions

View File

@ -11,7 +11,7 @@ export class YggdrasillActorSheet extends ActorSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["yggdrasill", "sheet", "actor"], classes: ["yggdrasill", "sheet", "actor"],
template: "systems/fvtt-yggdrasill/templates/actor-sheet.html", template: "systems/fvtt-yggdrasill/templates/actor-sheet.html",
width: 680, width: 680,
@ -24,7 +24,7 @@ export class YggdrasillActorSheet extends ActorSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async getData() { async getData() {
const objectData = duplicate(this.object) const objectData = foundry.utils.duplicate(this.object)
let formData = { let formData = {
title: this.title, title: this.title,
@ -71,7 +71,8 @@ export class YggdrasillActorSheet extends ActorSheet {
options: this.options, options: this.options,
owner: this.document.isOwner, owner: this.document.isOwner,
editScore: this.options.editScore, editScore: this.options.editScore,
isGM: game.user.isGM isGM: game.user.isGM,
config: game.system.config
} }
// Dynamic update some fields // Dynamic update some fields
this.updateDM(formData.data); this.updateDM(formData.data);

View File

@ -411,7 +411,7 @@ export class YggdrasillActor extends Actor {
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
getEffectByLabel(label) { getEffectByLabel(label) {
return this.getActiveEffects().find(it => it.data.label == label); return this.getActiveEffects().find(it => it.label == label);
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
getEffectById(id) { getEffectById(id) {
@ -424,7 +424,7 @@ export class YggdrasillActor extends Actor {
let categ = this.system.carac[key]; let categ = this.system.carac[key];
for( let carac in categ.carac) { for( let carac in categ.carac) {
if (carac.toLowerCase() == caracName.toLowerCase() ) { if (carac.toLowerCase() == caracName.toLowerCase() ) {
return deepClone(categ.carac[carac]); return foundry.utils.deepClone(categ.carac[carac]);
} }
} }
} }
@ -489,7 +489,7 @@ export class YggdrasillActor extends Actor {
async equiperObject( equipementId ) { async equiperObject( equipementId ) {
let item = this.items.find( item => item.id == equipementId ); let item = this.items.find( item => item.id == equipementId );
if (item && item.system) { if (item && item.system) {
let update = { _id: item.id, "data.equipe": !item.system.equipe }; let update = { _id: item.id, "system.equipe": !item.system.equipe };
await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity
} }
} }
@ -512,9 +512,9 @@ export class YggdrasillActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
async rollAttribute( attrkey, subAttrKey = 'defaut') { async rollAttribute( attrkey, subAttrKey = 'defaut') {
let attr = duplicate(this.system.attributs[attrkey]); let attr = foundry.utils.duplicate(this.system.attributs[attrkey]);
console.log("ATTR : ", attr, attrkey, subAttrKey); console.log("ATTR : ", attr, attrkey, subAttrKey);
let subAttr = duplicate(this.system.attributs[attrkey].values[subAttrKey] ); let subAttr = foundry.utils.duplicate(this.system.attributs[attrkey].values[subAttrKey] );
if ( attr ) { if ( attr ) {
subAttr.label = subAttr.label || ""; subAttr.label = subAttr.label || "";
let title = `Attribut : ${attr.label} ${subAttr.label} : ${subAttr.value}`; let title = `Attribut : ${attr.label} ${subAttr.label} : ${subAttr.value}`;
@ -529,13 +529,8 @@ export class YggdrasillActor extends Actor {
rollMode: game.settings.get("core", "rollMode"), rollMode: game.settings.get("core", "rollMode"),
title: title, title: title,
isBlesse: this.system.etat.etat == "blesse", isBlesse: this.system.etat.etat == "blesse",
optionsBonusMalus: YggdrasillUtility.buildListOptions(-15, +15),
bonusMalus: 0,
bonusdefense: 0,
optionsBD: YggdrasillUtility.buildListOptions(0, +15),
optionsSR: YggdrasillUtility.buildSROptions( ),
sr: 0
} }
this.addDefaultRoll(rollData)
let rollDialog = await YggdrasillRoll.create( this, rollData); let rollDialog = await YggdrasillRoll.create( this, rollData);
console.log(rollDialog); console.log(rollDialog);
rollDialog.render( true ); rollDialog.render( true );
@ -543,11 +538,23 @@ export class YggdrasillActor extends Actor {
ui.notifications.warn("Attribut non trouvée"); ui.notifications.warn("Attribut non trouvée");
} }
} }
/* -------------------------------------------- */
addDefaultRoll(rollData) {
rollData.optionsBonusMalus= YggdrasillUtility.createOptions(-15, 15)
rollData.bonusMalus= "0"
rollData.optionsFuror= YggdrasillUtility.createOptions(0, this.getCurrentFuror())
rollData.furorUsage= "0"
rollData.optionsBD= YggdrasillUtility.createOptions(0, +15)
rollData.sr= "0"
rollData.puissanceRune = 1
rollData.optionsPuissanceRune= YggdrasillUtility.createOptions(1, +15)
rollData.supportRune= "peau"
rollData.config= game.system.config
}
/* -------------------------------------------- */ /* -------------------------------------------- */
async rollCarac( categName, caracName) { async rollCarac( categName, caracName) {
let carac = duplicate(this.system.carac[categName].carac[caracName]); let carac = foundry.utils.duplicate(this.system.carac[categName].carac[caracName]);
console.log("CARAC : ", carac, this.system.carac);
if ( carac) { if ( carac) {
let rollData = { let rollData = {
mode: "carac", mode: "carac",
@ -561,14 +568,9 @@ export class YggdrasillActor extends Actor {
isEpuise: this.isEpuise(), isEpuise: this.isEpuise(),
isBlesse: this.isBlesse(), isBlesse: this.isBlesse(),
isMeurtri: this.isMeurtri(), isMeurtri: this.isMeurtri(),
optionsBonusMalus: YggdrasillUtility.buildListOptions(-15, +15),
bonusMalus: 0,
optionsFuror: YggdrasillUtility.buildListOptions(0, this.getCurrentFuror() ),
furorUsage: 0,
optionsSR: YggdrasillUtility.buildSROptions( ),
optionsBD: YggdrasillUtility.buildListOptions(0, +15),
sr: 0
} }
this.addDefaultRoll(rollData)
console.log("CARAC : ", rollData, this.system.carac);
let rollDialog = await YggdrasillRoll.create( this, rollData); let rollDialog = await YggdrasillRoll.create( this, rollData);
console.log(rollDialog); console.log(rollDialog);
rollDialog.render( true ); rollDialog.render( true );
@ -590,17 +592,12 @@ export class YggdrasillActor extends Actor {
img: competence.img, img: competence.img,
rollMode: game.settings.get("core", "rollMode"), rollMode: game.settings.get("core", "rollMode"),
title: `Compétence ${competence.name} : ${competence.system.niveau}`, title: `Compétence ${competence.name} : ${competence.system.niveau}`,
competence: duplicate(competence), competence: foundry.utils.duplicate(competence),
isEpuise: this.isEpuise(), isEpuise: this.isEpuise(),
isBlesse: this.isBlesse(), isBlesse: this.isBlesse(),
isMeurtri: this.isMeurtri(), isMeurtri: this.isMeurtri(),
optionsBonusMalus: YggdrasillUtility.buildListOptions(-15, +15),
bonusMalus: 0,
optionsFuror: YggdrasillUtility.buildListOptions(0, this.getCurrentFuror() ),
furorUsage: 0,
optionsSR: YggdrasillUtility.buildSROptions( ),
sr: 0
} }
this.addDefaultRoll(rollData)
let rollDialog = await YggdrasillRoll.create( this, rollData); let rollDialog = await YggdrasillRoll.create( this, rollData);
console.log(rollDialog); console.log(rollDialog);
rollDialog.render( true ); rollDialog.render( true );
@ -611,10 +608,10 @@ export class YggdrasillActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
getAttaqueData( mode ) { getAttaqueData( mode ) {
let attackData = duplicate(attackMode[mode]); let attackData = foundry.utils.duplicate(attackMode[mode]);
if ( attackData){ if ( attackData){
attackData.mode = mode; attackData.mode = mode;
attackData.carac = duplicate(this.system.carac[attackData.categName].carac[attackData.caracName]); attackData.carac = foundry.utils.duplicate(this.system.carac[attackData.categName].carac[attackData.caracName]);
if ( attackData.malus != 0) { if ( attackData.malus != 0) {
let malusTab = attackData.malus.split(';'); let malusTab = attackData.malus.split(';');
attackData.malus = this.system.carac[attackData.categName].carac[malusTab[0]].value * Number(malusTab[1]) attackData.malus = this.system.carac[attackData.categName].carac[malusTab[0]].value * Number(malusTab[1])
@ -633,10 +630,10 @@ export class YggdrasillActor extends Actor {
/* -------------------------------------------- */ /* -------------------------------------------- */
getTirData( mode) { getTirData( mode) {
let attackData = duplicate( tirMode[mode] ); let attackData = foundry.utils.duplicate( tirMode[mode] );
if ( attackData){ if ( attackData){
attackData.mode = mode; attackData.mode = mode;
attackData.carac = duplicate(this.system.carac[attackData.categName].carac[attackData.caracName]); attackData.carac = foundry.utils.duplicate(this.system.carac[attackData.categName].carac[attackData.caracName]);
if ( attackData.malus != 0) { if ( attackData.malus != 0) {
let malusTab = attackData.malus.split(';'); let malusTab = attackData.malus.split(';');
attackData.malus = this.system.carac[attackData.categName].carac[malusTab[0]].value * Number(malusTab[1]) attackData.malus = this.system.carac[attackData.categName].carac[malusTab[0]].value * Number(malusTab[1])
@ -661,11 +658,11 @@ export class YggdrasillActor extends Actor {
let carac; let carac;
if ( magie == "sejdr") { if ( magie == "sejdr") {
carac = duplicate(this.system.carac.ame.carac.instinct); carac = foundry.utils.duplicate(this.system.carac.ame.carac.instinct);
} else if ( magie == "rune") { } else if ( magie == "rune") {
carac = duplicate(this.system.carac.ame.carac.communication); carac = foundry.utils.duplicate(this.system.carac.ame.carac.communication);
} else { } else {
carac = duplicate(this.system.carac.ame.carac.charisme); carac = foundry.utils.duplicate(this.system.carac.ame.carac.charisme);
} }
if ( sort && competence) { if ( sort && competence) {
@ -680,10 +677,10 @@ export class YggdrasillActor extends Actor {
rollMode: game.settings.get("core", "rollMode"), rollMode: game.settings.get("core", "rollMode"),
title: magie + " - " + sort.name, title: magie + " - " + sort.name,
selectedCarac: carac, selectedCarac: carac,
agiliteCarac: duplicate(this.system.carac.corps.carac.agilite), agiliteCarac: foundry.utils.duplicate(this.system.carac.corps.carac.agilite),
instinctCarac: duplicate(this.system.carac.ame.carac.instinct), instinctCarac: foundry.utils.duplicate(this.system.carac.ame.carac.instinct),
sort: duplicate(sort), sort: foundry.utils.duplicate(sort),
competence: duplicate(competence), competence: foundry.utils.duplicate(competence),
dureeGaldr: "1d5a", dureeGaldr: "1d5a",
nbCibles: "1", nbCibles: "1",
zoneGaldr: "INS10cm3", zoneGaldr: "INS10cm3",
@ -691,17 +688,9 @@ export class YggdrasillActor extends Actor {
isEpuise: this.isEpuise(), isEpuise: this.isEpuise(),
isBlesse: this.isBlesse(), isBlesse: this.isBlesse(),
isMeurtri: this.isMeurtri(), isMeurtri: this.isMeurtri(),
optionsBonusMalus: YggdrasillUtility.buildListOptions(-15, +15),
optionsBD: YggdrasillUtility.buildListOptions(0, +15),
bonusMalus: 0,
optionsFuror: YggdrasillUtility.buildListOptions(0, this.getCurrentFuror() ),
furorUsage: 0,
optionsSR: YggdrasillUtility.buildSROptions( ),
sr: 14,
puissanceRune: 1,
optionsPuissanceRune: YggdrasillUtility.buildListOptions(1, 15),
supportRune: "peau",
} }
this.addDefaultRoll(rollData)
rollData.sr = 14
let rollDialog = await YggdrasillRoll.create( this, rollData); let rollDialog = await YggdrasillRoll.create( this, rollData);
console.log(rollDialog); console.log(rollDialog);
rollDialog.render( true ); rollDialog.render( true );
@ -735,21 +724,16 @@ export class YggdrasillActor extends Actor {
img: competence.img, img: competence.img,
rollMode: game.settings.get("core", "rollMode"), rollMode: game.settings.get("core", "rollMode"),
title: "Attaque !", title: "Attaque !",
selectedCarac: duplicate(this.system.carac.corps.carac.agilite), selectedCarac: foundry.utils.duplicate(this.system.carac.corps.carac.agilite),
arme: duplicate(arme), arme: foundry.utils.duplicate(arme),
competence: duplicate(competence), competence: foundry.utils.duplicate(competence),
bonusdefense: 0, bonusdefense: 0,
isEpuise: this.isEpuise(), isEpuise: this.isEpuise(),
isBlesse: this.isBlesse(), isBlesse: this.isBlesse(),
isMeurtri: this.isMeurtri(), isMeurtri: this.isMeurtri()
optionsBonusMalus: YggdrasillUtility.buildListOptions(-15, +15),
optionsBD: YggdrasillUtility.buildListOptions(0, +15),
bonusMalus: 0,
optionsFuror: YggdrasillUtility.buildListOptions(0, this.getCurrentFuror() ),
furorUsage: 0,
optionsSR: YggdrasillUtility.buildSROptions( ),
sr: 14
} }
this.addDefaultRoll(rollData)
rollData.sr = 14
let rollDialog = await YggdrasillRoll.create( this, rollData); let rollDialog = await YggdrasillRoll.create( this, rollData);
console.log(rollDialog); console.log(rollDialog);
rollDialog.render( true ); rollDialog.render( true );

View File

@ -22,7 +22,7 @@ export class YggdrasillCombat extends Combat {
// Send a chat message // Send a chat message
let rollMode = messageOptions.rollMode || game.settings.get("core", "rollMode"); let rollMode = messageOptions.rollMode || game.settings.get("core", "rollMode");
let messageData = mergeObject( let messageData = foundry.utils.mergeObject(
{ {
speaker: { speaker: {
scene: canvas.scene._id, scene: canvas.scene._id,

View File

@ -0,0 +1,111 @@
export const YGGDRASILL_CONFIG = {
optionsEtat: [
{ key: "fringant", label: "Fringant" },
{ key: "blesse", label: "Blessé" },
{ key: "mort", label: "Mort" }
],
optionsArme: [
{ key: "lutte", label: "Lutte" },
{ key: "improvisee", label: "Improvisée" },
{ key: "courte", label: "Courte" },
{ key: "longue", label: "Longue" },
{ key: "deuxmains", label: "A Deux Mains" },
{ key: "hast", label: "Hast" }
],
optionsArmeTir: [
{ key: "jet", label: "Jet" },
{ key: "tir", label: "Tir" }
],
optionsArmure: [
{ key: "armure", label: "Armure" },
{ key: "piecearmure", label: "Pièce d'Armure" }
],
optionsBouclier: [
{ key: "bouclier", label: "Bouclier" }
],
optionsCompetence: [
{ key: "generale", label: "Générale" },
{ key: "magique", label: "Magique" },
{ key: "martiale", label: "Martiale" }
],
optionsMaladie: [
{ key: "mineure", label: "Mineure" },
{ key: "moderee", label: "Modérée" },
{ key: "majeure", label: "Majeure" }
],
optionsProuesse: [
{ key: "attaque", label: "Attaque" },
{ key: "defensive", label: "Défensive" },
{ key: "utilitaire", label: "Utilitaire" }
]
,
optionsGaldr: [
{ key:"malediction", label:"Malédictions" },
{ key:"illusion", label:"Illusions" },
{ key:"charme", label:"Charme" }
],
optionsAttaque: [
{ key:"classique", label:"Attaque classique" },
{ key:"force", label:"Attaque en force" },
{ key:"devastatrice", label:"Attaque dévastatrice" },
{ key:"precise", label:"Attaque Précise" },
{ key:"visee", label:"Attaque Visée" }
],
optionsSR : [
{key: "0", label: "Aucun"},
{key: "5", label: "Très Simple (5)"},
{key: "7", label: "Simple (7)"},
{key: "10", label: "Aisé (10)"},
{key: "14", label: "Moyen (14)"},
{key: "19", label: "Difficile (19)"},
{key: "25", label: "Très Difficile (25)"},
{key: "32", label: "Exceptionnel (32)"},
{key: "40", label: "Légendaire (40)"},
{key: "49", label: "Divin (49)"}
],
optionsCarac: [
{ key: "puissance", label: "Puissance" },
{ key: "vigueur", label: "Vigueur" },
{ key: "agilite", label: "Agilité" },
{ key: "intellect", label: "Intellect" },
{ key: "perception", label: "Perception" },
{ key: "tenacite", label: "Tenacité" },
{ key: "charisme", label: "Charisme" },
{ key: "communication", label: "Communication" },
{ key: "instinct", label: "Instinct" }
],
optionsDureeGaldr: [
{ key:"1d5a", label:"1d5 Actions" },
{ key:"1d10t", label:"1d10 Tours" },
{ key:"1d10m", label:"1d10 Minutes" },
{ key:"1d10h", label:"1d10 Heures" },
{ key:"1d5j", label:"1d5 journées" }
],
optionsZoneGaldr: [
{ key:"INS10cm3", label:"INS x 10 cm3 (chat, balle, épée, ...)" },
{ key:"INS50cm3", label:"INS x 50 cm3 (tabouret, enfant, ...)" },
{ key:"INS1m3", label:"INS x 1 m3 (homme, 2 enfants, ...)" },
{ key:"INS5m3", label:"INS x 5 m3 (charrette, 2 cavaliers, ...)" },
{ key:"INS10m3", label:"INS x 10 m3 (maison, kraken, bateau, ...)" }
],
optionsNbCibles: [
{ key: "1", label: "1" },
{ key: "2_4", label: "2 à 4" },
{ key: "5_9", label: "5 à 9" },
{ key: "10_49", label: "10 à 49" },
{ key: "50plus", label: "50 et +" }
],
optionsSupportRunes: [
{ key: "peau", label: "Peau" },
{ key: "tissu", label: "Tissu" },
{ key: "cuir", label: "Cuir" },
{ key: "bois", label: "Bois" },
{ key: "pierremetal", label: "Pierre, Métal" }
]
}

View File

@ -11,7 +11,7 @@ export class YggdrasillFigurantSheet extends ActorSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["yggdrasill", "sheet", "actor"], classes: ["yggdrasill", "sheet", "actor"],
template: "systems/fvtt-yggdrasill/templates/figurant-sheet.html", template: "systems/fvtt-yggdrasill/templates/figurant-sheet.html",
width: 640, width: 640,
@ -24,7 +24,7 @@ export class YggdrasillFigurantSheet extends ActorSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async getData() { async getData() {
const objectData = duplicate(this.object) const objectData = foundry.utils.duplicate(this.object)
let formData = { let formData = {
title: this.title, title: this.title,
@ -40,14 +40,15 @@ export class YggdrasillFigurantSheet extends ActorSheet {
effetsmagiques: this.actor.getEffetsMagiques(), effetsmagiques: this.actor.getEffetsMagiques(),
encTotal: this.actor.getEncTotal(), encTotal: this.actor.getEncTotal(),
monnaies: this.actor.getMonnaies(), monnaies: this.actor.getMonnaies(),
optionsAttr: new Array(41).fill('option'), optionsAttr: Array.fromRange(41, 1),
optionsBase: YggdrasillUtility.createDirectOptionList(0, 20), optionsBase: YggdrasillUtility.createDirectOptionList(0, 20),
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}), description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
notes: await TextEditor.enrichHTML(this.object.system.notes, {async: true}), notes: await TextEditor.enrichHTML(this.object.system.notes, {async: true}),
options: this.options, options: this.options,
owner: this.document.isOwner, owner: this.document.isOwner,
editScore: this.options.editScore, editScore: this.options.editScore,
isGM: game.user.isGM isGM: game.user.isGM,
config: game.system.config
} }
console.log("FIGURANT : ", formData); console.log("FIGURANT : ", formData);

View File

@ -8,7 +8,7 @@ export class YggdrasillItemSheet extends ItemSheet {
/** @override */ /** @override */
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
classes: ["fvtt-yggdrasill", "sheet", "item"], classes: ["fvtt-yggdrasill", "sheet", "item"],
template: "systems/fvtt-yggdrasill/templates/item-sheet.html", template: "systems/fvtt-yggdrasill/templates/item-sheet.html",
width: 550, width: 550,
@ -43,7 +43,7 @@ export class YggdrasillItemSheet extends ItemSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async getData() { async getData() {
const objectData = duplicate(this.object); const objectData = foundry.utils.duplicate(this.object);
let formData = { let formData = {
title: this.title, title: this.title,
@ -55,12 +55,13 @@ export class YggdrasillItemSheet extends ItemSheet {
cssClass: this.isEditable ? "editable" : "locked", cssClass: this.isEditable ? "editable" : "locked",
data: foundry.utils.deepClone(this.object.system), data: foundry.utils.deepClone(this.object.system),
optionsBase: YggdrasillUtility.createDirectOptionList(0, 20), optionsBase: YggdrasillUtility.createDirectOptionList(0, 20),
optionsNiveaux4: YggdrasillUtility.buildListOptions(1, 5), optionsNiveaux4: Array.fromRange(5, 1),
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}), description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
limited: this.object.limited, limited: this.object.limited,
options: this.options, options: this.options,
owner: this.document.isOwner, owner: this.document.isOwner,
isGM: game.user.isGM isGM: game.user.isGM,
config: game.system.config
} }
return formData; return formData;
} }

View File

@ -14,6 +14,7 @@ import { YggdrasillActorSheet } from "./yggdrasill-actor-sheet.js";
import { YggdrasillFigurantSheet } from "./yggdrasill-figurant-sheet.js"; import { YggdrasillFigurantSheet } from "./yggdrasill-figurant-sheet.js";
import { YggdrasillUtility } from "./yggdrasill-utility.js"; import { YggdrasillUtility } from "./yggdrasill-utility.js";
import { YggdrasillCombat } from "./yggdrasill-combat.js"; import { YggdrasillCombat } from "./yggdrasill-combat.js";
import { YGGDRASILL_CONFIG } from "./yggdrasill-config.js";
import { ClassCounter} from "https://www.uberwald.me/fvtt_appcount/count-class-ready.js" import { ClassCounter} from "https://www.uberwald.me/fvtt_appcount/count-class-ready.js"
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -35,6 +36,8 @@ Hooks.once("init", async function () {
decimals: 0 decimals: 0
}; };
game.system.config = YGGDRASILL_CONFIG
/* -------------------------------------------- */ /* -------------------------------------------- */
game.socket.on("system.fvtt-yggdrasill", data => { game.socket.on("system.fvtt-yggdrasill", data => {
YggdrasillUtility.onSocketMesssage(data); YggdrasillUtility.onSocketMesssage(data);

View File

@ -124,7 +124,7 @@ export class YggdrasillRoll extends Dialog {
activateListeners(html) { activateListeners(html) {
super.activateListeners(html); super.activateListeners(html);
var dialog = this; let dialog = this;
function onLoad() { function onLoad() {
if (dialog.rollData.mode == "competence") { if (dialog.rollData.mode == "competence") {
let carac = dialog.actor.getCarac( "Puissance" ); let carac = dialog.actor.getCarac( "Puissance" );

View File

@ -12,9 +12,7 @@ export class YggdrasillUtility {
const templatePaths = [ const templatePaths = [
'systems/fvtt-yggdrasill/templates/actor-sheet.html', 'systems/fvtt-yggdrasill/templates/actor-sheet.html',
'systems/fvtt-yggdrasill/templates/editor-notes-gm.html', 'systems/fvtt-yggdrasill/templates/editor-notes-gm.html'
'systems/fvtt-yggdrasill/templates/hud-actor-attaque.html',
'systems/fvtt-yggdrasill/templates/hud-actor-sort.html'
] ]
return loadTemplates(templatePaths); return loadTemplates(templatePaths);
} }
@ -27,7 +25,14 @@ export class YggdrasillUtility {
} }
return options; return options;
} }
/* -------------------------------------------- */
static createOptions( min, max) {
let options = [];
for(let i=min; i<=max; i++) {
options.push( {key:i, label: `${i}` } );
}
return options;
}
/* -------------------------------------------- */ /* -------------------------------------------- */
static createDirectOptionList( min, max) { static createDirectOptionList( min, max) {
let options = {}; let options = {};
@ -45,22 +50,13 @@ export class YggdrasillUtility {
} }
return options; return options;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
static buildSROptions( ) { static buildListOptions(min, max) {
let options = "" let options = ""
options += `<option value="0">Aucun</option>` for (let i = min; i <= max; i++) {
options += `<option value="5">Très Simple (5)</option>` options += `<option value="${i}">${i}</option>`
options += `<option value="7">Simple (7)</option>` }
options += `<option value="10">Aisé (10)</option>`
options += `<option value="14">Moyen (14)</option>`
options += `<option value="19">Difficile (19)</option>`
options += `<option value="25">Trés Difficile (25)</option>`
options += `<option value="32">Exceptionnel (32)</option>`
options += `<option value="40">Légendaire (40)</option>`
options += `<option value="49">Divin (49)</option>`
return options; return options;
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
@ -92,7 +88,7 @@ export class YggdrasillUtility {
let maxTabMaxIndex = isFurorUsage ? nbDice : 2; let maxTabMaxIndex = isFurorUsage ? nbDice : 2;
for (let i=0; i<nbDice; i++) { for (let i=0; i<nbDice; i++) {
rolls[i] = new Roll("1d10x10").roll( {async: false}) //+sumDice+"+"+rollData.furorUsage+"d10+"+niveauCompetence+"+"+rollData.finalBM).roll( { async: false} ); rolls[i] = await new Roll("1d10x10").roll( ) //+sumDice+"+"+rollData.furorUsage+"d10+"+niveauCompetence+"+"+rollData.finalBM).roll( { async: false} );
if ( i == nbDice-1 ) { if ( i == nbDice-1 ) {
await this.showDiceSoNice(rolls[i], game.settings.get("core", "rollMode") ); await this.showDiceSoNice(rolls[i], game.settings.get("core", "rollMode") );
} else { } else {
@ -122,7 +118,7 @@ export class YggdrasillUtility {
let niveau = rollData.subAttr.value; let niveau = rollData.subAttr.value;
// Bonus/Malus total // Bonus/Malus total
rollData.finalBM = rollData.bonusMalus; rollData.finalBM = Number(rollData.bonusMalus);
// Gestion cas blessé (malus de -3) // Gestion cas blessé (malus de -3)
if ( rollData.isBlesse) { // Cas blesse : malus de -3 if ( rollData.isBlesse) { // Cas blesse : malus de -3
rollData.finalBM -= 3; rollData.finalBM -= 3;
@ -132,15 +128,15 @@ export class YggdrasillUtility {
rollData.rawDices = results.rawDices rollData.rawDices = results.rawDices
rollData.maxTab = results.maxTab rollData.maxTab = results.maxTab
rollData.rolls = results.rolls rollData.rolls = results.rolls
rollData.bonus = niveau + rollData.finalBM rollData.bonus = niveau + Number(rollData.finalBM)
rollData.finalTotal = rollData.maxTab[0].value + rollData.maxTab[1].value; rollData.finalTotal = Number(rollData.maxTab[0].value) + Number(rollData.maxTab[1].value);
rollData.finalTotal += rollData.bonus rollData.finalTotal += Number(rollData.bonus)
// Compute total SR // Compute total SR
rollData.srFinal = rollData.sr; rollData.srFinal = Number(rollData.sr);
if ( rollData.bonusdefense ) { if ( rollData.bonusdefense ) {
rollData.srFinal += rollData.bonusdefense; rollData.srFinal += Number(rollData.bonusdefense);
} }
if ( rollData.srFinal > 0 ) { if ( rollData.srFinal > 0 ) {
isCritical = rollData.finalTotal >= rollData.srFinal*2; isCritical = rollData.finalTotal >= rollData.srFinal*2;
@ -154,7 +150,7 @@ export class YggdrasillUtility {
// Dégats // Dégats
if ( isSuccess && rollData.subAttr.degats ) { if ( isSuccess && rollData.subAttr.degats ) {
rollData.degatsExplain = `Marge(${marge}) + Physique(${rollData.valuePhysique}) + 1d10`; rollData.degatsExplain = `Marge(${marge}) + Physique(${rollData.valuePhysique}) + 1d10`;
rollData.rollDegats = new Roll("1d10+"+marge+"+"+rollData.valuePhysique).roll( { async: false} ); rollData.rollDegats = await new Roll("1d10+"+marge+"+"+rollData.valuePhysique).roll( );
await this.showDiceSoNice(rollData.rollDegats, game.settings.get("core", "rollMode") ); await this.showDiceSoNice(rollData.rollDegats, game.settings.get("core", "rollMode") );
rollData.degats = rollData.rollDegats.total; rollData.degats = rollData.rollDegats.total;
} }
@ -192,7 +188,7 @@ export class YggdrasillUtility {
} }
// Bonus/Malus total // Bonus/Malus total
rollData.finalBM = rollData.bonusMalus; rollData.finalBM = Number(rollData.bonusMalus);
if ( rollData.attackDef) { if ( rollData.attackDef) {
rollData.finalBM -= rollData.attackDef.malus; rollData.finalBM -= rollData.attackDef.malus;
} }
@ -226,7 +222,7 @@ export class YggdrasillUtility {
for (let i=0; i<rollData.furorUsage; i++) { for (let i=0; i<rollData.furorUsage; i++) {
rollData.furorResult += rollData.furorMaxTab[i].value rollData.furorResult += rollData.furorMaxTab[i].value
} }
rollData.finalTotal += rollData.furorResult + rollData.bonusTotal; rollData.finalTotal += Number(rollData.furorResult) + Number(rollData.bonusTotal);
rollData.niveauCompetence = niveauCompetence rollData.niveauCompetence = niveauCompetence
// Compute total SR // Compute total SR
@ -270,7 +266,7 @@ export class YggdrasillUtility {
// Specific GALDR // Specific GALDR
if ( rollData.sort?.type == "sortgaldr" && rollData.isSuccess) { if ( rollData.sort?.type == "sortgaldr" && rollData.isSuccess) {
let galdrRoll = new Roll( rollData.dureeGaldr.substring(0, rollData.dureeGaldr.length - 1) ).roll( { async: false} ); let galdrRoll = await new Roll( rollData.dureeGaldr.substring(0, rollData.dureeGaldr.length - 1) ).roll( );
await this.showDiceSoNice(galdrRoll, game.settings.get("core", "rollMode") ); await this.showDiceSoNice(galdrRoll, game.settings.get("core", "rollMode") );
rollData.dureeGaldrText = galdrRoll.total + " " + dureeGaldrText[rollData.dureeGaldr]; rollData.dureeGaldrText = galdrRoll.total + " " + dureeGaldrText[rollData.dureeGaldr];
if ( rollData.sort.system.voie == "illusion") { if ( rollData.sort.system.voie == "illusion") {
@ -310,7 +306,7 @@ export class YggdrasillUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static blindMessageToGM(chatOptions) { static blindMessageToGM(chatOptions) {
let chatGM = duplicate(chatOptions); let chatGM = foundry.utils.duplicate(chatOptions);
chatGM.whisper = this.getUsers(user => user.isGM); chatGM.whisper = this.getUsers(user => user.isGM);
chatGM.content = "Message aveugle de " + game.user.name + "<br>" + chatOptions.content; chatGM.content = "Message aveugle de " + game.user.name + "<br>" + chatOptions.content;
console.log("blindMessageToGM", chatGM); console.log("blindMessageToGM", chatGM);

BIN
packs/armes/000005.ldb Normal file

Binary file not shown.

0
packs/armes/000030.log Normal file
View File

1
packs/armes/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/armes/LOCK Normal file
View File

8
packs/armes/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.701535 7fdae60006c0 Recovering log #26
2024/04/30-23:29:38.712717 7fdae60006c0 Delete type=3 #24
2024/04/30-23:29:38.712835 7fdae60006c0 Delete type=0 #26
2024/05/01-09:07:55.263638 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.263695 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.270095 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.278160 7fdadfe006c0 Manual compaction at level-0 from '!items!3VBHojfjdD504ibv' @ 72057594037927935 : 1 .. '!items!x3aMYeKa73GxJ1Ge' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.278217 7fdadfe006c0 Manual compaction at level-1 from '!items!3VBHojfjdD504ibv' @ 72057594037927935 : 1 .. '!items!x3aMYeKa73GxJ1Ge' @ 0 : 0; will stop at (end)

8
packs/armes/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.406906 7fdae6a006c0 Recovering log #22
2024/04/30-23:19:40.460092 7fdae6a006c0 Delete type=3 #20
2024/04/30-23:19:40.460148 7fdae6a006c0 Delete type=0 #22
2024/04/30-23:29:17.693081 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.693122 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.699904 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.700195 7fdadfe006c0 Manual compaction at level-0 from '!items!3VBHojfjdD504ibv' @ 72057594037927935 : 1 .. '!items!x3aMYeKa73GxJ1Ge' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.700264 7fdadfe006c0 Manual compaction at level-1 from '!items!3VBHojfjdD504ibv' @ 72057594037927935 : 1 .. '!items!x3aMYeKa73GxJ1Ge' @ 0 : 0; will stop at (end)

BIN
packs/armes/MANIFEST-000028 Normal file

Binary file not shown.

BIN
packs/armures/000005.ldb Normal file

Binary file not shown.

0
packs/armures/000030.log Normal file
View File

1
packs/armures/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/armures/LOCK Normal file
View File

8
packs/armures/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.716559 7fdae56006c0 Recovering log #26
2024/04/30-23:29:38.727495 7fdae56006c0 Delete type=3 #24
2024/04/30-23:29:38.727612 7fdae56006c0 Delete type=0 #26
2024/05/01-09:07:55.278461 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.278543 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.285552 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.307237 7fdadfe006c0 Manual compaction at level-0 from '!items!4YGPuZ813BWQaNbq' @ 72057594037927935 : 1 .. '!items!qUXBrstsh5Oo8FEx' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.307315 7fdadfe006c0 Manual compaction at level-1 from '!items!4YGPuZ813BWQaNbq' @ 72057594037927935 : 1 .. '!items!qUXBrstsh5Oo8FEx' @ 0 : 0; will stop at (end)

8
packs/armures/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.462765 7fdae56006c0 Recovering log #22
2024/04/30-23:19:40.516270 7fdae56006c0 Delete type=3 #20
2024/04/30-23:19:40.516414 7fdae56006c0 Delete type=0 #22
2024/04/30-23:29:17.700436 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.700507 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.706746 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.728151 7fdadfe006c0 Manual compaction at level-0 from '!items!4YGPuZ813BWQaNbq' @ 72057594037927935 : 1 .. '!items!qUXBrstsh5Oo8FEx' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.728230 7fdadfe006c0 Manual compaction at level-1 from '!items!4YGPuZ813BWQaNbq' @ 72057594037927935 : 1 .. '!items!qUXBrstsh5Oo8FEx' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/blessures/000005.ldb Normal file

Binary file not shown.

View File

1
packs/blessures/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/blessures/LOCK Normal file
View File

8
packs/blessures/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.686138 7fdae74006c0 Recovering log #26
2024/04/30-23:29:38.697631 7fdae74006c0 Delete type=3 #24
2024/04/30-23:29:38.697720 7fdae74006c0 Delete type=0 #26
2024/05/01-09:07:55.248868 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.248948 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.256720 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.278118 7fdadfe006c0 Manual compaction at level-0 from '!items!4rM9IvDuijsjbAhI' @ 72057594037927935 : 1 .. '!items!swTZ43FJRWkqjR75' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.278189 7fdadfe006c0 Manual compaction at level-1 from '!items!4rM9IvDuijsjbAhI' @ 72057594037927935 : 1 .. '!items!swTZ43FJRWkqjR75' @ 0 : 0; will stop at (end)

8
packs/blessures/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.351482 7fdae74006c0 Recovering log #22
2024/04/30-23:19:40.404285 7fdae74006c0 Delete type=3 #20
2024/04/30-23:19:40.404419 7fdae74006c0 Delete type=0 #22
2024/04/30-23:29:17.680070 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.680150 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.686368 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.700147 7fdadfe006c0 Manual compaction at level-0 from '!items!4rM9IvDuijsjbAhI' @ 72057594037927935 : 1 .. '!items!swTZ43FJRWkqjR75' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.700221 7fdadfe006c0 Manual compaction at level-1 from '!items!4rM9IvDuijsjbAhI' @ 72057594037927935 : 1 .. '!items!swTZ43FJRWkqjR75' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000028

View File

View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.598445 7fdae56006c0 Recovering log #26
2024/04/30-23:29:38.609001 7fdae56006c0 Delete type=3 #24
2024/04/30-23:29:38.609105 7fdae56006c0 Delete type=0 #26
2024/05/01-09:07:55.221157 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.221263 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.228186 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.248533 7fdadfe006c0 Manual compaction at level-0 from '!items!26CQEICWZs8Gw4Xi' @ 72057594037927935 : 1 .. '!items!ylqZMDyXujUlSorr' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.248650 7fdadfe006c0 Manual compaction at level-1 from '!items!26CQEICWZs8Gw4Xi' @ 72057594037927935 : 1 .. '!items!ylqZMDyXujUlSorr' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2024/04/30-23:19:39.979945 7fdae56006c0 Recovering log #22
2024/04/30-23:19:40.065797 7fdae56006c0 Delete type=3 #20
2024/04/30-23:19:40.065849 7fdae56006c0 Delete type=0 #22
2024/04/30-23:29:17.665664 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.665700 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.672790 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.673067 7fdadfe006c0 Manual compaction at level-0 from '!items!26CQEICWZs8Gw4Xi' @ 72057594037927935 : 1 .. '!items!ylqZMDyXujUlSorr' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.673158 7fdadfe006c0 Manual compaction at level-1 from '!items!26CQEICWZs8Gw4Xi' @ 72057594037927935 : 1 .. '!items!ylqZMDyXujUlSorr' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000028

View File

View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.628864 7fdae74006c0 Recovering log #26
2024/04/30-23:29:38.639377 7fdae74006c0 Delete type=3 #24
2024/04/30-23:29:38.639485 7fdae74006c0 Delete type=0 #26
2024/05/01-09:07:55.235111 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.235152 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.241587 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.248582 7fdadfe006c0 Manual compaction at level-0 from '!items!RAhkadJOfEnVBLpy' @ 72057594037927935 : 1 .. '!items!mIBiTKqfqiiepeyz' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.248633 7fdadfe006c0 Manual compaction at level-1 from '!items!RAhkadJOfEnVBLpy' @ 72057594037927935 : 1 .. '!items!mIBiTKqfqiiepeyz' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.124224 7fdae74006c0 Recovering log #22
2024/04/30-23:19:40.178911 7fdae74006c0 Delete type=3 #20
2024/04/30-23:19:40.178997 7fdae74006c0 Delete type=0 #22
2024/04/30-23:29:17.652925 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.652988 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.659135 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.673010 7fdadfe006c0 Manual compaction at level-0 from '!items!RAhkadJOfEnVBLpy' @ 72057594037927935 : 1 .. '!items!mIBiTKqfqiiepeyz' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.673110 7fdadfe006c0 Manual compaction at level-1 from '!items!RAhkadJOfEnVBLpy' @ 72057594037927935 : 1 .. '!items!mIBiTKqfqiiepeyz' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000028

View File

View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.613651 7fdae6a006c0 Recovering log #26
2024/04/30-23:29:38.625184 7fdae6a006c0 Delete type=3 #24
2024/04/30-23:29:38.625373 7fdae6a006c0 Delete type=0 #26
2024/05/01-09:07:55.228367 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.228409 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.234932 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.248560 7fdadfe006c0 Manual compaction at level-0 from '!items!6IqVsJsYPrbxUJZX' @ 72057594037927935 : 1 .. '!items!mJSWXawEGARKlNja' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.248618 7fdadfe006c0 Manual compaction at level-1 from '!items!6IqVsJsYPrbxUJZX' @ 72057594037927935 : 1 .. '!items!mJSWXawEGARKlNja' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.069129 7fdae60006c0 Recovering log #22
2024/04/30-23:19:40.121607 7fdae60006c0 Delete type=3 #20
2024/04/30-23:19:40.121667 7fdae60006c0 Delete type=0 #22
2024/04/30-23:29:17.659336 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.659388 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.665512 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.673037 7fdadfe006c0 Manual compaction at level-0 from '!items!6IqVsJsYPrbxUJZX' @ 72057594037927935 : 1 .. '!items!mJSWXawEGARKlNja' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.673132 7fdadfe006c0 Manual compaction at level-1 from '!items!6IqVsJsYPrbxUJZX' @ 72057594037927935 : 1 .. '!items!mJSWXawEGARKlNja' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/dons/000005.ldb Normal file

Binary file not shown.

0
packs/dons/000030.log Normal file
View File

1
packs/dons/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/dons/LOCK Normal file
View File

8
packs/dons/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.658423 7fdae56006c0 Recovering log #26
2024/04/30-23:29:38.669272 7fdae56006c0 Delete type=3 #24
2024/04/30-23:29:38.669388 7fdae56006c0 Delete type=0 #26
2024/05/01-09:07:55.270287 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.270340 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.277858 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.278175 7fdadfe006c0 Manual compaction at level-0 from '!items!1EVz9C1fDUBafPHj' @ 72057594037927935 : 1 .. '!items!wnIXKyfqCWT0r4iT' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.278230 7fdadfe006c0 Manual compaction at level-1 from '!items!1EVz9C1fDUBafPHj' @ 72057594037927935 : 1 .. '!items!wnIXKyfqCWT0r4iT' @ 0 : 0; will stop at (end)

8
packs/dons/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.234340 7fdae56006c0 Recovering log #22
2024/04/30-23:19:40.293183 7fdae56006c0 Delete type=3 #20
2024/04/30-23:19:40.293273 7fdae56006c0 Delete type=0 #22
2024/04/30-23:29:17.673257 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.673329 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.679832 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.700117 7fdadfe006c0 Manual compaction at level-0 from '!items!1EVz9C1fDUBafPHj' @ 72057594037927935 : 1 .. '!items!wnIXKyfqCWT0r4iT' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.700290 7fdadfe006c0 Manual compaction at level-1 from '!items!1EVz9C1fDUBafPHj' @ 72057594037927935 : 1 .. '!items!wnIXKyfqCWT0r4iT' @ 0 : 0; will stop at (end)

BIN
packs/dons/MANIFEST-000028 Normal file

Binary file not shown.

BIN
packs/equipement/000005.ldb Normal file

Binary file not shown.

View File

1
packs/equipement/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/equipement/LOCK Normal file
View File

8
packs/equipement/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.878752 7fdae60006c0 Recovering log #26
2024/04/30-23:29:38.890171 7fdae60006c0 Delete type=3 #24
2024/04/30-23:29:38.890274 7fdae60006c0 Delete type=0 #26
2024/05/01-09:07:55.343882 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.343919 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.350824 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.365593 7fdadfe006c0 Manual compaction at level-0 from '!items!0tELaPFZgkeTUeVn' @ 72057594037927935 : 1 .. '!items!zC0kHoqZ9lkQFgI6' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.365651 7fdadfe006c0 Manual compaction at level-1 from '!items!0tELaPFZgkeTUeVn' @ 72057594037927935 : 1 .. '!items!zC0kHoqZ9lkQFgI6' @ 0 : 0; will stop at (end)

8
packs/equipement/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:19:41.082448 7fdae6a006c0 Recovering log #22
2024/04/30-23:19:41.139809 7fdae6a006c0 Delete type=3 #20
2024/04/30-23:19:41.139896 7fdae6a006c0 Delete type=0 #22
2024/04/30-23:29:17.770819 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.770858 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.777222 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.784990 7fdadfe006c0 Manual compaction at level-0 from '!items!0tELaPFZgkeTUeVn' @ 72057594037927935 : 1 .. '!items!zC0kHoqZ9lkQFgI6' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.785044 7fdadfe006c0 Manual compaction at level-1 from '!items!0tELaPFZgkeTUeVn' @ 72057594037927935 : 1 .. '!items!zC0kHoqZ9lkQFgI6' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/faiblesses/000005.ldb Normal file

Binary file not shown.

View File

1
packs/faiblesses/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/faiblesses/LOCK Normal file
View File

8
packs/faiblesses/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.672610 7fdae6a006c0 Recovering log #26
2024/04/30-23:29:38.683005 7fdae6a006c0 Delete type=3 #24
2024/04/30-23:29:38.683098 7fdae6a006c0 Delete type=0 #26
2024/05/01-09:07:55.256906 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.256961 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.263446 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.278143 7fdadfe006c0 Manual compaction at level-0 from '!items!0EoL2kcGdYiYS8lY' @ 72057594037927935 : 1 .. '!items!xf1RAsIzBXQgbLq2' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.278203 7fdadfe006c0 Manual compaction at level-1 from '!items!0EoL2kcGdYiYS8lY' @ 72057594037927935 : 1 .. '!items!xf1RAsIzBXQgbLq2' @ 0 : 0; will stop at (end)

8
packs/faiblesses/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.295339 7fdae60006c0 Recovering log #22
2024/04/30-23:19:40.348247 7fdae60006c0 Delete type=3 #20
2024/04/30-23:19:40.348407 7fdae60006c0 Delete type=0 #22
2024/04/30-23:29:17.686521 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.686561 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.692931 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.700170 7fdadfe006c0 Manual compaction at level-0 from '!items!0EoL2kcGdYiYS8lY' @ 72057594037927935 : 1 .. '!items!xf1RAsIzBXQgbLq2' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.700242 7fdadfe006c0 Manual compaction at level-1 from '!items!0EoL2kcGdYiYS8lY' @ 72057594037927935 : 1 .. '!items!xf1RAsIzBXQgbLq2' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/galdr-charme/LOCK Normal file
View File

8
packs/galdr-charme/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.864329 7fdae74006c0 Recovering log #26
2024/04/30-23:29:38.875039 7fdae74006c0 Delete type=3 #24
2024/04/30-23:29:38.875162 7fdae74006c0 Delete type=0 #26
2024/05/01-09:07:55.358841 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.358889 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.365401 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.365623 7fdadfe006c0 Manual compaction at level-0 from '!items!7VeQIQHxvw233Jzt' @ 72057594037927935 : 1 .. '!items!xw2gPhCxDVpkJnxL' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.365664 7fdadfe006c0 Manual compaction at level-1 from '!items!7VeQIQHxvw233Jzt' @ 72057594037927935 : 1 .. '!items!xw2gPhCxDVpkJnxL' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2024/04/30-23:19:41.025961 7fdae74006c0 Recovering log #22
2024/04/30-23:19:41.079520 7fdae74006c0 Delete type=3 #20
2024/04/30-23:19:41.079583 7fdae74006c0 Delete type=0 #22
2024/04/30-23:29:17.756688 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.756739 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.763271 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.784938 7fdadfe006c0 Manual compaction at level-0 from '!items!7VeQIQHxvw233Jzt' @ 72057594037927935 : 1 .. '!items!xw2gPhCxDVpkJnxL' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.785004 7fdadfe006c0 Manual compaction at level-1 from '!items!7VeQIQHxvw233Jzt' @ 72057594037927935 : 1 .. '!items!xw2gPhCxDVpkJnxL' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000028

View File

View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.848909 7fdae6a006c0 Recovering log #26
2024/04/30-23:29:38.860284 7fdae6a006c0 Delete type=3 #24
2024/04/30-23:29:38.860378 7fdae6a006c0 Delete type=0 #26
2024/05/01-09:07:55.337174 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.337262 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.343707 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.365572 7fdadfe006c0 Manual compaction at level-0 from '!items!89NwqZV3Qn9xWeO0' @ 72057594037927935 : 1 .. '!items!sH7HaKggOEaBVzn3' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.365637 7fdadfe006c0 Manual compaction at level-1 from '!items!89NwqZV3Qn9xWeO0' @ 72057594037927935 : 1 .. '!items!sH7HaKggOEaBVzn3' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.969658 7fdae60006c0 Recovering log #22
2024/04/30-23:19:41.023158 7fdae60006c0 Delete type=3 #20
2024/04/30-23:19:41.023242 7fdae60006c0 Delete type=0 #22
2024/04/30-23:29:17.763463 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.763510 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.770617 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.784973 7fdadfe006c0 Manual compaction at level-0 from '!items!89NwqZV3Qn9xWeO0' @ 72057594037927935 : 1 .. '!items!sH7HaKggOEaBVzn3' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.785028 7fdadfe006c0 Manual compaction at level-1 from '!items!89NwqZV3Qn9xWeO0' @ 72057594037927935 : 1 .. '!items!sH7HaKggOEaBVzn3' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@ -0,0 +1 @@
MANIFEST-000028

View File

View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.834359 7fdae56006c0 Recovering log #26
2024/04/30-23:29:38.845525 7fdae56006c0 Delete type=3 #24
2024/04/30-23:29:38.845680 7fdae56006c0 Delete type=0 #26
2024/05/01-09:07:55.351078 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.351137 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.358613 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.365609 7fdadfe006c0 Manual compaction at level-0 from '!items!1smXvw2EcuTkytDv' @ 72057594037927935 : 1 .. '!items!yKLS6KQafucspg3R' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.365681 7fdadfe006c0 Manual compaction at level-1 from '!items!1smXvw2EcuTkytDv' @ 72057594037927935 : 1 .. '!items!yKLS6KQafucspg3R' @ 0 : 0; will stop at (end)

View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.910416 7fdae56006c0 Recovering log #22
2024/04/30-23:19:40.966975 7fdae56006c0 Delete type=3 #20
2024/04/30-23:19:40.967029 7fdae56006c0 Delete type=0 #22
2024/04/30-23:29:17.777472 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.777538 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.784768 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.785016 7fdadfe006c0 Manual compaction at level-0 from '!items!1smXvw2EcuTkytDv' @ 72057594037927935 : 1 .. '!items!yKLS6KQafucspg3R' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.785059 7fdadfe006c0 Manual compaction at level-1 from '!items!1smXvw2EcuTkytDv' @ 72057594037927935 : 1 .. '!items!yKLS6KQafucspg3R' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/poisons/000005.ldb Normal file

Binary file not shown.

0
packs/poisons/000030.log Normal file
View File

1
packs/poisons/CURRENT Normal file
View File

@ -0,0 +1 @@
MANIFEST-000028

0
packs/poisons/LOCK Normal file
View File

8
packs/poisons/LOG Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:29:38.820360 7fdae60006c0 Recovering log #26
2024/04/30-23:29:38.830962 7fdae60006c0 Delete type=3 #24
2024/04/30-23:29:38.831074 7fdae60006c0 Delete type=0 #26
2024/05/01-09:07:55.328535 7fdadfe006c0 Level-0 table #31: started
2024/05/01-09:07:55.328572 7fdadfe006c0 Level-0 table #31: 0 bytes OK
2024/05/01-09:07:55.336539 7fdadfe006c0 Delete type=0 #29
2024/05/01-09:07:55.336884 7fdadfe006c0 Manual compaction at level-0 from '!items!8lGlSw9Hkqbx1MDE' @ 72057594037927935 : 1 .. '!items!rMGHu9grQeuvSl6n' @ 0 : 0; will stop at (end)
2024/05/01-09:07:55.336980 7fdadfe006c0 Manual compaction at level-1 from '!items!8lGlSw9Hkqbx1MDE' @ 72057594037927935 : 1 .. '!items!rMGHu9grQeuvSl6n' @ 0 : 0; will stop at (end)

8
packs/poisons/LOG.old Normal file
View File

@ -0,0 +1,8 @@
2024/04/30-23:19:40.852745 7fdae6a006c0 Recovering log #22
2024/04/30-23:19:40.907898 7fdae6a006c0 Delete type=3 #20
2024/04/30-23:19:40.907952 7fdae6a006c0 Delete type=0 #22
2024/04/30-23:29:17.749549 7fdadfe006c0 Level-0 table #27: started
2024/04/30-23:29:17.749612 7fdadfe006c0 Level-0 table #27: 0 bytes OK
2024/04/30-23:29:17.756171 7fdadfe006c0 Delete type=0 #25
2024/04/30-23:29:17.756460 7fdadfe006c0 Manual compaction at level-0 from '!items!8lGlSw9Hkqbx1MDE' @ 72057594037927935 : 1 .. '!items!rMGHu9grQeuvSl6n' @ 0 : 0; will stop at (end)
2024/04/30-23:29:17.756514 7fdadfe006c0 Manual compaction at level-1 from '!items!8lGlSw9Hkqbx1MDE' @ 72057594037927935 : 1 .. '!items!rMGHu9grQeuvSl6n' @ 0 : 0; will stop at (end)

Binary file not shown.

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