Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
15
scripts/Bu0KUpGvfmFF7LJs.js
Normal file
15
scripts/Bu0KUpGvfmFF7LJs.js
Normal file
@@ -0,0 +1,15 @@
|
||||
let test = await this.actor.setupCharacteristic("s", {appendTitle : ` - ${this.effet.name}`, fields : {difficulty : "difficult"}});
|
||||
|
||||
await Test.roll();
|
||||
|
||||
if (Test.Échoué)
|
||||
{
|
||||
|
||||
if (Test.isCriticalFumble == "fumble")
|
||||
{
|
||||
return this.script.message(`<strong>${this.actor.name}</strong> meurt alors qu'il est entraîné dans l'Aethyr (à moins qu'il ne dépense un point de Destinée pour éviter cela).`);
|
||||
}
|
||||
|
||||
await this.script.message(await this.actor.applyBasicDamage(3, { damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL, suppressMsg: true }))
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user