To answer your question is to first understand the game and how combat is handled by the client and the server.
So let's look at code. Well there's a function that receives a call to update things on your phone. Then it sets hp and energy your skill and stat points. So ok that's kinda normal...