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

2 lines
138 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let wind = this.effect.name.split(" ")[2]
return args.type == "cast" && game.wfrp4e.config.magicWind[args.item.system.lore.value] == wind;