15 lines
562 B
JavaScript
15 lines
562 B
JavaScript
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 }))
|
|
|
|
} |