Fixes perks

This commit is contained in:
2022-12-28 00:25:00 +01:00
parent 55a2d3f4d4
commit 5f36a58805
7 changed files with 65 additions and 29 deletions

View File

@@ -30,6 +30,11 @@ export const DARKSTARS_CONFIG = {
"slug": "Slug throwers",
"energy": "Energy"
},
perktypes: {
"normal": "Normal",
"advanced": "Advanced",
"role": "Role"
},
range: {
"1": "Close",
"2": "Short",

View File

@@ -50,22 +50,6 @@ export class DarkStarsUtility {
/*-------------------------------------------- */
static gameSettings() {
/*game.settings.register("fvtt-dark-stars", "dice-color-skill", {
name: "Dice color for skills",
hint: "Set the dice color for skills",
scope: "world",
config: true,
requiresReload: true ,
default: "#101010",
type: String
})
Hooks.on('renderSettingsConfig', (event) => {
const element = event.element[0].querySelector(`[name='fvtt-dark-stars.dice-color-skill']`)
if (!element) return
// Replace placeholder element
console.log("Element Found !!!!")
}) */
}
/*-------------------------------------------- */