[b30] radius for Track talent is inconsistent w/ description
Posted: Sun Jul 24, 2011 2:35 pm
In the description for "technique/field-control - Track", the effective radius is shown as "10 + ...". When the talent is actually activated, though, it uses a radius of "5 + ...". Which is correct? See the code here:
Code: Select all
name = "Track",
type = {"technique/field-control", 2},
require = techs_dex_req2,
points = 5,
random_ego = "utility",
cooldown = 20,
no_npc_use = true,
action = function(self, t)
local rad = math.floor(5 + self:getCun(10, true) * self:getTalentLevel(t))
self:setEffect(self.EFF_SENSE, 3 + self:getTalentLevel(t), {
range = rad,
actor = 1,
})
return true
end,
info = function(self, t)
return ([[Sense foes around you in a radius of %d for %d turns.
The radius will increase with the Cunning stat]]):format(math.floor(10 + self:getCun(10, true) * self:getTalentLevel(t)), 3 + self:getTalentLevel(t))
end,