Victory logic, loss assessment, auto-losses

Added lots of shit here, should be working for basic battles

will add more to this tomorrow and refactor further