forked from public/foundryvtt-wh4-lang-fr-fr
Update scripts
This commit is contained in:
8
scripts/E6v4YZrvFikbdXoO.js
Normal file
8
scripts/E6v4YZrvFikbdXoO.js
Normal file
@ -0,0 +1,8 @@
|
||||
const locations = [];
|
||||
|
||||
for (let [key, loc] of Object.entries(args.AP)) {
|
||||
if (loc.layers?.some(i => i.metal))
|
||||
locations.push(key);
|
||||
}
|
||||
|
||||
this.actor.status.addArmour(1, {source: this.effect, magical: true, locations})
|
Reference in New Issue
Block a user