Nombreuses corections de scripts...

This commit is contained in:
2026-03-07 15:02:18 +01:00
parent 047933a610
commit 8862698262
47 changed files with 87 additions and 87 deletions

View File

@@ -1,7 +1,7 @@
if (args.test.result.SL < 0)
{
this.script.message(`Gain de ${Math.abs(args.test.result.SL)} Points de Corruption`, {whisper : ChatMessage.getWhisperRecipients("GM")})
if (args.Test.Échoué && this.actor.type == "character")
if (args.test.failed && this.actor.type == "character")
{
this.actor.update({"system.status.corruption.value" : parseInt(this.actor.status.corruption.value) + Math.abs(args.test.result.SL)})
}