forked from public/foundryvtt-wh4-lang-fr-fr
Fix WoM effects for robes and enchanted staff
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
let lore = this.effect.name.split(" ")[2].toLowerCase();
|
||||
if (args.item.type == "spell" && args.item.system.lore.value == lore)
|
||||
if (args.item.type == "spell" && game.wfrp4e.config.magicLores[args.item.system.lore.value].toLowerCase() == lore)
|
||||
{
|
||||
args.item.system.cn.value -= 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user