This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
let number = await new Roll("1d10").roll();
|
||||
number.toMessage(this.script.getChatData());
|
||||
|
||||
this.actor.update({"system.status.fortune.value" : parseInt(this.actor.system.status.fortune.value) + number.total})
|
||||
this.script.message(`Ajouté ${number.total} points de Fortune`, {whisper : ChatMessage.getWhisperRecipients("GM")})
|
||||
Reference in New Issue
Block a user