Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
7
scripts/XSbQKrrbjsN15Zp9.js
Normal file
7
scripts/XSbQKrrbjsN15Zp9.js
Normal file
@@ -0,0 +1,7 @@
|
||||
if (!args.messageSent)
|
||||
{
|
||||
args.messageSent = true;
|
||||
let advantage = this.item.effects.filter(i => i.name == this.effect.name).length;
|
||||
this.actor.setAdvantage(advantage)
|
||||
this.script.message(`Allies within 12 yards gain ${advantage} Advantage`)
|
||||
}
|
||||
Reference in New Issue
Block a user