Issue Information
-
#003325
-
0 - None Assigned
-
Done
Issue Confirmations
-
Yes (0)No (0)
Originally posted by Inkfish
http://www.eathena.w...er&showbug=3325
Even if the val is 0, it'll be capped to 1. so, if some equipment says "no hp regen", it won't really block it. You 'll still gain 1 hp per sec
is that intended?
This post has been edited by Inkfish: Jul 1 2009, 10:58 AM
http://www.eathena.w...er&showbug=3325
CODE
regen->hp = cap_value(val, 1, SHRT_MAX);
Even if the val is 0, it'll be capped to 1. so, if some equipment says "no hp regen", it won't really block it. You 'll still gain 1 hp per sec
is that intended?
This post has been edited by Inkfish: Jul 1 2009, 10:58 AM