AC bonus handling error with high AGI
I'd recreated a friend's L70 ranger for him, as best I could, gear as good as or equivalent to OOW, some tier2 stuff.
After a while, I noticed this coming up in the error log files:
[07.02. - 00:47:55] Error in Client::acmod(): Agility: 330, Level: 70
He'd bought the PoP planar power AAs, and pushed the caps to 330.
I dug into the source a bit for the AC handling and found there aren't any values to handle above 300 AGI.
client_mods.cpp, line 558:
} else if(agility <= 300) {
having 330, it dumps out to line 717:
LogFile->write(EQEMuLog::Error, "Error in Client::acmod(): Agility: %i, Level: %i",agility,level);
Return 0;
I just modified it and recompiled so it handles the higher AGI value, and now returns 65 (line 714). I can't remember if any buffs push it beyond 330.
I seem to remember you could be pushing 400 with DoD AAs....
|