Fix lethargy + charaster race
All checks were successful
Release Creation / build (release) Successful in 43s
All checks were successful
Release Creation / build (release) Successful in 43s
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user