Extrait table resolution
(cherry picked from commit a11ce394ce0d5e598da61c303c0665b1eadc8513)
This commit is contained in:
@ -15,6 +15,7 @@ import { RdDActorCreatureSheet } from "./actor-creature-sheet.js";
|
||||
import { RdDActorHumanoideSheet } from "./actor-humanoide-sheet.js";
|
||||
import { RdDUtility } from "./rdd-utility.js";
|
||||
import { RdDCalendrier } from "./rdd-calendrier.js";
|
||||
import { RdDResolutionTable } from "./rdd-resolution-table.js";
|
||||
|
||||
/* -------------------------------------------- */
|
||||
/* Foundry VTT Initialization */
|
||||
@ -112,12 +113,12 @@ Hooks.once("init", async function() {
|
||||
|
||||
// Define custom Entity classes
|
||||
CONFIG.Actor.entityClass = RdDActor;
|
||||
CONFIG.RDD = {}
|
||||
CONFIG.RDD.resolutionTable = RdDUtility.buildResolutionTable();
|
||||
CONFIG.RDD.level_category = RdDUtility.getLevelCategory();
|
||||
CONFIG.RDD.carac_array = RdDUtility.getCaracArray();
|
||||
CONFIG.RDD.bonusmalus = RdDUtility.getBonusMalus();
|
||||
game.data.RdDUtility = RdDUtility;
|
||||
CONFIG.RDD = {
|
||||
resolutionTable : RdDResolutionTable.resolutionTable,
|
||||
level_category : RdDUtility.getLevelCategory(),
|
||||
carac_array : RdDUtility.getCaracArray(),
|
||||
bonusmalus : RdDUtility.getBonusMalus()
|
||||
}
|
||||
|
||||
// Register sheet application classes
|
||||
Actors.unregisterSheet("core", ActorSheet);
|
||||
|
Reference in New Issue
Block a user