forked from public/foundryvtt-wh4-lang-fr-fr
Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
@@ -6,11 +6,11 @@ if (SL >= 2)
|
||||
difficulty = "hard"
|
||||
if (SL >= 3)
|
||||
difficulty = "vhard"
|
||||
|
||||
|
||||
let test = await args.actor.setupCharacteristic("wp", {fields: {difficulty}, skipTargets: true, appendTitle : " - " + this.effect.name, context : {failure: "Gain a Stunned Condition"}})
|
||||
await test.roll();
|
||||
if (test.failed)
|
||||
|
||||
let test = await args.actor.setupCharacteristic("wp", {fields: {difficulty}, skipTargets: true, appendTitle : " - " + this.effet.name, context : {failure: "Reçoit un état Sonné"}})
|
||||
await Test.roll();
|
||||
if (Test.Échoué)
|
||||
{
|
||||
args.actor.addCondition("stunned");
|
||||
}
|
||||
Reference in New Issue
Block a user