Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
9
scripts/fSDFCHAo97RLpwGU.js
Normal file
9
scripts/fSDFCHAo97RLpwGU.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const hitLocation = args.test.hitloc.result
|
||||
const hitLocationArmour = args.test.targets[0].armour[hitLocation]
|
||||
|
||||
if (hitLocationArmour.layers.length > 0) {
|
||||
hitLocationArmour.layers.forEach(layer => {
|
||||
layer.source.system.qualities.value = [];
|
||||
layer.impenetrable = false;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user