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

9 lines
258 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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)