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

6 lines
120 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (args.item.type == "spell")
{
args.item.cn.value -=2
if (args.item.cn.value < 0)
args.item.cn.value = 0
}