[b30] radius for Track talent is inconsistent w/ description

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

[b30] radius for Track talent is inconsistent w/ description

#1 Post by tiger_eye »

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,

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [b30] radius for Track talent is inconsistent w/ descrip

#2 Post by darkgod »

fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply