This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
scatter = await game.wfrp4e.tables.rollTable("scatter");
|
||||
this.script.message(scatter.result);
|
||||
|
||||
let distance = await new Roll("1d10").roll();
|
||||
|
||||
distance.toMessage(this.script.getChatData({flavor: "Distance (yds.)"}));
|
||||
|
||||
let damage = await new Roll("1d10").roll();
|
||||
damage.toMessage(this.script.getChatData({flavor: "Dégâts"}));
|
||||
this.actor.applyDamage(damage.total, {
|
||||
damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_AP,
|
||||
createMessage: this.script.getChatData()
|
||||
});
|
||||
|
||||
|
||||
this.actor.addCondition("prone");
|
||||
Reference in New Issue
Block a user