fix ChatMessage des queues/tetes/souffles
This commit is contained in:
parent
1632a4890b
commit
7318b779ec
@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user