Thread: Mercenaries
View Single Post
  #10  
Old 04-05-2013, 08:09 PM
Armm
Sarnak
 
Join Date: Feb 2013
Posts: 70
Default Possible bug

Is that GetSTR() supposed to be there in merc.cpp

Code:
int16 Merc::CalcAGI() {
	int16 val = _baseAGI + itembonuses.AGI + spellbonuses.AGI;
	int16 mod = aabonuses.AGI;

	int16 str = GetSTR();

	AGI = val + mod;

	if(AGI < 1)
		AGI = 1;

	return(AGI);
}
Reply With Quote