Skip to content
Snippets Groups Projects
Commit ca1e164e authored by Hachem_Muche's avatar Hachem_Muche
Browse files

Throwing Knives talents range limited < 10.

parent fc0ed7c3
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ newTalent{
speed = "throwing",
proj_speed = 10,
tactical = { ATTACK = { PHYSICAL = 2 } },
range = function(self, t) return math.floor(self:combatTalentScale(t, 4, 7)) end,
range = function(self, t) return math.floor(self:combatTalentLimit(t, 10, 4.2, 7)) end,
requires_target = true,
target = function(self, t)
return {type="bolt", range=self:getTalentRange(t), selffire=false, talent=t, display={display='', particle="arrow", particle_args={tile="shockbolt/object/knife_steel"} }}
......@@ -218,7 +218,7 @@ newTalent{
range = 0,
cooldown = 10,
stamina = 30,
radius = function(self, t) return math.floor(self:combatTalentScale(t, 4, 7)) end,
radius = function(self, t) return math.floor(self:combatTalentLimit(t, 10, 4.2, 7)) end,
target = function(self, t) return {type="cone", range=0, stop_block = true, friendlyfire=false, radius=t.radius(self, t), display_line_step=false} end,
action = function(self, t)
local tg = self:getTalentTarget(t)
......
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