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

7 lines
244 B
JavaScript
Raw Permalink Normal View History

2024-06-06 22:07:28 +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});