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

Hexes are now balls, except Domination Hex

git-svn-id: http://svn.net-core.org/repos/t-engine4@1814 51575b47-30f0-44d4-a5cc-537603b46e54
parent 81ce0ef2
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ newTalent{
direct_hit = true,
requires_target = true,
action = function(self, t)
local tg = {type="hit", range=self:getTalentRange(t), talent=t}
local tg = {type="ball", range=self:getTalentRange(t), radius=2, talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:project(tg, x, y, function(tx, ty)
......@@ -58,7 +58,7 @@ newTalent{
direct_hit = true,
requires_target = true,
action = function(self, t)
local tg = {type="hit", range=self:getTalentRange(t), talent=t}
local tg = {type="ball", range=self:getTalentRange(t), radius=2, talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:project(tg, x, y, function(tx, ty)
......@@ -88,7 +88,7 @@ newTalent{
direct_hit = true,
requires_target = true,
action = function(self, t)
local tg = {type="hit", range=self:getTalentRange(t), talent=t}
local tg = {type="ball", range=self:getTalentRange(t), radius=2, talent=t}
local x, y = self:getTarget(tg)
if not x or not y then return nil end
self:project(tg, x, y, function(tx, ty)
......
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