forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
8
reference_scripts/syqqBkyP5tGqZ78t.js
Normal file
8
reference_scripts/syqqBkyP5tGqZ78t.js
Normal file
@ -0,0 +1,8 @@
|
||||
this.actor.has("Immunity to Psychology")?.delete();
|
||||
|
||||
let roll = await new Roll("1d10").roll();
|
||||
|
||||
roll.toMessage(this.script.getChatData());
|
||||
|
||||
this.script.scriptNotification(`Removed Immunity to Psychology, Adding ${roll.total} Broken Conditions`)
|
||||
this.actor.addCondition("broken", roll.total, {"flags.wfrp4e.blasted-mind" : true})
|
Reference in New Issue
Block a user