Hello folks,
I am working on a Co-op RPG game where one client acts as the host of the game.
I managed to sync player positioning as well as predictions etc.
However I am wondering now how to sync the skill system that I have created between server and clients.
Here is a possible flow which I want to support:
1. Client1 inits the vame and acts as the server
2. Client2 connects to the server
3. Client2 request the server to cast a skill
4. The server determines whether or not Client2 can cast said skill
5. (Approved) the server adds said skill to the character's active skills and notifies all players a out the change
6. Now here is the problem, Iwant my skills to be dynamic with different cields and values, as well as the skill effects usually are triggered by an animation event (onHit for instance), how can I have the server update the clients with the skill effect applied when the server should not know about the animation event which triggers the effect application
Thanks all for reading thjs and for any answers given.