Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
10
scripts/gSDhsSB8573joL64.js
Normal file
10
scripts/gSDhsSB8573joL64.js
Normal file
@@ -0,0 +1,10 @@
|
||||
if (args.equipped) {
|
||||
const spell = await game.wfrp4e.utility.findItem("Vindictive Glare", "spell");
|
||||
const skillUUID = "Compendium.wfrp4e-core.items.Item.e3McIND4Rrsn5cE6";
|
||||
|
||||
await this.actor.addEffectItems([skillUUID, spell.uuid], this.effect, [{
|
||||
"system.advances.value": 75 - this.actor.system.characteristics.int.value
|
||||
}, {}]);
|
||||
} else {
|
||||
this.effect.deleteCreatedItems();
|
||||
}
|
||||
Reference in New Issue
Block a user