Fix weapon in the HUD

This commit is contained in:
LeRatierBretonnien 2024-09-01 20:39:25 +02:00
parent 8d9f09c18c
commit 3aa8c0f0af
4 changed files with 4 additions and 4 deletions

View File

@ -427,7 +427,7 @@ export class RdDEmpoignade {
name: "Empoignade en cours de " + attacker.name + ' sur ' + defender.name,
type: 'empoignade',
img: "systems/foundryvtt-reve-de-dragon/icons/entites/possession2.webp",
system: { description: "", empoignadeid: randomID(16), compteempoigne: 0, empoigneurid: attacker.id, empoigneid: defender.id, ptsemp: 0, empoigneurname: attacker.name, empoignename: defender.name }
system: { description: "", empoignadeid: foundry.utils.randomID(16), compteempoigne: 0, empoigneurid: attacker.id, empoigneid: defender.id, ptsemp: 0, empoigneurname: attacker.name, empoignename: defender.name }
},
{
temporary: true

View File

@ -230,7 +230,7 @@ export class RdDPossession {
system: {
description: "", typepossession: attacker.name,
possede: false,
possessionid: randomID(16),
possessionid: foundry.utils.randomID(16),
entite: { actorid: attacker.id },
victime: { actorid: defender.id },
compteur: 0

View File

@ -769,7 +769,7 @@ export class RdDUtility {
/* -------------------------------------------- */
static createMonnaie(name, cout, img = "", enc = 0.01) {
let piece = {
name: name, type: 'monnaie', img: img, _id: randomID(16),
name: name, type: 'monnaie', img: img, _id: foundry.utils.randomID(16),
dasystemta: {
quantite: 0,
cout: cout,

View File

@ -1374,7 +1374,7 @@ table.table-nombres-astraux tr:hover {
flex-direction: column;
position: absolute;
top: 4.6rem;
right: 3.5rem;
left: -19rem;
}
.token-hud-ext.soins {
flex-direction: column;