Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user