View Single Post
  #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