forked from public/foundryvtt-reve-de-dragon
Merge v1.5 -> v10
This commit is contained in:
@ -7,6 +7,7 @@ import { RdDItemCompetence } from "./item-competence.js";
|
||||
import { Misc } from "./misc.js";
|
||||
import { RdDCarac } from "./rdd-carac.js";
|
||||
import { RdDDice } from "./rdd-dice.js";
|
||||
import { RdDMeteo } from "./rdd-meteo.js";
|
||||
import { RdDNameGen } from "./rdd-namegen.js";
|
||||
import { RdDResolutionTable } from "./rdd-resolution-table.js";
|
||||
import { RdDRollResolutionTable } from "./rdd-roll-resolution-table.js";
|
||||
@ -34,6 +35,7 @@ export class RdDCommands {
|
||||
rddCommands.registerCommand({ path: ["/table", "souffle"], func: (content, msg, params) => RdDRollTables.getSouffle(true), descr: " Tire un Souffle de Dragon" });
|
||||
rddCommands.registerCommand({ path: ["/table", "comp"], func: (content, msg, params) => RdDRollTables.getCompetence(true), descr: "Tire une compétence au hasard" });
|
||||
rddCommands.registerCommand({ path: ["/table", "tarot"], func: (content, msg, params) => RdDRollTables.getTarot(true), descr: "Tire une carte du Tarot Draconique" });
|
||||
rddCommands.registerCommand({ path: ["/meteo"], func: (content, msg, params) => rddCommands.getMeteo(msg, params), descr: "Propose une météo marine" });
|
||||
rddCommands.registerCommand({ path: ["/nom"], func: (content, msg, params) => RdDNameGen.getName(msg, params), descr: "Génère un nom aléatoire" });
|
||||
|
||||
rddCommands.registerCommand({
|
||||
@ -398,5 +400,8 @@ export class RdDCommands {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
async getMeteo(msg, params) {
|
||||
return await RdDMeteo.getMeteo();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user