heyeyeyeyeyeyeyey! idea i know you have a school and game is free and also you have propably not much time... but listen. you could make something like stamina system. it will not only make fighting with bots impossible to spam but also give to it more strategic combat. the idea is that every attack will be slower than the other and to attack as fast as at the beggining you just stop moving for a moment.
what do you think? and feel free not to agree with me. this is your game and my idea needs some improments on your AI and lot of work. love your work <3