6 lines
168 B
JavaScript
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; |