Passage au gestionaire de combat
This commit is contained in:
@ -10,7 +10,7 @@ import { RdDUtility } from "./rdd-utility.js";
|
||||
export class RdDCombat {
|
||||
|
||||
static isActive() {
|
||||
return game.settings.get("foundryvtt-reve-de-dragon", "moteur-combat") == 'experimental';
|
||||
return true;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -70,9 +70,6 @@ export class RdDCombat {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
async onEvent(button, event) {
|
||||
if (!RdDCombat.isActive()) {
|
||||
return;
|
||||
}
|
||||
let rollData = game.system.rdd.rollDataHandler[this.attackerId];
|
||||
if (!rollData) {
|
||||
ui.notifications.warn("Action automatisée impossible, le jet de l'attaquant a été perdu (suite à un raffraichissement?)")
|
||||
|
Reference in New Issue
Block a user