Skip to content
Snippets Groups Projects
Commit e75af4f9 authored by dg's avatar dg
Browse files

Golem rushing skills provide visual feedback

git-svn-id: http://svn.net-core.org/repos/t-engine4@5671 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1b1dd195
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,12 @@ newTalent{
lx, ly, is_corner_blocked = l:step()
end
local ox, oy = self.x, self.y
self:move(tx, ty, true)
if config.settings.tome.smooth_move > 0 then
self:resetMoveAnim()
self:setMoveAnim(ox, oy, 8, 5)
end
end
-- Attack ?
......@@ -174,7 +179,12 @@ newTalent{
lx, ly, is_corner_blocked = l:step()
end
local ox, oy = self.x, self.y
self:move(tx, ty, true)
if config.settings.tome.smooth_move > 0 then
self:resetMoveAnim()
self:setMoveAnim(ox, oy, 8, 5)
end
end
-- Attack ?
......@@ -246,7 +256,12 @@ newTalent{
lx, ly, is_corner_blocked = l:step()
end
local ox, oy = self.x, self.y
self:move(tx, ty, true)
if config.settings.tome.smooth_move > 0 then
self:resetMoveAnim()
self:setMoveAnim(ox, oy, 8, 5)
end
end
if self.ai_target then self.ai_target.target = target 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