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

4 lines
109 B
JavaScript

if (args.item.type == "spell")
{
args.item.system.cn.value = Math.floor(args.item.system.cn.value / 2);
}