Skip to content
Snippets Groups Projects
Commit 63a415f1 authored by Eric Wykoff's avatar Eric Wykoff
Browse files

projection upvalue

parent 3f8a864b
No related branches found
No related tags found
No related merge requests found
...@@ -189,7 +189,7 @@ newTalent{ ...@@ -189,7 +189,7 @@ newTalent{
m.on_die = function(self) m.on_die = function(self)
local tg = {type="ball", radius=10} local tg = {type="ball", radius=10}
self:project(tg, self.x, self.y, function(tx, ty) self:project(tg, self.x, self.y, function(tx, ty)
local target = game.level.map(tx, ty, Map.ACTOR) local target = game.level.map(tx, ty, engine.Map.ACTOR)
if target and target.ai_target.actor == self then if target and target.ai_target.actor == self then
target.ai_target.actor = self.summoner target.ai_target.actor = self.summoner
end 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