Skip to content
Snippets Groups Projects
Commit d546303f authored by Chris Davidson's avatar Chris Davidson
Browse files

Fix Antimagic Zone and Mana Clash targeting

parent 01f95e30
No related branches found
No related tags found
1 merge request!5891.6.1 misc
......@@ -81,6 +81,7 @@ newTalent{
local tg = self:getTalentTarget(t)
local x, y, target = self:getTarget(tg)
if not x or not y then return nil end
if not self:canProject(tg, x, y) then return end
local nb = 0
self:project(tg, x, y, function(px, py)
local target = game.level.map(px, py, Map.ACTOR)
......@@ -188,7 +189,7 @@ newTalent{
local tg = self:getTalentTarget(t)
local x, y, target = self:getTarget(tg)
if not x or not y then return nil end
if not self:canProject(tg, x, y) then return end
self:project(tg, x, y, function(px, py)
local target = game.level.map(px, py, Map.ACTOR)
if not target then return end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment