Implemented battle win conditions.