Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
8
scripts/1UvL0XA1EpQtjDNn.js
Normal file
8
scripts/1UvL0XA1EpQtjDNn.js
Normal file
@@ -0,0 +1,8 @@
|
||||
let effects = this.item.effects.contents.filter(i => i.id != this.effect.id);
|
||||
|
||||
let choice = await ItemDialog.create(effects, 1, {title : this.effect.name, text: "Choisissez une Rune"});
|
||||
|
||||
if (choice[0])
|
||||
{
|
||||
choice[0].performEffectApplication();
|
||||
}
|
||||
Reference in New Issue
Block a user