Migrated bot spell casting chance data to the database

This commit is contained in:
Uleat
2017-02-23 19:16:36 -05:00
parent ce3fc0f2c3
commit 4e8a03f7b4
9 changed files with 11341 additions and 2947 deletions
+4
View File
@@ -369,6 +369,10 @@ int main(int argc, char** argv) {
Log.Out(Logs::General, Logs::Error, "Bot command loading FAILED");
else
Log.Out(Logs::General, Logs::Zone_Server, "%d bot commands loaded", botretval);
Log.Out(Logs::General, Logs::Zone_Server, "Loading bot spell casting chances");
if (!botdb.LoadBotSpellCastingChances())
Log.Out(Logs::General, Logs::Error, "Bot spell casting chances loading FAILED");
#endif
if(RuleB(TaskSystem, EnableTaskSystem)) {