This commit is contained in:
LeRatierBretonnien 2023-05-25 15:13:41 +02:00
parent ecd164c3e5
commit 2c79743009
3 changed files with 5 additions and 13 deletions

View File

@ -407,7 +407,6 @@ export class YggdrasillActor extends Actor {
/* -------------------------------------------- */
getActiveEffects(matching = it => true) {
let array = Array.from(this.getEmbeddedCollection("ActiveEffect").values());
return Array.from(this.getEmbeddedCollection("ActiveEffect").values()).filter(it => matching(it));
}
/* -------------------------------------------- */

View File

@ -1,5 +1,4 @@
/* -------------------------------------------- */
//import { YggdrasillCombat } from "./yggdrasill-combat.js";
/* -------------------------------------------- */
const dureeGaldrText = { "1d5a": "Actions", "1d10t": "Tours", "1d10m": "Minutes", "1d10h": "Heures", "1d5j": "Jours"};
@ -86,11 +85,7 @@ export class YggdrasillUtility {
}
/* -------------------------------------------- */
static async specificYggRoll( nbDice ) {
return specificYggRoll(nbDice, false);
}
static async specificYggRoll( nbDice, isFurorUsage ) {
static async specificYggRoll( nbDice, isFurorUsage = false) {
let rawDices = []
let rolls = []
let maxTab = []
@ -175,7 +170,6 @@ export class YggdrasillUtility {
this.createChatWithRollMode( rollData.alias, {
content: await renderTemplate(`systems/fvtt-yggdrasill/templates/chat-generic-result.html`, rollData)
});
//myRoll.toMessage();
}
/* -------------------------------------------- */
@ -292,7 +286,6 @@ export class YggdrasillUtility {
this.createChatWithRollMode( rollData.alias, {
content: await renderTemplate(`systems/fvtt-yggdrasill/templates/chat-generic-result.html`, rollData)
});
//myRoll.toMessage();
}
/* -------------------------------------------- */

View File

@ -1,7 +1,7 @@
{
"title": "Yggdrasill",
"description": "Système non-officiel Yggdrasill (7ième Cercle) pour FoundryVTT",
"version": "10.0.4",
"version": "11.0.0",
"esmodules": [
"modules/yggdrasill-main.js"
],
@ -196,7 +196,7 @@
"socket": true,
"url": "https://www.uberwald.me/gitea/public/fvtt-yggdrasill/",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-yggdrasill/raw/branch/v10/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-yggdrasill/archive/fvtt-yggdrasill-10.0.4.zip",
"download": "https://www.uberwald.me/gitea/public/fvtt-yggdrasill/archive/fvtt-yggdrasill-11.0.0.zip",
"license": "LICENSE.txt",
"id": "fvtt-yggdrasill",
"authors": [
@ -221,7 +221,7 @@
},
"compatibility": {
"minimum": "10",
"verified": "10",
"maximum": "10"
"verified": "11",
"maximum": "11"
}
}