Add all systems effects scripts + translations
This commit is contained in:
8
reference_scripts/TwwKxFjK6TNGKbRB.js
Normal file
8
reference_scripts/TwwKxFjK6TNGKbRB.js
Normal file
@ -0,0 +1,8 @@
|
||||
this.script.scriptMessage(await this.actor.applyBasicDamage(12, {damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_AP, suppressMsg : true}))
|
||||
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Endurance"), {fields: {difficulty: "hard"}})
|
||||
await test.roll();
|
||||
if (test.failed)
|
||||
{
|
||||
this.actor.addSystemEffect("cold1")
|
||||
}
|
||||
|
Reference in New Issue
Block a user