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

5 lines
218 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let letter = this.item.system.location.key[0]; // "l" or "r";
this.item.updateSource({"system.location.key" : letter + "Finger"})
// We want the location to be Right or Left Hand, but the key to be rFinger or lFinger