11-22-2007, 10:52 PM
After 1 hour of intense debugging and cursing, I found the problem.
I changed one line of code:
double tamerSkill = m_Tamer.Skills[SkillName.AnimalTaming].Base;
to
double tamerSkill = m_Tamer.Skills[SkillName.AnimalTaming].Value;
When I had the basevalue the algo got completely messed up. Amazing how such as small change can matter so much...
Will take effect after next reboot, then it will be A LOT harder to tame if your tamingskill is below the animal's mintameskill.
I changed one line of code:
double tamerSkill = m_Tamer.Skills[SkillName.AnimalTaming].Base;
to
double tamerSkill = m_Tamer.Skills[SkillName.AnimalTaming].Value;
When I had the basevalue the algo got completely messed up. Amazing how such as small change can matter so much...
Will take effect after next reboot, then it will be A LOT harder to tame if your tamingskill is below the animal's mintameskill.