Page 1 of 1

[1.7.4] Corrupt Light demon seed duration

Posted: Sat Aug 06, 2022 7:30 am
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,

Re: [1.7.4] Corrupt Light demon seed duration

Posted: Mon Apr 07, 2025 9:51 pm
by Horken
Bumping this report since the bug is still present in the game.