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

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #18  
Old 01-23-2002, 11:12 AM
RadiationVibe
Fire Beetle
 
Join Date: Jan 2002
Posts: 8
Default

I do remember hearing something about the number being a composite of two factors, but I had forgotten about that. I believe defense is that way also. One number effects the chance of being hit and the other how much damage you take. Too bad they decided to join the two numbers.

Image,

(This isn't a question. It's a comment since you are not taking questions about your formual )

float attacker = ((this->GetLevel()/2) * ((this->GetDEX()/6)+this->GetSTR()+atkbonus+this->pp.skills[skillinuse]));
float defender = (other->GetLevel()/2) * (other->GetAC()+(pp.skills[DEFENSE]/2)+other->GetINT()+other->GetAGI());
float hitsuccess = (attacker / defender);

There is no point to dividing the level by 2. You can take that out or make it divide by 100 and the resulting hitsuccess number will still be the same. I like where you are going with this. I put some sample numbers to it and like the results. I keep thinking that Dex should have a bigger role, but I'm not sure why.
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 11:44 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