View Single Post
  #12  
Old 04-23-2003, 04:54 PM
monkboy
Fire Beetle
 
Join Date: Apr 2003
Posts: 17
Default

Speaking about AC.. I don't know if this is a bug or working as intended (tm):

My monk on my local EQEmu server currently got 1066 AC. Checking his AC value with #showstats, only returns a total of 316 raw AC points. Now, I tried to fiddle around with some of the numbers checking and changing the EQemu code. From what I can tell ( doesn't mean much =) ) it's the value that's shown with #showstats that's calculated with GetAC.. not the value showed to the player on his character information screen. The old mitigation test

if (damage > 1 && spell_id == 0xFFFF){
//Reduce Dmg based on AC
//.5 less damage at 1000 AC
double damage2=damage;
double calc1=(1000+this->GetAC())/1000+.5;
double calc2=(damage2/calc1);
damage=damage-(sint32)calc2;
}

doesn't work. If you replace the 1000 with 310 (which seem to be the "internal" AC value), you'll get a .5 reduction worth of damage.

Sorry if I ramble and this is a known issue, just wanted to give you a heads up about it =)
Reply With Quote