From 4ac2520a36075e85f0d2107ddca08ccb13d072d7 Mon Sep 17 00:00:00 2001 From: Romain Date: Wed, 28 Feb 2018 06:35:11 +0100 Subject: [PATCH] added missing LoS check for md script --- priest_disc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priest_disc.lua b/priest_disc.lua index 2965efa..17f0218 100644 --- a/priest_disc.lua +++ b/priest_disc.lua @@ -271,7 +271,7 @@ if not defined then Configuration.MASS_DISPEL.ENABLED, function(_, object, _, x, y, z) - if GetDistanceBetweenObjects(player, object) <= 30 and + if GetDistanceBetweenObjects(player, object) <= 30 and InLos(player, object) and ValidUnit(object, enemy) and CdRemains(PriestSpells.MASS_DISPEL) then if IsAoEPending() then