Ajout de la commande /voyage et grosse MAJK de la commande /auberge

This commit is contained in:
2026-01-07 15:04:49 +01:00
parent c8119601d8
commit f525b6c07a
1329 changed files with 24138 additions and 4397 deletions

View File

@@ -1,13 +1,13 @@
if (!this.actor.has(game.i18n.localize("NAME.Daemonic")))
if (!this.actor.has(game.i18n.localize("NAME.Démoniaque")))
return
let caster = this.effect.sourceActor;
if (caster)
if (caster)
{
let wp = caster.system.characteristics.wp
if (this.actor.system.characteristics.wp.value >= wp.value)
{
this.script.scriptNotification("La cible a une Force Mentale supérieure, aucun effet")
this.script.notification("La cible a une FM supérieure, pas d'effet")
return
}
this.actor.applyBasicDamage(wp.bonus, { damageType: game.wfrp4e.config.DAMAGE_TYPE.IGNORE_ALL })