overhauled the functions called to update values for players and targets. they're now using generic functions, with the unit and types passed in. this is paving the way for adding support for new placements to display at, and is better design in general. however, the initial function called is now full of excessive variable declarations and needs some cleanup to further prepare.