Hit rating for trolls.

Re: Hit rating for trolls.

by Guybrush » Sun Feb 28, 2016 6:09 pm

Gazpy wrote:can you post me where you got that the last point is giving 3 times more than the predecesors, last time I checked the math every skill point until the sweetspot gave the same value.


https://github.com/mangoszero/server/bl ... .cpp#L2430
Code: Select all
 if (pVictim->GetTypeId() == TYPEID_PLAYER)
        { hitChance = 95.0f + skillDiff * 0.04f; }
    else if (skillDiff < -10)
        { hitChance = 93.0f + (skillDiff + 10) * 0.4f; }
    else
        { hitChance = 95.0f + skillDiff * 0.1f; }


-11 skillDiff: 93 + (-11+10)*0.4 = 92.6
-10 skillDiff: 95 + -10*0.1 = 94
Guybrush
Sergeant Major
Sergeant Major
 

Re: Hit rating for trolls.

by Gazpy » Sun Feb 28, 2016 6:39 pm

that's raw data from mangos core, yey. Ty for a well of good information on this core this server is running? or are they.
Image
Oh my good dog!
Gazpy
Sergeant Major
Sergeant Major
 

Previous

Return to Hunter