foundryvtt-wh4-lang-fr-fr/scripts/2Qi1hwLYhdE6v6Hs.js

9 lines
258 B
JavaScript

if (!["rLeg", "lLeg"].includes(this.effect.getFlag("wfrp4e", "location")))
return true;
if (args.options.dodge)
{
args.abort = true;
this.script.scriptNotification("Impossible d'Esquiver!")
}
return ["t", "int", "wp", "fel"].includes(args.characteristic)