More battle formula improvements, balance, inventory paging, and stat
resetting.