combat system
I've added and modified some code in the attack.cpp file for EQEmu version 0.3.1. I thought some of you might be interested in it. I put in player and NPC to-hit chance code. I've also changed the formulas for determining damage for both players and NPCs. I've play tested it for several hours and it seems to be pretty close to EQ live. The code is a little sloppy, but this is my first attempt at programming in C.
I'll attach my modified attack.cpp for anybody who wants to compile it and test it out. I found that it worked best if I adjusted the NPCs' max damage to (NPClevel+1)*2.
In mysql type:
use eq
UPDATE npc_types set maxdmg=(level+1)*2;
This worked pretty well for most of the mobs up to about the mid 30's. After that they start to hit for less than on EQ live.
-Beric
|