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

4 lines
155 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
if ((args.item.type == "weapon" || args.item.system.attackType) && !args.item.isMagical )
{
args.item.system.qualities.value.push({name : "magical"})
}