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

4 lines
137 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
if (args.item.type == "spell" && args.item.system.lore.value != "petty")
{
args.item.cn.value = Math.max(4, args.item.cn.value * 2)
}