2024-05-16 17:57:51 +02:00
|
|
|
let lore = this.effect.name.split(" ")[2].toLowerCase();
|
2024-06-08 00:27:35 +02:00
|
|
|
if (args.item.type == "spell" && game.wfrp4e.config.magicLores[args.item.system.lore.value].toLowerCase() == lore)
|
2024-05-16 17:57:51 +02:00
|
|
|
{
|
|
|
|
args.item.system.cn.value -= 1
|
2024-06-08 01:45:05 +02:00
|
|
|
}
|