This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
let corruption = await new Roll("1d10").roll();
|
||||
corruption.toMessage(this.script.getChatData());
|
||||
|
||||
this.actor.addCondition("stunned", corruption.total);
|
||||
|
||||
this.actor.update({"system.status.corruption.value" : parseInt(this.actor.system.status.corruption.value) + corruption.total});
|
||||
this.script.notification("Corruption ajoutée");
|
||||
Reference in New Issue
Block a user