Sry with my english,
Here it is simple method for handle damage for 5165 source, couse i hve trouble with damage, all player can hit by 1.
go to Character.cs after TakeAttack method i create new method, like this :
public void ExtraDefence(ushort pDef) {
pDef = (ushort)(this.Level * 100);//<-----put every value u need
if (this.Reborns == 1) {
pDef = (ushort)(pDef + ((pDef * 30) / 100));
}
if (this.Reborns == 2) {
pDef = (ushort)(pDef + ((pDef * 60) / 100));
}
}
than... find every : ushort Def = EqStats.defense;
replace with this...
ushort Def = 0;
this.ExtraDefence(Def);
Def = (ushort)(Def + EqStats.defense);
well , at least this is help me on my server, before someone have fix this.
Note : this is just for melee attack, not finish yet if attacker by skills, u have to reduce the damage may me with that kind a trick, the idea is character have basic defense after get next lvl or rb






