Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
5
scripts/YdiQFkm8j48Xs7gI.js
Normal file
5
scripts/YdiQFkm8j48Xs7gI.js
Normal file
@@ -0,0 +1,5 @@
|
||||
if (args.totalWoundLoss > 0 && args.opposedTest.attackerTest.result.critical && args.opposedTest.result.hitloc.value == "head") {
|
||||
let brainRot = await fromUuid("Compendium.wfrp4e-lustria.items.Item.IsNQH867Y58pZgq6");
|
||||
args.test.targets[0].createEmbeddedDocuments("Item", [brainRot], {fromEffect : this.effect.id});
|
||||
this.script.scriptMessage(`${args.test.targets[0].name} has been infected by Brain Rot`);
|
||||
}
|
||||
Reference in New Issue
Block a user