This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
let halve;
|
||||
if (args.opposedTest.attackerTest.item?.type != "spell")
|
||||
if (args.sourceItem?.type != "spell")
|
||||
{
|
||||
halve = await foundry.applications.api.DialogV2.confirm({window : {title : this.effect.name}, content : "Diviser les dégâts par deux ? (Divise tous les dégâts sauf le feu, le froid et la magie)"})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user