foundryvtt-wh4-lang-fr-fr/reference_scripts/ZTE8LdRblyG4yYoE.js

8 lines
268 B
JavaScript
Raw Permalink Normal View History

if (args.test.result.castOutcome == "success")
{
// Wait till after chat card is posted
game.wfrp4e.utility.sleep(500).then(() => {
game.wfrp4e.utility.postTerror(1, this.effect.name)
game.wfrp4e.utility.postTerror(2, this.effect.name)
})
}