mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Scripts/IcecrownCitadel: correct Rimefang's script name
This commit is contained in:
@@ -810,7 +810,7 @@ public:
|
||||
else
|
||||
{
|
||||
// The script uses a script name from database, but isn't assigned to anything.
|
||||
TC_LOG_ERROR("sql.sql", "Script named '%s' does not have a script name assigned in database.",
|
||||
TC_LOG_ERROR("sql.sql", "Script '%s' exists in the core, but the database does not assign it to any creature.",
|
||||
script->GetName().c_str());
|
||||
|
||||
// Avoid calling "delete script;" because we are currently in the script constructor
|
||||
@@ -1071,8 +1071,7 @@ void ScriptMgr::Initialize()
|
||||
if (scriptName.empty())
|
||||
continue;
|
||||
|
||||
TC_LOG_ERROR("sql.sql", "ScriptName '%s' exists in database, "
|
||||
"but no core script found!", scriptName.c_str());
|
||||
TC_LOG_ERROR("sql.sql", "Script '%s' is referenced by the database, but does not exist in the core!", scriptName.c_str());
|
||||
}
|
||||
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u C++ scripts in %u ms",
|
||||
|
||||
@@ -766,9 +766,9 @@ private:
|
||||
bool _summoned;
|
||||
};
|
||||
|
||||
struct npc_rimefang : public ScriptedAI
|
||||
struct npc_rimefang_icc : public ScriptedAI
|
||||
{
|
||||
npc_rimefang(Creature* creature) : ScriptedAI(creature), _instance(creature->GetInstanceScript()), _summoned(false)
|
||||
npc_rimefang_icc(Creature* creature) : ScriptedAI(creature), _instance(creature->GetInstanceScript()), _summoned(false)
|
||||
{
|
||||
Initialize();
|
||||
}
|
||||
@@ -1536,7 +1536,7 @@ void AddSC_boss_sindragosa()
|
||||
RegisterIcecrownCitadelCreatureAI(boss_sindragosa);
|
||||
RegisterIcecrownCitadelCreatureAI(npc_ice_tomb);
|
||||
RegisterIcecrownCitadelCreatureAI(npc_spinestalker);
|
||||
RegisterIcecrownCitadelCreatureAI(npc_rimefang);
|
||||
RegisterIcecrownCitadelCreatureAI(npc_rimefang_icc);
|
||||
RegisterIcecrownCitadelCreatureAI(npc_sindragosa_trash);
|
||||
|
||||
// Spells
|
||||
|
||||
Reference in New Issue
Block a user