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

15 lines
454 B
JavaScript
Raw Permalink Normal View History

2024-06-06 21:09:27 +02:00
let test = args.test
if (test.spell.lore.value == "fire")
{
if (test.result.overcast.usage.target?.AoE)
{
test.result.overcast.usage.target.current += test.actor.characteristics.wp.bonus
test.result.overcast.usage.target.initial += test.actor.characteristics.wp.bonus
}
if (test.result.overcast.usage.range)
{
test.result.overcast.usage.range.current *= 2
test.result.overcast.usage.range.initial *= 2
}
}