[1.7.4] Corrupt Light demon seed duration

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
phills
Low Yeek
Posts: 7
Joined: Sun May 09, 2021 8:32 am

[1.7.4] Corrupt Light demon seed duration

#1 Post by phills »

The Corrupt Light demon seed doesn't give the duration that the tooltip says it should. At +5 it should be 10 turns, but it only lasts 5 turns.

It seems to be hardcoded to 5 in data-ashes-urkrok/talents/corruptions/demon-seeds.lua, rather than use the t.getDuration function

Is this an already recognized bug or something intended?

Code: Select all

  	if nb > 0 then
            local power = math.sqrt(nb) * 6
            self:setEffect(self.EFF_DEMON_SEED_CORRUPT_LIGHT, 5, {power=power})
        end
        self:move(self.x, self.y, true)
        game:playSoundNear(self, "talents/breath")
        return true
    end,
    
    info = function(self, t)
        return ([[Weave darkness in a radius of %d. All unlit grids contribute to your power
       	by increasing all your damage done for %d turns. Damage increase depends on the 
       	number of grids extinguished.]]): 
       	tformat(self:getTalentRadius(t), t.getDuration(self, t))
    end,

Horken
Cornac
Posts: 35
Joined: Wed Aug 19, 2020 10:53 am

Re: [1.7.4] Corrupt Light demon seed duration

#2 Post by Horken »

Bumping this report since the bug is still present in the game.

Post Reply