New script for Avatar of Hakkar.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user