While working on the big event quests I found some time to make a change that I've been meaning to get in for a very long time.
Today's build includes a change to the way hit points are calculated when putting on and taking off armor.
The previous system would only ever add to your maximum HPs. So for example, if you were at 100 current hit points and your maximum hit points was also at 100, putting on a helmet that gave you +20 hps would result in your max going up to 120, but your current would stay at 100. This was originally designed to keep people from unequipping and then equipping armor to get healed for free, but it also wasn't fun.
So the new system is a bit smarter. If you are at 100 out of 100 hp and put on a helmet that gives 20 HPs, your will go to 120 of 120 HPs. However, the system is smart enough to know if you've taken damage. So if you are at 80 of 100 and put on a +20 hp helm, you'd change to 100 of 120.
Likewise the system also works for taking off armor. Although it will never reduce your current HPs to 0. Another example is, let's say you have 200 max HPs when wearing all of your armor and are down to 50 current HPs, so you've taken 150 damage. If you take off all of your armor, you'd be reduced to 1 hp out of 100. Putting the armor back on will give you HPs once your max HPs are above 150, since you've taken 150 damage. So putting all of that armor back on will put you back at 50 out of 200. But if you just put on a +20 hp helmet, you'd be at 1 hp out of 120 because the system knows you've taken 150 damage.
Healing and resting works the same as prior to this update.
Overall I think this is a MUCH better system and it feels really great to put on a new piece or armor and *immediately* get the benefit from wearing it in both maximum and current hit points. It's actually a pretty big change to the way hit points are calculated so I wanted to be sure and test it for a few days before releasing it.
Combat has also been tweaked a bit more to make using your power attack more responsive. Previous to this update, your character would sometimes keep performing regular attacks and the power attack click would be ignored. With this change, if your character starts a regular attack when you press the power attack button, assuming the power attack is available, your character will perform it immediately after the regular attack hits.
This update also fixes a bug that sometimes caused one of the bracers to fail to equip and a world lighting bug that occurred when you entered and then left a dungeon.
