Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2009, 09:03 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Question Avoidance changed/bugged?

After upgrading my 1129 Revision 0 to Revision 330, and the server is up and running nicely, I noticed some players with high Avoidance not getting hit. I tested it myself with custom avoidance only items I made up. Only way to fix it was to lower the ItemAvoidanceCap from 100 to 10. Is this normal that I need to do this?

Also saw some new rules. Are these correct?

Combat:BaseHitChance 54.0
Combat:HitPerLevelDiff 45

What should they be? Do they affect the avoidance issue?
Reply With Quote
  #2  
Old 02-17-2009, 09:23 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Also, how about Avoidance related AA abilities? I saw a lot of AA were fixed. Would this make a max AA'd char almost invincible?
Reply With Quote
  #3  
Old 02-17-2009, 09:37 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

If you want it to work the way it used to, you can change this line in /zone/attack.cpp:

Code:
		chancetohit -= ((bonus * chancetohit) / RuleI(Combat, ChanceToHitDivideBy));
To this (replace the above line with this line):

Code:
		chancetohit -= (bonus) / 10;
I actually do that manually every time I update my server. Otherwise it would mean a huge headache trying to rebalance everything and I just don't have the time to do that right now. I am sure you could also play with the ChanceToHitDivideBy rule and probably get things mostly back to normal. I just don't know what you would want to set that to, since the calculation just works different now.

For the new AAs to work, you will need to update your AAs table from PEQ. Otherwise, you will be missing a large number of AAs. If you haven't updated in a year or 2, you might have 100+ AAs missing that you could be using
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!

Last edited by trevius; 02-18-2009 at 05:39 AM..
Reply With Quote
  #4  
Old 02-17-2009, 09:40 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Thanks very much!
Reply With Quote
  #5  
Old 02-17-2009, 10:19 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

100% avoidance is precisely why I added RuleI(Combat, ChanceToHitDivideBy). Play with the rule some, and you won't need to change the code. The higher the number the lower the avoidance. I recommend a value of 1250-1333, but if you are using custom items you may need to go higher.
Reply With Quote
  #6  
Old 02-18-2009, 12:00 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

umm I don't see ChanceToHitDivideBy in my rules
when was this one added? I am running rev 302
Reply With Quote
  #7  
Old 02-18-2009, 12:35 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

In Rev 326. 330 is currently posted.
Reply With Quote
  #8  
Old 02-18-2009, 01:30 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

ah thanks!
Reply With Quote
Reply


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 07:13 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