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

6 lines
205 B
JavaScript
Raw Permalink Normal View History

2024-06-06 22:07:28 +02:00
let {value} = this.effect.getFlag("wfrp4e-soc", "m4result") || {};
if (value === 0)
args.actor.system.status.mood.value = 0;
else if (value !== undefined)
args.actor.system.status.mood.value += value;