created a fully fledged battle system