forked from public/foundryvtt-reve-de-dragon
Ajout des blessures sur encaissement
This commit is contained in:
@ -88,10 +88,7 @@ export class RdDTokenHud {
|
||||
static async addExtensionHudSoins(html, sourceActor) {
|
||||
const target = Targets.getTarget({ warn: false });
|
||||
if (target?.actor) {
|
||||
const hudSoins = {
|
||||
targetActor: target.actor,
|
||||
blessures: target.actor.blessuresASoigner() ?? []
|
||||
};
|
||||
const hudSoins = { blessures: target.actor.blessuresASoigner() ?? [] };
|
||||
if (hudSoins.blessures.length > 0) {
|
||||
// soins
|
||||
const controlIconTarget = html.find('.control-icon[data-action=combat]');
|
||||
|
Reference in New Issue
Block a user