View Single Post
  #2  
Old 11-30-2005, 04:43 PM
dclark
Fire Beetle
 
Join Date: Dec 2004
Posts: 21
Default mob's need hitting power

I had the same problem you were having with my server. I make a toon lvl him to 70 and get the best gear I could find. Then I would attack mobs around my lvl and never get hit and trying fighting lvl 100 mobs and when they finaly hit me would almost one shot me.

[Error] Error in Client::acmod(): Agility: 499, Level: 65

This error has nothing to do with it. It just means that your agility to over the cap and it can't calculate the AC for the left over agility. The reason the mobs can't hit you is because their stats are too low. Use the command #showstats on one. You will proubly see their stats at 70 exept for INT witch should be 105, but that doesn't madder in change to hit calcs. Stats are a important factor in the change to hit calcs so if your wearing top end gear your stats will be far over the mob's. I put this in the code in npc.cpp

if(STR < 255 && level >= 70)
STR = 255;
if(STR < 200 && level >= 65)
STR = 200;
if(STR < 180 && level >= 60)
STR = 180;
if(STR < 150 && level >= 51)
STR = 150;
if(STR < 120 && level >= 41)
STR =120;
if(STR < 105 && level >= 31)
STR =105;
if(STR < 95 && level >= 21)
STR = 95;
if(STR < 85 && level >= 11)
STR = 85;
if(STR < 75)
STR = 75;

A simple code kind of long, but hey it works. I did the same for all the stats int and wis I think were a little different. The second problem is since PoP, armor now has avoidance. This makes hitting you much harder so unless you find a way to add accuracy to a mob's change to hit they will still have a harder time to hit than you.
Reply With Quote