Rudimentary AI, plus bugfixes and tweaks - see extended

- Added hit clock bar
- Added focus regeneration when out of combat
- Tweaked stamina regen rate
- Tweaked hitclock
- Interrupting a chain of attacks costs 2 stamina
- Retreating now halves focus damage, but loses more ground
- Added angular drag to hitboxes instead of constantly resetting their
rotation
- Fixed overwriteWaypoint so that index now actually does something
- Fixed Spectrum.setMax and setMin so that the value now gets returned
to the boundaries if it's over or under