Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
12
scripts/SK8paBvnvc5YLFI1.js
Normal file
12
scripts/SK8paBvnvc5YLFI1.js
Normal file
@@ -0,0 +1,12 @@
|
||||
if (args.test.options.doombolt && !args.test.options.doomboltRolled)
|
||||
{
|
||||
args.test.options.doomboltRolled = true;
|
||||
|
||||
let test = await this.actor.setupSkill(`${game.i18n.localize("NAME.Language")} (${game.i18n.localize("SPEC.Magick")})`, {fields : {difficulty : "hard"}, context : {failure : "@Table[majormis]{Major Miscast}"}});
|
||||
await test.roll();
|
||||
|
||||
if (test.succeeded)
|
||||
{
|
||||
args.test.preData.additionalDamage = 4;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user