diff --git a/module/rdd-rolltables.js b/module/rdd-rolltables.js index 480b4f13..0a55b568 100644 --- a/module/rdd-rolltables.js +++ b/module/rdd-rolltables.js @@ -41,7 +41,14 @@ export class RdDRollTables { /* -------------------------------------------- */ static async getQueue(toChat = true) { - return await RdDRollTables.drawItemFromRollTable("Queues de dragon", toChat); + let queue = await RdDRollTables.drawItemFromRollTable("Queues de dragon", toChat); + if (queue.name.toLowerCase().includes('lancinant') ) { + queue = await RdDRollTables.drawItemFromRollTable("Désirs lancinants", toChat); + } + if (queue.name.toLowerCase().includes('fixe') ) { + queue = await RdDRollTables.drawItemFromRollTable("Idées fixes", toChat); + } + return queue; } /* -------------------------------------------- */