View Full Version : monk ac
spider661
07-17-2008, 04:15 PM
where is the code for monk ac vs wt i have been looking for a day or so now in the code and online and cant find anything that gives a def answer to how its calculated.
im trying to make a magelo clone and the ac for monks is all off becuase they get a bonus when under 15 wt it seams and a huge loss when oven.
but i cant find anything on the amounts.
spoon
07-17-2008, 05:10 PM
Look in zone\client_mods.cpp
Here is where they calc the AC, but I don't see it either
around line 760
else {
// mitigation = (spellbonuses.AC/4) + (GetSkill(DEFENSE)/3) + ((itembonuses.AC*4)/3);
mitigation = GetSkill(DEFENSE)/3 + ((itembonuses.AC*4)/3);
if(m_pp.class_ == MONK)
mitigation += GetLevel() * 13/10; //the 13/10 might be wrong, but it is close...
}
moydock
07-17-2008, 05:37 PM
I don't think monks are affected by weight in eqemu, I could be wrong.
Congdar
07-17-2008, 05:40 PM
no bonus for being under 15... that's just regular ac, but definitely a huge loss for going over in the emu and Live. Supposed to scale up to 20 at level 60 I think. wow, 5 more allowed wt.
spider661
07-17-2008, 05:48 PM
Look in zone\client_mods.cpp
Here is where they calc the AC, but I don't see it either
around line 760
else {
// mitigation = (spellbonuses.AC/4) + (GetSkill(DEFENSE)/3) + ((itembonuses.AC*4)/3);
mitigation = GetSkill(DEFENSE)/3 + ((itembonuses.AC*4)/3);
if(m_pp.class_ == MONK)
mitigation += GetLevel() * 13/10; //the 13/10 might be wrong, but it is close...
}
ya i found that code also but i to don't see any penalty for wt.. and if you do show stats it don't do it niter even though it does show on char sheet from client.. guess thats good news for all eq emu monks lol..
also i noted a bug in the max stats calculations for anyone interested im posting my findings under bugs.
if someone knows the actual calculations for monk ac vs wt that would be nice to know so i can fix that in my code also.. i would like the show stats and the char sheet ot be on par with each other.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.