foundryvtt-wh4-lang-fr-fr/scripts/I1J2m5uud84N50Lk.js

6 lines
168 B
JavaScript

if (["cast", "channelling", "pray"].includes(args.type))
{
args.abort = true;
this.script.scriptNotification("Cannot cast Spells or use Prayers");
}
else return true;