View Full Version : HealthRegen params take >= 0 values only?

12-23-2010, 01:46 AM
I'm messing around making some higher level items. Part of the balancing requires giving the items negative values. I wanted to give an item a negative health regen, making a modifier that had the following settings:

StatChangeHealthRegenBase -2.0
StatChangeHealthRegenPerLevel 0.0

I've been able to give everything else negative stats, except for Health. The display (see attached image) shows a 0 value when I use this setting, and that 0 value appears to not be cosmetic: if I equip the item, the health regen stays constant.

Is it possible to make an item that will impart a negative to the player's health regen?

EDIT: Sorry, no image. I couldn't make my screen shot small enough to get in under the size limits :(

12-24-2010, 11:00 AM
Internally the health regen stat needs better precision so the value is assumed to be multiplied by 100. Basically it means that before it is used or displayed it divides by 100, so your -2 value is just really small. You want -200.

12-24-2010, 01:58 PM
Yep, I confirm that works too.