Ok, I changed it to
attack.cpp
Code:
if (attacker->IsNPC()) {
if (GetLevel() <= 29) {
hitBonus += (attacker->CastToNPC()->GetAccuracyRating() / 15.0f); //Modifier from database
}
if (GetLevel() >= 30) {
hitBonus += (attacker->CastToNPC()->GetAccuracyRating() / 10.0f); //Modifier from database
}
}
Seems to be working a little better, I am going to do some more extensive tweaking on it tonight after players log. My test box is busted lol.
At 1st I thought I broke it but then realized some information doesn't show up in gmsay vs logs. On debug 3, Hit roll ##.## shows up in logs but no gmsay. After realizing that it seems to be doing pretty good. More info to follow.