Skip to content

Commit

Permalink
added missing LoS check for md script
Browse files Browse the repository at this point in the history
  • Loading branch information
Romain-P committed Feb 28, 2018
1 parent cd09bff commit 4ac2520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priest_disc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ac2520

Please sign in to comment.