Sync
This commit is contained in:
@ -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));
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user