Gestion du rollMode
affecte tous les jets d'un actor sur la table de résolution
This commit is contained in:
@ -12,6 +12,7 @@ import { Misc } from "./misc.js";
|
||||
import { RdDResolutionTable } from "./rdd-resolution-table.js";
|
||||
import { RdDDice } from "./rdd-dice.js";
|
||||
import { RdDRollTables } from "./rdd-rolltables.js";
|
||||
import { ChatUtility } from "./chat-utility.js";
|
||||
|
||||
export class RdDActor extends Actor {
|
||||
|
||||
@ -232,11 +233,10 @@ export class RdDActor extends Actor {
|
||||
+ "<br>Difficultés <strong>libre : " + rollData.diffLibre + "</strong> / conditions : " + Misc.toSignedString(rollData.diffConditions) +" / état : " + rollData.etat
|
||||
+ RdDResolutionTable.explain(rolled)
|
||||
+ "<br><strong>" + quality + "</strong>"
|
||||
+ explications + xpmsg,
|
||||
user: game.user._id,
|
||||
title: "Résultat du test"
|
||||
+ explications + xpmsg
|
||||
}
|
||||
ChatMessage.create(chatOptions);
|
||||
|
||||
ChatUtility.chatWithRollMode(chatOptions, this.name)
|
||||
|
||||
// This an attack, generate the defense message
|
||||
if (defenseMsg) {
|
||||
|
Reference in New Issue
Block a user