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

17 lines
505 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
args.actor.system.characteristics.s.value += 30
args.actor.system.characteristics.t.value += 30
args.actor.system.characteristics.s.bonus += 3
args.actor.system.characteristics.t.bonus += 3
if (args.actor.system.characteristics.s.value > 100)
{
args.actor.system.characteristics.s.value = 100
args.actor.system.characteristics.s.bonus = 10
}
if (args.actor.system.characteristics.t.value > 100)
{
args.actor.system.characteristics.t.value = 100
args.actor.system.characteristics.t.bonus = 10
}