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

8 lines
186 B
JavaScript

if (this.item.system.weaponGroup.value == "basic")
{
let slash = this.item.system.qualities.value.find(i => i.name == "slash")
if (slash)
{
slash.value = "2A"
}
}