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

Rush now apply a small daze on hit

git-svn-id: http://svn.net-core.org/repos/t-engine4@2607 51575b47-30f0-44d4-a5cc-537603b46e54
parent 8a2c982a
No related branches found
No related tags found
No related merge requests found
......@@ -88,13 +88,17 @@ newTalent{
-- Attack ?
if math.floor(core.fov.distance(self.x, self.y, x, y)) == 1 then
self:attackTarget(target, nil, 1.2, true)
if self:attackTarget(target, nil, 1.2, true) and target:canBe("stun") then
-- Daze, no save
target:setEffect(target.EFF_DAZED, 3, {})
end
end
return true
end,
info = function(self, t)
return ([[Rushes toward your target with incredible speed. If the target is reached you get a free attack doing 120% weapon damage.
If the attack hits the target is dazed for 3 turns.
You must rush from at least 2 tiles away.]])
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