This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
|
||||
|
||||
if (!args.opposedTest.attackerTest.item?.system?.isMelee)
|
||||
if (!args.sourceItem?.system?.isMelee)
|
||||
{
|
||||
let choice = await foundry.applications.api.DialogV2.confirm({ window: { title: this.effect.name }, content: `<p><strong>${this.effect.name}</strong>: Is this a ranged or magical attack that orignates outside the Dome?</p>` })
|
||||
let choice = await foundry.applications.api.DialogV2.confirm({ window: { title: this.effect.name }, content: `<p><strong>${this.effect.name}</strong> : S'agit-il d'une attaque à distance ou magique provenant de l'extérieur du Dôme ?</p>` })
|
||||
|
||||
if (choice)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user