What I would do is this.
1. When a player causes damage to another player a damage request is sent to the server.
2. I would have a bool in the players character. When the player is blocking, the bool is set to true. Otherwise, it stays false. The server grabs this information, and then calculates the proper amount of damage.
3. The server deals the damage.
|