v10.6.11 #621

Merged
uberwald merged 3 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2023-02-03 08:34:07 +01:00
2 changed files with 8 additions and 8 deletions
Showing only changes of commit dc3ceb1732 - Show all commits

View File

@ -1,4 +1,4 @@
import { EffetsRencontre } from "../effets-rencontres.js"; import { EffetsRencontre } from "../tmr/effets-rencontres.js";
import { RdDItem } from "../item.js"; import { RdDItem } from "../item.js";
const tableEffets = [ const tableEffets = [

View File

@ -1,7 +1,7 @@
import { ChatUtility } from "./chat-utility.js"; import { ChatUtility } from "../chat-utility.js";
import { Poetique } from "./poetique.js"; import { Poetique } from "../poetique.js";
import { RdDDice } from "./rdd-dice.js"; import { RdDDice } from "../rdd-dice.js";
import { TMRUtility } from "./tmr-utility.js"; import { TMRUtility } from "../tmr-utility.js";
export class EffetsRencontre { export class EffetsRencontre {
@ -87,7 +87,7 @@ export class EffetsRencontre {
await EffetsRencontre.$reinsertion(dialog, context.actor, it => true); await EffetsRencontre.$reinsertion(dialog, context.actor, it => true);
} }
} }
static deplacement_aleatoire = async (dialog, context) => { static deplacement_aleatoire = async (dialog, context) => {
const oldCoord = context.actor.system.reve.tmrpos.coord; const oldCoord = context.actor.system.reve.tmrpos.coord;
const newTmr = await TMRUtility.deplaceTMRAleatoire(context.actor, oldCoord); const newTmr = await TMRUtility.deplaceTMRAleatoire(context.actor, oldCoord);
@ -113,13 +113,13 @@ export class EffetsRencontre {
if (context.rolled.isETotal) { if (context.rolled.isETotal) {
context.queues.push(await context.actor.ajouterQueue()); context.queues.push(await context.actor.ajouterQueue());
} }
ChatMessage.create({ ChatMessage.create({
whisper: ChatUtility.getWhisperRecipientsAndGMs(this.name), whisper: ChatUtility.getWhisperRecipientsAndGMs(this.name),
content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-reve-de-dragon.html`, context) content: await renderTemplate(`systems/foundryvtt-reve-de-dragon/templates/chat-resultat-reve-de-dragon.html`, context)
}); });
} }
static experience_particuliere = async (dialog, context) => { static experience_particuliere = async (dialog, context) => {
await context.actor.appliquerAjoutExperience(context) await context.actor.appliquerAjoutExperience(context)
} }