foundryvtt-wh4-lang-fr-fr/reference_scripts/18MeEQ0As3JvER71.js

7 lines
244 B
JavaScript
Raw Normal View History

2024-06-06 21:09:27 +02:00
let state = !this.effect.disabled;
this.effect.update({"disabled": state});
if (state)
return ui.notifications.info("EFFECT.CreatureBackInWater", {localize: true})
return ui.notifications.info("EFFECT.CreatureOutOfWater", {localize: true});