From da4e18dc3cedd501f506a1d7d67b23930aa714e2 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Sat, 22 Apr 2023 07:55:26 +0200 Subject: [PATCH] Gestion de l'empoignade --- module/rdd-empoignade.js | 6 +++--- system.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module/rdd-empoignade.js b/module/rdd-empoignade.js index d8d870f9..4bb9f43b 100644 --- a/module/rdd-empoignade.js +++ b/module/rdd-empoignade.js @@ -224,9 +224,9 @@ export class RdDEmpoignade { let emp = RdDEmpoignade.getEmpoignadeById(defender, empoignade.system.empoignadeid) await defender.deleteEmbeddedDocuments('Item', [emp._id]) - let attacker = game.actors.get(empoignade.system.empoigneurid) - emp = RdDEmpoignade.getEmpoignadeById(attacker, empoignade.system.empoignadeid) - await attacker.deleteEmbeddedDocuments('Item', [emp._id]) + //let attacker = game.actors.get(empoignade.system.empoigneurid) + //emp = RdDEmpoignade.getEmpoignadeById(attacker, empoignade.system.empoignadeid) + //await attacker.deleteEmbeddedDocuments('Item', [emp._id]) } /* -------------------------------------------- */ diff --git a/system.json b/system.json index 2e0c0a24..30adb5c9 100644 --- a/system.json +++ b/system.json @@ -1,8 +1,8 @@ { "id": "foundryvtt-reve-de-dragon", "title": "RĂªve de Dragon", - "version": "10.7.10", - "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-10.7.10.zip", + "version": "10.7.11", + "download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-10.7.11.zip", "manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v10/system.json", "compatibility": { "minimum": "10",