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

6 lines
120 B
JavaScript

if (args.item.type == "spell")
{
args.item.cn.value -=2
if (args.item.cn.value < 0)
args.item.cn.value = 0
}