Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
8
scripts/OF4sSVOvHoKuPk7L.js
Normal file
8
scripts/OF4sSVOvHoKuPk7L.js
Normal file
@@ -0,0 +1,8 @@
|
||||
if (this.item.flags.burning) return
|
||||
const runesOfBurning = this.item.effects.contents.filter(e => e.name == this.effect.name)
|
||||
const ablaze = runesOfBurning.length
|
||||
args.actor.addCondition("ablaze", ablaze)
|
||||
args.extraMessages.push(
|
||||
"<strong>" + this.effect.name + "</strong>: "
|
||||
+ ablaze + " @Condition[Ablaze] Conditions")
|
||||
this.item.flags.burning = true
|
||||
Reference in New Issue
Block a user