foundryvtt-wh4-lang-fr-fr/scripts/33PWizq5F7pkKnQT.js

4 lines
94 B
JavaScript

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