New script for Avatar of Hakkar.

This commit is contained in:
ratkosrb
2022-07-27 06:16:42 +03:00
parent e9b612c25e
commit 19bc922ec4
18 changed files with 553 additions and 649 deletions
+10
View File
@@ -1181,6 +1181,16 @@ void ScriptMgr::LoadScripts(ScriptMapMap& scripts, char const* tablename)
}
break;
}
case SCRIPT_COMMAND_PLAY_CUSTOM_ANIM:
{
if (tmp.playCustomAnim.animId > 3)
{
sLog.outErrorDb("Table `%s` using invalid anim id in datalong (%u) in SCRIPT_COMMAND_PLAY_CUSTOM_ANIM for script id %u",
tablename, tmp.setGoState.state, tmp.id);
continue;
}
break;
}
}
if (scripts.find(tmp.id) == scripts.end())