Fix for bot classes having skills they shouldn't. Please report any abnormalities.

Tweaked bot command 'itemuse' to exclude invalid dual-wield reporting
This commit is contained in:
Uleat committed 2019-12-10 20:19:43 -05:00
1 parent efd710855e
commit 1196abfda8
3 files changed
+43 -45

No files matched your search

+4
View File
@@ -8863,6 +8863,10 @@ void Bot::CalcBotStats(bool showtext) {
if(GetBotOwner()->GetLevel() != GetLevel())
SetLevel(GetBotOwner()->GetLevel());
for (int sindex = 0; sindex <= EQEmu::skills::HIGHEST_SKILL; ++sindex) {
skills[sindex] = database.GetSkillCap(GetClass(), (EQEmu::skills::SkillType)sindex, GetLevel());
}
LoadAAs();
GenerateSpecialAttacks();