Talk:Health regeneration

Honey Error
Something with the honey description must be wrong. My guess would be that the are swapped. But even than it does not seem right because with R=3 it would be a debuff (setting R=2). Could someone with access to the code have a look at this? Flisch42 (talk) 10:21, 14 March 2016 (UTC)
 * I can't make heads or tails of most of this. User:Phosphorine might be able to help. Equazcion  ( talk ) 11:09, 14 Mar 2016 (UTC)

User:Flisch42 Well maybe I failed make it more clear: in the code, if the R<0(player has any life losing debuff), it firstly increased the R by 4, then if it increased the R more than 0, it would reset R to 0, next, regardless of the R, it increases the R by 2, finally it increases the RT by 2 every tick. So, when it comes to calculate the effect of honey. if R<-4, then the R would be increased by 6; if -4<=R<=0, then the R would be set to 2; if R>0, then the R would be increased by 2;


 * Thank you for the explanation. I'm not 100% sure i get it but i hope i do. This is what i would make out of it:


 * first if R < 0 then then R + 4 to a maximum of R=0;


 * regardless of the first condition R+2;


 * I really have a problem with 4<=R<=0 because R can not be greater than 4 and lower than 0. Flisch42 (talk) 15:35, 14 March 2016 (UTC)
 * User:Flisch42Just fixed it, it seems lacked a minus.