Please ceil or floor durations

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Tradewind_Rider
Thalore
Posts: 182
Joined: Sat Oct 05, 2019 8:55 pm

Please ceil or floor durations

#1 Post by Tradewind_Rider »

Dear Developers,

I think, this is an oversight, in a few cases, there are non-integer durations for effects,
and this causing weird things, like the effects' duration value is placed outside of its box.

Some cases that I found so far:


1., Dirty Fighting - Twist the Knife

getDuration = function(self, t) return self:combatTalentScale(t, 2, 4, "log") end,


2., Fears - Tyrant

getExtendFear = function(self, t) return self:combatTalentScale(t, 1, 4) end,


3, I am very sure, there is also a Sawbutcher talent, but i could not check the code for DLC taents maybe:

Sawmaiming - Bloodstream ?


Thanks for solving this.

Post Reply