HERO6 - First import

This commit is contained in:
2022-12-15 22:12:28 +01:00
parent ecef402160
commit 2f48669c85
5 changed files with 57 additions and 48 deletions

View File

@ -28,7 +28,7 @@ Hooks.once("init", async function () {
console.log(`Initializing Hero6 RPG`);
game.system.Hero6 = {
game.system.hero6 = {
Hero6Commands,
config: Hero6_CONFIG
}
@ -109,7 +109,7 @@ Hooks.on("chatMessage", (html, content, msg) => {
if (content[0] == '/') {
let regExp = /(\S+)/g;
let commands = content.match(regExp);
if (game.system.cruciblerpg.commands.processChatCommand(commands, content, msg)) {
if (game.system.hero6.commands.processChatCommand(commands, content, msg)) {
return false;
}
}