2024-05-17 09:19:48 +02:00
|
|
|
let msg = `<b>${this.actor.prototypeToken.name}</b> perd 1 Blessure.<br>`
|
2024-05-16 17:57:51 +02:00
|
|
|
if (this.actor.status.wounds.value <= 1)
|
|
|
|
{
|
2024-05-17 09:19:48 +02:00
|
|
|
msg += `<b>${this.actor.prototypeToken.name}</b> tombe Inconscient.<br>`
|
2024-05-16 17:57:51 +02:00
|
|
|
await this.actor.addCondition("unconscious")
|
|
|
|
}
|
|
|
|
this.script.scriptMessage(msg)
|
|
|
|
this.actor.modifyWounds(-1)
|