Compare commits

...

5 Commits

98 changed files with 347 additions and 76 deletions

View File

@@ -1,27 +1,26 @@
{ {
"ACTOR": { "TYPES": {
"TypePersonnage": "Personnage", "Actor": {
"TypePNJ": "PNJ" "personnage": "Personnage",
}, "PNJ": "PNJ"
},
"ITEM": { "Item": {
"TypeArme": "Arme", "arme": "Arme",
"TypeCompetence": "Compétence", "competence": "Compétence",
"TypeProtection": "Protection", "protection": "Protection",
"TypePacte": "Pacte", "pacte": "Pacte",
"TypeTraitchaotique": "Trait Chaotique", "traitchaotique": "Trait Chaotique",
"TypeMonnaie": "Monnaie", "monnaie": "Monnaie",
"TypeDon": "Don", "don": "Don",
"TypeTendance": "Tendance", "tendance": "Tendance",
"TypeRune": "Rune", "rune": "Rune",
"TypeEquipement": "Equipement", "equipement": "Equipement",
"TypeCapacite": "Capacité", "capacite": "Capacité",
"TypeOrigine": "Origine", "origine": "Origine",
"TypeHeritage": "Héritage", "heritage": "Héritage",
"TypeMetier": "Métier", "metier": "Métier",
"TypeRuneeffect": "Effet de Rune", "runeeffect": "Effet de Rune",
"TypeBouclier": "Bouclier" "bouclier": "Bouclier"
}
} }
} }

View File

@@ -55,6 +55,7 @@ export class MournbladeActorSheet extends ActorSheet {
combat: this.actor.getCombatValues(), combat: this.actor.getCombatValues(),
equipements: duplicate(this.actor.getEquipments()), equipements: duplicate(this.actor.getEquipments()),
monnaies: duplicate(this.actor.getMonnaies()), monnaies: duplicate(this.actor.getMonnaies()),
runeEffects: duplicate(this.actor.getRuneEffects()),
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}), description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),
options: this.options, options: this.options,
owner: this.document.isOwner, owner: this.document.isOwner,

View File

@@ -127,6 +127,9 @@ export class MournbladeActor extends Actor {
getArmors() { getArmors() {
return this.getItemSorted(["protection"]) return this.getItemSorted(["protection"])
} }
getRuneEffects() {
return this.getItemSorted(["runeeffect"])
}
getOrigine() { getOrigine() {
return this.items.find(item => item.type == "origine") return this.items.find(item => item.type == "origine")
} }

View File

@@ -135,26 +135,26 @@ export class MournbladeItemSheet extends ItemSheet {
let index = li.data("prediction-index") let index = li.data("prediction-index")
let pred = duplicate(this.object.system.predilections) let pred = duplicate(this.object.system.predilections)
pred[index].name = ev.currentTarget.value pred[index].name = ev.currentTarget.value
this.object.update( { 'data.predilections': pred }) this.object.update( { 'system.predilections': pred })
}) })
html.find('.delete-prediction').click(ev => { html.find('.delete-prediction').click(ev => {
const li = $(ev.currentTarget).parents(".prediction-item") const li = $(ev.currentTarget).parents(".prediction-item")
let index = li.data("prediction-index") let index = li.data("prediction-index")
let pred = duplicate(this.object.system.predilections) let pred = duplicate(this.object.system.predilections)
pred.splice(index,1) pred.splice(index,1)
this.object.update( { 'data.predilections': pred }) this.object.update( { 'system.predilections': pred })
}) })
html.find('.use-prediction').change(ev => { html.find('.use-prediction').change(ev => {
const li = $(ev.currentTarget).parents(".prediction-item") const li = $(ev.currentTarget).parents(".prediction-item")
let index = li.data("prediction-index") let index = li.data("prediction-index")
let pred = duplicate(this.object.system.predilections) let pred = duplicate(this.object.system.predilections)
pred[index].used = ev.currentTarget.checked pred[index].used = ev.currentTarget.checked
this.object.update( { 'data.predilections': pred }) this.object.update( { 'system.predilections': pred })
}) })
html.find('#add-predilection').click(ev => { html.find('#add-predilection').click(ev => {
let pred = duplicate(this.object.system.predilections) let pred = duplicate(this.object.system.predilections)
pred.push( { name: "Nouvelle prédilection", used: false }) pred.push( { name: "Nouvelle prédilection", id: randomID(), used: false })
this.object.update( { 'data.predilections': pred }) this.object.update( { 'system.predilections': pred })
}) })
// Update Inventory Item // Update Inventory Item
html.find('.item-delete').click(ev => { html.find('.item-delete').click(ev => {

View File

@@ -11,6 +11,7 @@ export const defaultItemImg = {
predilection: "systems/fvtt-mournblade/assets/icons/predilection.webp", predilection: "systems/fvtt-mournblade/assets/icons/predilection.webp",
protection: "systems/fvtt-mournblade/assets/icons/protection.webp", protection: "systems/fvtt-mournblade/assets/icons/protection.webp",
rune: "systems/fvtt-mournblade/assets/icons/rune.webp", rune: "systems/fvtt-mournblade/assets/icons/rune.webp",
runeeffect: "systems/fvtt-mournblade/assets/icons/rune.webp",
tendance: "systems/fvtt-mournblade/assets/icons/tendance.webp", tendance: "systems/fvtt-mournblade/assets/icons/tendance.webp",
traitchaotique: "systems/fvtt-mournblade/assets/icons/traitchaotique.webp", traitchaotique: "systems/fvtt-mournblade/assets/icons/traitchaotique.webp",
} }

View File

@@ -114,11 +114,6 @@ Hooks.once("ready", function () {
}); });
} }
// CSS patch for v9
if (game.version) {
let sidebar = document.getElementById("sidebar");
sidebar.style.width = "min-content";
}
registerUsageCount('fvtt-mournblade') registerUsageCount('fvtt-mournblade')
welcomeMessage(); welcomeMessage();
}); });

View File

@@ -118,6 +118,13 @@ export class MournbladeUtility {
static getOptionsStatusList() { static getOptionsStatusList() {
return this.optionsStatusList; return this.optionsStatusList;
} }
/* -------------------------------------------- */
static getPredilection(comp, predIdx) {
let pred = duplicate(comp.system.predilections)
return duplicate(pred[predIdx] || {name: "Error!"} )
}
/* -------------------------------------------- */ /* -------------------------------------------- */
static async chatListeners(html) { static async chatListeners(html) {
@@ -129,7 +136,8 @@ export class MournbladeUtility {
let actor = MournbladeUtility.getActorFromRollData(rollData) let actor = MournbladeUtility.getActorFromRollData(rollData)
await actor.setPredilectionUsed(rollData.competence._id, predIdx) await actor.setPredilectionUsed(rollData.competence._id, predIdx)
rollData.competence = duplicate(actor.getCompetence(rollData.competence._id)) rollData.competence = duplicate(actor.getCompetence(rollData.competence._id))
MournbladeUtility.rollMournblade(rollData) rollData.predilectionUsed = MournbladeUtility.getPredilection(rollData.competence, predIdx)
await MournbladeUtility.rollMournblade(rollData)
}) })
} }
@@ -224,7 +232,6 @@ export class MournbladeUtility {
/* -------------------------------------------- */ /* -------------------------------------------- */
static onSocketMesssage(msg) { static onSocketMesssage(msg) {
//console.log("SOCKET MESSAGE", msg.name, game.user.character.id, msg.data.defenderId);
if (msg.name == "msg_update_defense_state") { if (msg.name == "msg_update_defense_state") {
this.updateDefenseState(msg.data.defenderId, msg.data.rollId); this.updateDefenseState(msg.data.defenderId, msg.data.rollId);
} }
@@ -323,7 +330,7 @@ export class MournbladeUtility {
} }
//console.log("BEFORE COMP", rollData) //console.log("BEFORE COMP", rollData)
if (rollData.competence) { if (rollData.competence) {
rollData.predilections = duplicate(rollData.competence.system.predilections.filter(pred => !pred.used) || []) rollData.predilections = duplicate(rollData.competence.system.predilections)
let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0 let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0
rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}` rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}`
} else { } else {
@@ -346,7 +353,7 @@ export class MournbladeUtility {
let myRoll = new Roll(rollData.diceFormula).roll({ async: false }) let myRoll = new Roll(rollData.diceFormula).roll({ async: false })
await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
rollData.roll = myRoll rollData.roll = duplicate(myRoll)
rollData.diceResult = myRoll.terms[0].results[0].result rollData.diceResult = myRoll.terms[0].results[0].result
console.log(">>>> ", myRoll) console.log(">>>> ", myRoll)
@@ -373,7 +380,7 @@ export class MournbladeUtility {
let bonusRoll = new Roll(rollData.bonusFormula).roll({ async: false }) let bonusRoll = new Roll(rollData.bonusFormula).roll({ async: false })
await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode"));
rollData.bonusRoll = bonusRoll rollData.bonusRoll = duplicate(bonusRoll)
rollData.finalResult += rollData.bonusRoll.total rollData.finalResult += rollData.bonusRoll.total

BIN
packs/armes/000005.ldb Normal file

Binary file not shown.

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

1
packs/armes/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/armes/LOCK Normal file
View File

8
packs/armes/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.593727 7f3322ffd6c0 Recovering log #36
2023/12/21-19:17:33.639350 7f3322ffd6c0 Delete type=3 #34
2023/12/21-19:17:33.639464 7f3322ffd6c0 Delete type=0 #36
2023/12/21-19:20:44.881496 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.881541 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.888812 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.900167 7f33223ff6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.900223 7f33223ff6c0 Manual compaction at level-1 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.681898 7f35b8bfa6c0 Recovering log #32
2023/12/21-15:38:38.691893 7f35b8bfa6c0 Delete type=3 #30
2023/12/21-15:38:38.692031 7f35b8bfa6c0 Delete type=0 #32
2023/12/21-15:39:48.799860 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.799891 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.806560 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.820290 7f33223ff6c0 Manual compaction at level-0 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.828125 7f33223ff6c0 Manual compaction at level-1 from '!items!0swiE8k5zfUIqmXu' @ 72057594037927935 : 1 .. '!items!wv5EiePmPTpqFutt' @ 0 : 0; will stop at (end)

BIN
packs/armes/MANIFEST-000038 Normal file

Binary file not shown.

BIN
packs/dons/000005.ldb Normal file

Binary file not shown.

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

1
packs/dons/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/dons/LOCK Normal file
View File

8
packs/dons/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.734981 7f3323fff6c0 Recovering log #36
2023/12/21-19:17:33.773456 7f3323fff6c0 Delete type=3 #34
2023/12/21-19:17:33.773550 7f3323fff6c0 Delete type=0 #36
2023/12/21-19:20:44.922857 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.922912 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.929747 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.930040 7f33223ff6c0 Manual compaction at level-0 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.930127 7f33223ff6c0 Manual compaction at level-1 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.721918 7f3323fff6c0 Recovering log #32
2023/12/21-15:38:38.732673 7f3323fff6c0 Delete type=3 #30
2023/12/21-15:38:38.732730 7f3323fff6c0 Delete type=0 #32
2023/12/21-15:39:48.820322 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.820379 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.827848 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.828148 7f33223ff6c0 Manual compaction at level-0 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.828211 7f33223ff6c0 Manual compaction at level-1 from '!items!5dGXNiL3WN4cAk7X' @ 72057594037927935 : 1 .. '!items!zzz9JrtWjELdoAfK' @ 0 : 0; will stop at (end)

BIN
packs/dons/MANIFEST-000038 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-000038

0
packs/equipement/LOCK Normal file
View File

8
packs/equipement/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.696684 7f33237fe6c0 Recovering log #36
2023/12/21-19:17:33.731835 7f33237fe6c0 Delete type=3 #34
2023/12/21-19:17:33.731930 7f33237fe6c0 Delete type=0 #36
2023/12/21-19:20:44.900432 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.900494 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.907220 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.929964 7f33223ff6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.930062 7f33223ff6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.708703 7f33237fe6c0 Recovering log #32
2023/12/21-15:38:38.718410 7f33237fe6c0 Delete type=3 #30
2023/12/21-15:38:38.718471 7f33237fe6c0 Delete type=0 #32
2023/12/21-15:39:48.806833 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.806886 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.813500 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.828075 7f33223ff6c0 Manual compaction at level-0 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.828188 7f33223ff6c0 Manual compaction at level-1 from '!items!1cZd2hlTV9tykDED' @ 72057594037927935 : 1 .. '!items!y47dBO3Mf5Pn7tOd' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/heritages/000005.ldb Normal file

Binary file not shown.

View File

1
packs/heritages/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/heritages/LOCK Normal file
View File

8
packs/heritages/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.834030 7f35b8bfa6c0 Recovering log #36
2023/12/21-19:17:33.890233 7f35b8bfa6c0 Delete type=3 #34
2023/12/21-19:17:33.890765 7f35b8bfa6c0 Delete type=0 #36
2023/12/21-19:20:44.938047 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.938083 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.944658 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.959089 7f33223ff6c0 Manual compaction at level-0 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.959161 7f33223ff6c0 Manual compaction at level-1 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.748077 7f3322ffd6c0 Recovering log #32
2023/12/21-15:38:38.758754 7f3322ffd6c0 Delete type=3 #30
2023/12/21-15:38:38.758819 7f3322ffd6c0 Delete type=0 #32
2023/12/21-15:39:48.828342 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.828403 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.834842 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.855589 7f33223ff6c0 Manual compaction at level-0 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.855668 7f33223ff6c0 Manual compaction at level-1 from '!items!2GaJZsqr2c2mcDRv' @ 72057594037927935 : 1 .. '!items!ui4JGsGwHNlSXVK3' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/metiers/000005.ldb Normal file

Binary file not shown.

0
packs/metiers/000040.log Normal file
View File

1
packs/metiers/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/metiers/LOCK Normal file
View File

8
packs/metiers/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.894585 7f33237fe6c0 Recovering log #36
2023/12/21-19:17:33.931836 7f33237fe6c0 Delete type=3 #34
2023/12/21-19:17:33.931972 7f33237fe6c0 Delete type=0 #36
2023/12/21-19:20:44.930300 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.930393 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.937916 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.959070 7f33223ff6c0 Manual compaction at level-0 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.959134 7f33223ff6c0 Manual compaction at level-1 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.762194 7f33237fe6c0 Recovering log #32
2023/12/21-15:38:38.772223 7f33237fe6c0 Delete type=3 #30
2023/12/21-15:38:38.772283 7f33237fe6c0 Delete type=0 #32
2023/12/21-15:39:48.848998 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.849024 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.855462 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.855625 7f33223ff6c0 Manual compaction at level-0 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.855650 7f33223ff6c0 Manual compaction at level-1 from '!items!09s33sFuju8zjPqI' @ 72057594037927935 : 1 .. '!items!xlyFCQClBZ1N3O1B' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/origines/000005.ldb Normal file

Binary file not shown.

View File

1
packs/origines/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/origines/LOCK Normal file
View File

8
packs/origines/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.780177 7f3322ffd6c0 Recovering log #36
2023/12/21-19:17:33.829775 7f3322ffd6c0 Delete type=3 #34
2023/12/21-19:17:33.829923 7f3322ffd6c0 Delete type=0 #36
2023/12/21-19:20:44.915993 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.916063 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.922657 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.930016 7f33223ff6c0 Manual compaction at level-0 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.930106 7f33223ff6c0 Manual compaction at level-1 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.735509 7f35b8bfa6c0 Recovering log #32
2023/12/21-15:38:38.744908 7f35b8bfa6c0 Delete type=3 #30
2023/12/21-15:38:38.744979 7f35b8bfa6c0 Delete type=0 #32
2023/12/21-15:39:48.835017 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.835057 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.842344 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.855603 7f33223ff6c0 Manual compaction at level-0 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.855659 7f33223ff6c0 Manual compaction at level-1 from '!items!2t1KmBeQNuKK5qlN' @ 72057594037927935 : 1 .. '!items!yBvkQb9S64s908sR' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/protection/000005.ldb Normal file

Binary file not shown.

View File

1
packs/protection/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/protection/LOCK Normal file
View File

8
packs/protection/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.643159 7f35b8bfa6c0 Recovering log #36
2023/12/21-19:17:33.693846 7f35b8bfa6c0 Delete type=3 #34
2023/12/21-19:17:33.693987 7f35b8bfa6c0 Delete type=0 #36
2023/12/21-19:20:44.907492 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.907557 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.915742 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.929991 7f33223ff6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.930084 7f33223ff6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.695816 7f3322ffd6c0 Recovering log #32
2023/12/21-15:38:38.705849 7f3322ffd6c0 Delete type=3 #30
2023/12/21-15:38:38.705914 7f3322ffd6c0 Delete type=0 #32
2023/12/21-15:39:48.813588 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.813615 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.820057 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.828104 7f33223ff6c0 Manual compaction at level-0 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.828169 7f33223ff6c0 Manual compaction at level-1 from '!items!2hD1DQVeCIQIXFU7' @ 72057594037927935 : 1 .. '!items!veoS6Gtzj6Dq087V' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/runes/000005.ldb Normal file

Binary file not shown.

0
packs/runes/000040.log Normal file
View File

1
packs/runes/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/runes/LOCK Normal file
View File

8
packs/runes/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:34.037650 7f35b8bfa6c0 Recovering log #36
2023/12/21-19:17:34.082011 7f35b8bfa6c0 Delete type=3 #34
2023/12/21-19:17:34.082183 7f35b8bfa6c0 Delete type=0 #36
2023/12/21-19:20:44.967137 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.967184 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.974006 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.974230 7f33223ff6c0 Manual compaction at level-0 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.974271 7f33223ff6c0 Manual compaction at level-1 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.809473 7f3322ffd6c0 Recovering log #32
2023/12/21-15:38:38.819369 7f3322ffd6c0 Delete type=3 #30
2023/12/21-15:38:38.819436 7f3322ffd6c0 Delete type=0 #32
2023/12/21-15:39:48.866633 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.866687 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.873873 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.887535 7f33223ff6c0 Manual compaction at level-0 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.887594 7f33223ff6c0 Manual compaction at level-1 from '!items!1JqWbEkHUoKXbsgn' @ 72057594037927935 : 1 .. '!items!xnCf2xIPzdsUoBTy' @ 0 : 0; will stop at (end)

BIN
packs/runes/MANIFEST-000038 Normal file

Binary file not shown.

BIN
packs/skills/000005.ldb Normal file

Binary file not shown.

0
packs/skills/000040.log Normal file
View File

1
packs/skills/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/skills/LOCK Normal file
View File

8
packs/skills/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.539158 7f3323fff6c0 Recovering log #36
2023/12/21-19:17:33.588928 7f3323fff6c0 Delete type=3 #34
2023/12/21-19:17:33.589020 7f3323fff6c0 Delete type=0 #36
2023/12/21-19:20:44.874404 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.874448 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.881347 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.900142 7f33223ff6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.900210 7f33223ff6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.668335 7f3323fff6c0 Recovering log #32
2023/12/21-15:38:38.678141 7f3323fff6c0 Delete type=3 #30
2023/12/21-15:38:38.678186 7f3323fff6c0 Delete type=0 #32
2023/12/21-15:39:48.782931 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.783224 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.789981 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.790146 7f33223ff6c0 Manual compaction at level-0 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.799834 7f33223ff6c0 Manual compaction at level-1 from '!items!0LlzDyCurJedqeyG' @ 72057594037927935 : 1 .. '!items!tq6mEgXog7h4VyWk' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/tables/000005.ldb Normal file

Binary file not shown.

0
packs/tables/000040.log Normal file
View File

1
packs/tables/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/tables/LOCK Normal file
View File

8
packs/tables/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:34.091820 7f33237fe6c0 Recovering log #36
2023/12/21-19:17:34.138376 7f33237fe6c0 Delete type=3 #34
2023/12/21-19:17:34.138520 7f33237fe6c0 Delete type=0 #36
2023/12/21-19:20:44.959349 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.959415 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.966819 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.974178 7f33223ff6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.974251 7f33223ff6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.822806 7f33237fe6c0 Recovering log #32
2023/12/21-15:38:38.833583 7f33237fe6c0 Delete type=3 #30
2023/12/21-15:38:38.833639 7f33237fe6c0 Delete type=0 #32
2023/12/21-15:39:48.874007 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.874038 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.880506 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.887556 7f33223ff6c0 Manual compaction at level-0 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.887632 7f33223ff6c0 Manual compaction at level-1 from '!tables!zV2oJy8JZE0nngRY' @ 72057594037927935 : 1 .. '!tables.results!zV2oJy8JZE0nngRY.wTMX1TbxljHmHImp' @ 0 : 0; will stop at (end)

Binary file not shown.

BIN
packs/tendances/000005.ldb Normal file

Binary file not shown.

View File

1
packs/tendances/CURRENT Normal file
View File

@@ -0,0 +1 @@
MANIFEST-000038

0
packs/tendances/LOCK Normal file
View File

8
packs/tendances/LOG Normal file
View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.934810 7f3323fff6c0 Recovering log #36
2023/12/21-19:17:33.976700 7f3323fff6c0 Delete type=3 #34
2023/12/21-19:17:33.977187 7f3323fff6c0 Delete type=0 #36
2023/12/21-19:20:44.944802 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.944841 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.951960 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.959106 7f33223ff6c0 Manual compaction at level-0 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.959148 7f33223ff6c0 Manual compaction at level-1 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)

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

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.775141 7f3323fff6c0 Recovering log #32
2023/12/21-15:38:38.786017 7f3323fff6c0 Delete type=3 #30
2023/12/21-15:38:38.786087 7f3323fff6c0 Delete type=0 #32
2023/12/21-15:39:48.842675 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.842717 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.848873 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.855615 7f33223ff6c0 Manual compaction at level-0 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.855677 7f33223ff6c0 Manual compaction at level-1 from '!items!0CYP1JpZu9mst5tK' @ 72057594037927935 : 1 .. '!items!zhPPsmTtLv7cyNHJ' @ 0 : 0; will stop at (end)

Binary file not shown.

Binary file not shown.

View File

View File

@@ -0,0 +1 @@
MANIFEST-000038

View File

View File

@@ -0,0 +1,8 @@
2023/12/21-19:17:33.986130 7f3322ffd6c0 Recovering log #36
2023/12/21-19:17:34.030179 7f3322ffd6c0 Delete type=3 #34
2023/12/21-19:17:34.030355 7f3322ffd6c0 Delete type=0 #36
2023/12/21-19:20:44.952141 7f33223ff6c0 Level-0 table #41: started
2023/12/21-19:20:44.952182 7f33223ff6c0 Level-0 table #41: 0 bytes OK
2023/12/21-19:20:44.958894 7f33223ff6c0 Delete type=0 #39
2023/12/21-19:20:44.959120 7f33223ff6c0 Manual compaction at level-0 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)
2023/12/21-19:20:44.959174 7f33223ff6c0 Manual compaction at level-1 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)

View File

@@ -0,0 +1,8 @@
2023/12/21-15:38:38.789880 7f35b8bfa6c0 Recovering log #32
2023/12/21-15:38:38.806442 7f35b8bfa6c0 Delete type=3 #30
2023/12/21-15:38:38.806511 7f35b8bfa6c0 Delete type=0 #32
2023/12/21-15:39:48.880716 7f33223ff6c0 Level-0 table #37: started
2023/12/21-15:39:48.880801 7f33223ff6c0 Level-0 table #37: 0 bytes OK
2023/12/21-15:39:48.887313 7f33223ff6c0 Delete type=0 #35
2023/12/21-15:39:48.887577 7f33223ff6c0 Manual compaction at level-0 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)
2023/12/21-15:39:48.887612 7f33223ff6c0 Manual compaction at level-1 from '!items!3J0HKjcVtBT39BiR' @ 72057594037927935 : 1 .. '!items!zeOtWz6oscp8Su5l' @ 0 : 0; will stop at (end)

Binary file not shown.

View File

@@ -302,6 +302,12 @@ table {border: 1px solid #7a7971;}
font-size: 0.8rem; font-size: 0.8rem;
} }
.predilection-text {
padding-left: 8px;
font-style: italic;
font-size: 0.6rem;
}
.editor { .editor {
border: 2; border: 2;
height: 300px; height: 300px;
@@ -924,8 +930,6 @@ ul, li {
} }
#sidebar #sidebar-tabs i{ #sidebar #sidebar-tabs i{
width: 25px;
height: 25px;
display: inline-block; display: inline-block;
background-position:center; background-position:center;
background-size:cover; background-size:cover;

View File

@@ -1,7 +1,7 @@
{ {
"id": "fvtt-mournblade", "id": "fvtt-mournblade",
"description": "Mournblade RPG for FoundryVTT", "description": "Mournblade RPG for FoundryVTT",
"version": "10.0.17", "version": "11.0.4",
"authors": [ "authors": [
{ {
"name": "Uberwald/LeRatierBretonnien", "name": "Uberwald/LeRatierBretonnien",
@@ -23,7 +23,7 @@
"gridUnits": "m", "gridUnits": "m",
"license": "LICENSE.txt", "license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-mournblade/raw/branch/v10/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-mournblade/raw/branch/v10/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-mournblade/archive/fvtt-mournblade-10.0.17.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-mournblade/archive/fvtt-mournblade-11.0.4.zip",
"packs": [ "packs": [
{ {
"type": "Item", "type": "Item",
@@ -31,8 +31,8 @@
"name": "skills", "name": "skills",
"path": "packs/skills.db", "path": "packs/skills.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -40,8 +40,8 @@
"name": "armes", "name": "armes",
"path": "packs/armes.db", "path": "packs/armes.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -49,8 +49,8 @@
"name": "protection", "name": "protection",
"path": "packs/protection.db", "path": "packs/protection.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -58,8 +58,8 @@
"name": "equipement", "name": "equipement",
"path": "packs/equipement.db", "path": "packs/equipement.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"label": "Dons", "label": "Dons",
@@ -67,8 +67,8 @@
"name": "dons", "name": "dons",
"path": "packs/dons.db", "path": "packs/dons.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -76,8 +76,8 @@
"name": "origines", "name": "origines",
"path": "packs/origines.db", "path": "packs/origines.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -85,8 +85,8 @@
"name": "heritages", "name": "heritages",
"path": "packs/heritages.db", "path": "packs/heritages.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -94,8 +94,8 @@
"name": "metiers", "name": "metiers",
"path": "packs/metiers.db", "path": "packs/metiers.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -103,8 +103,8 @@
"name": "tendances", "name": "tendances",
"path": "packs/tendances.db", "path": "packs/tendances.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -112,8 +112,8 @@
"name": "traits-chaotiques", "name": "traits-chaotiques",
"path": "packs/traits-chaotiques.db", "path": "packs/traits-chaotiques.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": true, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "Item", "type": "Item",
@@ -121,8 +121,8 @@
"name": "runes", "name": "runes",
"path": "packs/runes.db", "path": "packs/runes.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": false, "flags": {},
"flags": {} "private": false
}, },
{ {
"type": "RollTable", "type": "RollTable",
@@ -130,8 +130,8 @@
"name": "tables", "name": "tables",
"path": "packs/tables.db", "path": "packs/tables.db",
"system": "fvtt-mournblade", "system": "fvtt-mournblade",
"private": true, "flags": {},
"flags": {} "private": false
} }
], ],
"primaryTokenAttribute": "secondary.health", "primaryTokenAttribute": "secondary.health",
@@ -145,6 +145,7 @@
"background": "systems/fvtt-mournblade/assets/ui/fond_mournblade.webp", "background": "systems/fvtt-mournblade/assets/ui/fond_mournblade.webp",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "10.288" "maximum": "11",
"verified": "11"
} }
} }

View File

@@ -196,8 +196,17 @@
{{#each skills as |skill key|}} {{#each skills as |skill key|}}
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence"> <li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
<img class="item-name-img" src="{{skill.img}}" /> <img class="item-name-img" src="{{skill.img}}" />
<span class="item-name-label competence-name"><a class="roll-competence" <div class="flexcol item-name-label">
data-attr-key="tochoose">{{skill.name}}</a></span>
<span class="item-name-label competence-name"><a class="roll-competence"
data-attr-key="tochoose">{{skill.name}}</a></span>
<span class="predilection-text">
{{#each skill.system.predilections as |pred key|}}
{{pred.name}},
{{/each}}
</span>
</div>
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text" <select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number"> data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
{{#select skill.system.niveau}} {{#select skill.system.niveau}}
@@ -356,6 +365,46 @@
</ul> </ul>
</div> </div>
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">
<h3><label class="items-title-text">Runes actives</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Rune</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Mode</label>
</span>
<span class="item-field-label-medium">
<label class="short-label">Durée</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Ame</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
</div>
</li>
{{#each runeEffects as |runeEffect key|}}
<li class="item flexrow " data-item-id="{{runeEffect._id}}" data-item-type="runeeffect">
<img class="item-name-img" src="{{runeEffect.img}}" />
<span class="item-name-label competence-name">{{runeEffect.name}}</span>
<span class="item-field-label-long">{{runeEffect.system.rune}}</span>
<span class="item-field-label-short">{{upperFirst runeEffect.system.mode}}</span>
<span class="item-field-label-medium">{{runeEffect.system.duree}}</span>
<span class="item-field-label-short">{{runeEffect.system.pointame}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div> </div>
</div> </div>

View File

@@ -24,6 +24,10 @@
<li>Compétence : {{competence.name}}</li> <li>Compétence : {{competence.name}}</li>
{{/if}} {{/if}}
{{#if predilectionUsed}}
<li>Predilection utilisée : {{predilectionUsed.name}}</li>
{{/if}}
{{#if rune}} {{#if rune}}
<li>Rune : {{rune.name}}</li> <li>Rune : {{rune.name}}</li>
<li>Mode : {{runemode}}</li> <li>Mode : {{runemode}}</li>
@@ -65,9 +69,12 @@
{{/if}} {{/if}}
{{#each predilections as |pred key|}} {{#each predilections as |pred key|}}
<li> {{#if (not pred.used)}}
<button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">Predilection : {{pred.name}}</button> <li>
</li> <button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">
Predilection : {{pred.name}}</button>
</li>
{{/if}}
{{/each}} {{/each}}
</ul> </ul>
</div> </div>

View File

@@ -12,7 +12,7 @@
<div class="flexcol"> <div class="flexcol">
<span class="flexrow"> <span class="flexrow">
<label class="generic-label">Niveau : </label> <label class="generic-label">Niveau : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.niveau" <input type="text" class="padd-right status-small-label color-class-common" name="system.niveau"
value="{{data.niveau}}" data-dtype="Number" /> value="{{data.niveau}}" data-dtype="Number" />
</span> </span>
<span class="flexrow"> <span class="flexrow">

View File

@@ -18,7 +18,7 @@
<label class="generic-label">Mode </label> <label class="generic-label">Mode </label>
<select class="status-small-label color-class-common" type="text" name="system.mode" <select class="status-small-label color-class-common" type="text" name="system.mode"
value="{{data.mode}}" data-dtype="string"> value="{{data.mode}}" data-dtype="string">
{{@select data.mode}} {{#select data.mode}}
<option value="prononcee">Prononcée</option> <option value="prononcee">Prononcée</option>
<option value="inscrite">Inscrite</option> <option value="inscrite">Inscrite</option>
{{/select}} {{/select}}

View File

@@ -1,6 +1,6 @@
<span> <span>
<h3>Description</h3> <h3>Description</h3>
</span> </span>
<div class="medium-editor item-text-long-line"> <div class="editor item-text-long-line">
{{editor description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>