I wont make a tutorial for it, but I would hope that this request board could also work for detailed tips. I've done this for my game k2h, a little similar to what you say.
I have Dodge (avoid arrows), Speed (block sword hits) and 2 resistance for spells (fire and ice).
(I understand that you might want other skills than those described below, but it is basicly the same prinicple)
1. First make sure to just copy the stat part, all of it. Search for example SPEED and copy it all on both client and server side and make sure to name them the same on both sides.
2. Now when you can add resistance points, and obviously you made it so it adds to your ResPoints when leveling, just as for the stats. When adding a point you will decrease the damage from 1 of the 3 attacks depending on which it is.
3. So now, if you want to use Speed. Find the place for attacking a player and add something similar to this:
Code:
RemoveDamage = GetPlayerSpeedd(i) / 5
Damage = Damage - RemoveDamage
I have the name Spee
dd since there are a stat called speed, but the stat is displayed as Agility in my game.
Speedd is the resistance for sword attacks. That would make it so if you have 5 ResistancePoints on Speedd, it will decrease the attack by 1 damage.
4. It aint harder than that, it might sound hard to some. But if you just search for the normal stats you will notice it aint that hard.