Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:09 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3