From ffa81a6568bd34adaea8564d370a5113c5f6e11a Mon Sep 17 00:00:00 2001 From: sladecraven Date: Tue, 17 Nov 2020 19:14:58 +0100 Subject: [PATCH] #3 CSS rework --- module/actor.js | 3 --- module/rdd-utility.js | 1 + system.json | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/module/actor.js b/module/actor.js index 76b83c77..12ffc4f1 100644 --- a/module/actor.js +++ b/module/actor.js @@ -232,9 +232,6 @@ export class RdDActor extends Actor { } ChatMessage.create(chatOptions); - if ( !rollData.attackerRoll) // Store it again the registry if not a defense roll - game.system.rdd.rollDataHandler[this.data._id] = rollData; - // This an attack, generate the defense message if (defenseMsg) { defenseMsg.rollData = duplicate(rollData); diff --git a/module/rdd-utility.js b/module/rdd-utility.js index d430f3c6..6adb1d16 100644 --- a/module/rdd-utility.js +++ b/module/rdd-utility.js @@ -468,6 +468,7 @@ export class RdDUtility { content: ""+myTarget.name+" doit se défendre :
" + "Encaisser !", whisper: ChatMessage.getWhisperRecipients( myTarget.name ), + attackerid: attacker.data._id, defenderid: myTarget.data._id, rollMode: true }; diff --git a/system.json b/system.json index 3a0fe650..044fb1d5 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "0.9.53", + "version": "0.9.54", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.6", "templateVersion": 46,