Fix scripts !

This commit is contained in:
2026-01-29 11:43:28 +01:00
parent 0e8237c233
commit 752a6701c0
104 changed files with 195 additions and 193 deletions

View File

@@ -9,7 +9,7 @@ else if (location == "rArm")
this.script.notification("Bras Droit")
}
this.effet.updateSource({"flags.wfrp4e.location" : location});
this.effect.updateSource({"flags.wfrp4e.location" : location});
if (location)
{
@@ -29,4 +29,4 @@ let roll = await new Roll("1d10").roll()
roll.toMessage(this.script.getChatData({flavor : `Lâche ${dropped.map(i => i.name).join(", ")}!`}));
this.effet.updateSource({"duration.rounds" : roll.total})
this.effect.updateSource({"duration.rounds" : roll.total})