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

4 lines
137 B
JavaScript
Raw Permalink Normal View History

if (args.item.type == "spell" && args.item.system.lore.value != "petty")
{
args.item.cn.value = Math.max(4, args.item.cn.value * 2)
}