tmp
This commit is contained in:
@@ -32,7 +32,7 @@ export class CombatL5r5e extends Combat {
|
||||
const skillId = messageOptions.skillId
|
||||
? messageOptions.skillId
|
||||
: CONFIG.l5r5e.initiativeSkills[game.settings.get(CONFIG.l5r5e.systemName, "initiative-encounter")];
|
||||
const skillCat = CONFIG.l5r5e.skills.get(skillId);
|
||||
const skillCat = CONFIG.l5r5e.skills.get(skillId);// TODO refacto avec les skill items
|
||||
|
||||
// Get score for each combatant
|
||||
const networkActors = [];
|
||||
|
||||
@@ -308,7 +308,7 @@ export class DicePickerDialog extends FormApplication {
|
||||
name: "",
|
||||
};
|
||||
|
||||
this.skillCatId = CONFIG.l5r5e.skills.get(skillId);
|
||||
this.skillCatId = CONFIG.l5r5e.skills.get(skillId);// TODO refacto avec les skill items
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,8 @@ export class WeaponSheetL5r5e extends ItemSheetL5r5e {
|
||||
|
||||
async getData(options = {}) {
|
||||
const sheetData = await super.getData(options);
|
||||
const categories = await game.l5r5e.HelpersL5r5e.getCategoriesSkillsList(this.actor);
|
||||
console.log(categories);
|
||||
|
||||
// Martial skills only
|
||||
sheetData.data.skills = Array.from(CONFIG.l5r5e.skills)
|
||||
|
||||
Reference in New Issue
Block a user