Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
@@ -2,11 +2,11 @@ let criticals = this.actor.itemTypes.critical;
|
||||
|
||||
if (criticals.length)
|
||||
{
|
||||
this.script.scriptNotification("Ne peut subir de Blessures Critiques");
|
||||
this.script.notification("Impossible de recevoir une Blessure Critique ");
|
||||
this.actor.deleteEmbeddedDocuments("Item", criticals.map(i => i.id))
|
||||
}
|
||||
|
||||
if (getProperty(args.data, "system.status.wounds.value") == 0)
|
||||
if (foundry.utils.getProperty(args.data, "system.status.wounds.value") == 0)
|
||||
{
|
||||
this.script.scriptNotification(`Endormi pour ${Math.ceil(CONFIG.Dice.randomUniform() * 10)} Rounds`)
|
||||
this.script.notification(`Endormi pendant ${Math.ceil(CONFIG.Dice.randomUniform() * 10)} tours`)
|
||||
}
|
||||
Reference in New Issue
Block a user