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
  #1  
Old 02-25-2003, 03:22 AM
TheOne
Sarnak
 
Join Date: Sep 2002
Location: Montreal, QC
Posts: 47
Default NPC Attack Dmg fix

Greets Fellow EQ addicts ! Lots of players on my server told me that the mobs really didn't hit hard enough hence why they kill everything at will ( even high level Dragons ) So I thought it would be good to have some challenge around :P so I fixed the code for NPC dammage. In attack.cpp Line 843-844 copy and paste this :

Quote:
if(mylevel >= 60) // Darogar : NPCs Over lvl. 60 hit for very high damages
basedamage = mylevel*18.0f*clmod;
else if (mylevel >= 51 && mylevel <= 60) // Darogar : NPCs between lvl. 51 and 59 hit for high damage.
basedamage = mylevel*9.50f*clmod;
else
basedamage = mylevel*6.5f*clmod; // Darogar : Original modifier was 4.0f, raised to 6.5f to match the EQlive normal damage.
The damage varries according to the level of course so a level. 60 NPC would hit a Level 60 player ( with good Defense ) for around 400s while it would hit a level.1 player in the 1200s.

I'm not a C++ expert but there is no bug... Tell me what you think guys. Here's the fixed attack.cpp ( Note : the file was taken from version 0.4.3-DR2 )

http://www.darogar.net/attack.rar

- Darogar


P.S : I have a request, think you
could change the "Newbie" title I got
for Eqemu user or something like that ? :P
I've been around for a while but I'm just starting
to post.
__________________
Good, bad ... I'm the guy with the gun.
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:42 AM.


 

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