From 87b4640ff08b04e8afc0bb6141c4a67f5500c664 Mon Sep 17 00:00:00 2001 From: Natedog2012 Date: Mon, 20 Jul 2015 00:25:18 -0700 Subject: [PATCH] Fix bots from loading AAs that are too high of a level for them. --- zone/bot.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zone/bot.cpp b/zone/bot.cpp index 479fd3030..052f84973 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -1279,6 +1279,11 @@ void Bot::LoadAAs() { points = 0; AA::Rank *current = ability->first; + + if (current->level_req > GetLevel()) { + ++iter; + continue; + } while(current) { if(!CanUseAlternateAdvancementRank(current)) {