View Single Post
  #12  
Old 03-18-2016, 09:15 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

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.
__________________
Reply With Quote