tmp
This commit is contained in:
@@ -32,7 +32,7 @@ export class CombatL5r5e extends Combat {
|
|||||||
const skillId = messageOptions.skillId
|
const skillId = messageOptions.skillId
|
||||||
? messageOptions.skillId
|
? messageOptions.skillId
|
||||||
: CONFIG.l5r5e.initiativeSkills[game.settings.get(CONFIG.l5r5e.systemName, "initiative-encounter")];
|
: 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
|
// Get score for each combatant
|
||||||
const networkActors = [];
|
const networkActors = [];
|
||||||
|
|||||||
@@ -308,7 +308,7 @@ export class DicePickerDialog extends FormApplication {
|
|||||||
name: "",
|
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 = {}) {
|
async getData(options = {}) {
|
||||||
const sheetData = await super.getData(options);
|
const sheetData = await super.getData(options);
|
||||||
|
const categories = await game.l5r5e.HelpersL5r5e.getCategoriesSkillsList(this.actor);
|
||||||
|
console.log(categories);
|
||||||
|
|
||||||
// Martial skills only
|
// Martial skills only
|
||||||
sheetData.data.skills = Array.from(CONFIG.l5r5e.skills)
|
sheetData.data.skills = Array.from(CONFIG.l5r5e.skills)
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user