Compare commits
No commits in common. "3aa8c0f0affc19dfa7fd9ce725950fcf5df3b2f4" and "9d654246c227dd90b5007a3f122ac56d90839ef2" have entirely different histories.
3aa8c0f0af
...
9d654246c2
@ -110,7 +110,6 @@ export class RdDCombatManager extends Combat {
|
||||
const carac = combatant.actor.system.carac[competence.system.defaut_carac].value;
|
||||
const niveau = competence.system.niveau;
|
||||
const bonusEcaille = (armeCombat?.system.magique) ? armeCombat.system.ecaille_efficacite : 0;
|
||||
//console.log("RollInitiative", competence, carac, niveau, bonusEcaille);
|
||||
rollFormula = RdDCombatManager.formuleInitiative(2, carac, niveau, bonusEcaille);
|
||||
} else {
|
||||
ui.notifications.warn(`Votre arme ${armeCombat.name} n'a pas de compétence renseignée`);
|
||||
@ -788,7 +787,7 @@ export class RdDCombat {
|
||||
/* -------------------------------------------- */
|
||||
_prepareAttaque(competence, arme) {
|
||||
let rollData = {
|
||||
passeArme: foundry.utils.randomID(16),
|
||||
passeArme: randomID(16),
|
||||
mortalite: arme?.system.mortalite,
|
||||
competence: competence,
|
||||
surprise: this.attacker.getSurprise(true),
|
||||
|
@ -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: foundry.utils.randomID(16), compteempoigne: 0, empoigneurid: attacker.id, empoigneid: defender.id, ptsemp: 0, empoigneurname: attacker.name, empoignename: defender.name }
|
||||
system: { description: "", empoignadeid: randomID(16), compteempoigne: 0, empoigneurid: attacker.id, empoigneid: defender.id, ptsemp: 0, empoigneurname: attacker.name, empoignename: defender.name }
|
||||
},
|
||||
{
|
||||
temporary: true
|
||||
|
@ -230,7 +230,7 @@ export class RdDPossession {
|
||||
system: {
|
||||
description: "", typepossession: attacker.name,
|
||||
possede: false,
|
||||
possessionid: foundry.utils.randomID(16),
|
||||
possessionid: randomID(16),
|
||||
entite: { actorid: attacker.id },
|
||||
victime: { actorid: defender.id },
|
||||
compteur: 0
|
||||
|
@ -769,7 +769,7 @@ export class RdDUtility {
|
||||
/* -------------------------------------------- */
|
||||
static createMonnaie(name, cout, img = "", enc = 0.01) {
|
||||
let piece = {
|
||||
name: name, type: 'monnaie', img: img, _id: foundry.utils.randomID(16),
|
||||
name: name, type: 'monnaie', img: img, _id: randomID(16),
|
||||
dasystemta: {
|
||||
quantite: 0,
|
||||
cout: cout,
|
||||
|
@ -1374,7 +1374,7 @@ table.table-nombres-astraux tr:hover {
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
top: 4.6rem;
|
||||
left: -19rem;
|
||||
right: 3.5rem;
|
||||
}
|
||||
.token-hud-ext.soins {
|
||||
flex-direction: column;
|
||||
|
Loading…
x
Reference in New Issue
Block a user