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

4 lines
155 B
JavaScript
Raw Normal View History

if ((args.item.type == "weapon" || args.item.system.attackType) && !args.item.isMagical )
{
args.item.system.qualities.value.push({name : "magical"})
}