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

8 lines
268 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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)
})
}