Thread: Bot AC Fix
View Single Post
  #4  
Old 11-11-2010, 09:53 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Re: Double stats on bots- I found the issue and fixed it, but need to retest again tonight before submitting it all. Basically, in CalcBotStats, the item and spell bonuses were added, but then in Get[Stat]() functions, the base stat was returned, plus item and spell bonuses. I found a couple of places where the actual stat variable was used instead of Get[Stat](), which was then not adding in item and spell bonuses, so I will change those, then I think the stats will be fixed.

Possible other issues I will look into- ATK seems to be calculated differently from clients (I don't think Offense is used), and adding in stat caps (even without double stats, by WAR has like 650 STR).

Last edited by bad_captain; 11-11-2010 at 10:34 AM.. Reason: Added explanation as to how stats were doubled.
Reply With Quote