Soins depuis les tokens

This commit is contained in:
2025-06-30 09:53:06 +02:00
parent 2f3ec7bab0
commit 27bc07f64a
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,7 @@
# 13.0
## 13.0.6 - Le bandage d'Illysis
- Les soins sont de nouveau disponibles depuis les tokens
## 13.0.5

View File

@@ -89,7 +89,7 @@ export class RdDTokenHud {
if (target?.actor) {
const hudSoins = { blessures: target.actor.blessuresASoigner() ?? [] };
if (hudSoins.blessures.length > 0) {
const controlIconTarget = html.find('.control-icon[data-action=combat]');
const controlIconTarget = $(html).find('.control-icon[data-action=combat]');
await RdDTokenHud._configureSubMenu(controlIconTarget,
'systems/foundryvtt-reve-de-dragon/templates/hud-actor-soins.hbs',
hudSoins,