foundryvtt-wh4-lang-fr-fr/scripts/FqevMs0ukQ9WuUHl.js

9 lines
346 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
// Each time the blade is used, the GM should secretly roll a d10.
// On a 1, its poison has run dry,
// and the next time it is employed it will shatter.
if (this.item.getFlag("wfrp4e", "brittle"))
{
ChatMessage.create({content: `<strong>${this.item.name}</strong> shatters!`})
this.item.update({name : `${this.item.name} (Brisé)`})
2024-05-16 17:57:51 +02:00
}