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,