Fix lethargy + charaster race
All checks were successful
Release Creation / build (release) Successful in 43s

This commit is contained in:
2025-04-06 09:52:48 +02:00
parent bd0b734c68
commit b029aba2b6
29 changed files with 118 additions and 234 deletions

View File

@ -90,19 +90,6 @@ Hooks.once("init", function () {
setupTextEnrichers()
LethalFantasyUtils.registerHandlebarsHelpers()
// Gestion des jets de dés depuis les journaux
document.addEventListener("click", (event) => {
const anchor = event.target.closest("a.ask-roll-journal")
if (!anchor) return
event.preventDefault()
event.stopPropagation()
const type = anchor.dataset.rollType
const target = anchor.dataset.rollTarget
const title = anchor.dataset.rollTitle
const avantage = anchor.dataset.rollAvantage
applications.LethalFantasyManager.askRollForAll(type, target, title, avantage)
})
console.info("LETHAL FANTASY | System Initialized")
})
@ -126,10 +113,6 @@ function preLocalizeConfig() {
Hooks.once("ready", function () {
console.info("LETHAL FANTASY | Ready")
game.system.applicationManager = new applications.LethalFantasyManager()
if (game.user.isGM) {
//game.system.applicationManager.render(true)
}
if (!SYSTEM.DEV_MODE) {
registerWorldCount("lethalFantasy")