Someone know the right calculation for MVP damage? I'm with small problemas at that... Ive tryied to many ways but never get the correct =/
int Damage = 0;
if(Info.MinAttack < Info.MaxAttack)
Damage = Nano.Rand.Next(Info.MinAttack, Info.MaxAttack);
else
Damage = Nano.Rand.Next(Info.MaxAttack, Info.MinAttack);
Damage -= Attacked.Client.Defense;
if(Attacked.Client.Reborn == 1)
{
Damage = (int)Math.Floor(Damage*.7);
}
else if(Attacked.Client.Reborn == 2)
{
Damage = (int)Math.Floor(Damage*.7);
Damage = (int)Math.Floor(Damage*.5);
}
double Tort = 0;
Tort += Attacked.Client.NTG*0.02;
Tort += Attacked.Client.RTG*0.04;
Tort += Attacked.Client.STG*0.06;
Damage = (int)Math.Floor(Damage*(1-Tort));
if(Attacked.Client.Bless > 0)
{
Damage = (int)Math.Floor(Damage * (1 - (Attacked.Client.Bless*0.01)));
}