Rencontres #359

Merged
vincent.vandeme merged 1 commits from rencontres into v1.3 2021-02-03 20:58:11 +01:00
Showing only changes of commit 7318b779ec - Show all commits

View File

@ -1029,7 +1029,7 @@ export class RdDActor extends Actor {
await this.createOwnedItem(souffle); await this.createOwnedItem(souffle);
if (options.chat) { if (options.chat) {
ChatMessage.create({ ChatMessage.create({
whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name),
content: this.name + " subit un Souffle de Dragon : " + souffle.name content: this.name + " subit un Souffle de Dragon : " + souffle.name
}); });
} }
@ -1051,7 +1051,7 @@ export class RdDActor extends Actor {
await this.createOwnedItem(queue); await this.createOwnedItem(queue);
if (options.chat) { if (options.chat) {
ChatMessage.create({ ChatMessage.create({
whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name),
content: this.name + " subit une Queue de Dragon : " + queue.name content: this.name + " subit une Queue de Dragon : " + queue.name
}); });
} }
@ -1085,7 +1085,7 @@ export class RdDActor extends Actor {
} }
if (content) { if (content) {
ChatMessage.create({ ChatMessage.create({
whisper: ChatMessage.getWhisperRecipients([ "GM", game.user.name] ), whisper: ChatUtility.getWhisperRecipientsAndGMs(game.user.name),
content: content content: content
}); });
} }