diff --git a/ScriptMgr.cpp b/ScriptMgr.cpp index cc98a12..a53a1af 100644 --- a/ScriptMgr.cpp +++ b/ScriptMgr.cpp @@ -80,26 +80,29 @@ void LoadDatabase() } -struct TSpellSummary { +struct TSpellSummary +{ uint8 Targets; // set of enum SelectTarget uint8 Effects; // set of enum SelectEffect -}extern *SpellSummary; +} extern *SpellSummary; MANGOS_DLL_EXPORT void FreeScriptLibrary() { // Free Spell Summary - delete []SpellSummary; + delete[] SpellSummary; // Free resources before library unload - for (SDScriptVec::const_iterator itr = m_scripts.begin(); itr != m_scripts.end(); ++itr) + for (SDScriptVec::const_iterator itr = m_scripts->begin(); itr != m_scripts->end(); ++itr) delete *itr; - m_scripts.clear(); + delete m_scripts; - for (std::map::iterator itr = m_scriptStorage.begin(); itr != m_scriptStorage.end(); ++itr) + for (SDScriptMap::const_iterator itr = m_scriptStorage->begin(); itr != m_scriptStorage->end(); ++itr) delete itr->second; + delete m_scriptStorage; + num_sc_scripts = 0; SD2Database.HaltDelayThread(); } @@ -139,10 +142,10 @@ void InitScriptLibrary() bar.step(); outstring_log(""); - // Resize script ids to needed ammount of assigned ScriptNames (from core) - m_scripts.resize(GetScriptIdsCount(), NULL); + // Initialize script ids to needed ammount of assigned ScriptNames (from core) + m_scripts = new SDScriptVec(GetScriptIdsCount(), NULL); - m_scriptStorage.clear(); + m_scriptStorage = new SDScriptMap(); FillSpellSummary(); @@ -151,7 +154,7 @@ void InitScriptLibrary() // Check existance scripts for all registered by core script names for (uint32 i = 1; i < GetScriptIdsCount(); ++i) { - if (!m_scripts[i]) + if (!m_scripts->at(i)) error_log("SD2: No script found for ScriptName '%s'.", GetScriptName(i)); } @@ -185,7 +188,6 @@ void DoScriptText(int32 iTextEntry, WorldObject* pSource, Unit* pTarget) } const StringTextData* pData = pSystemMgr.GetTextData(iTextEntry); - if (!pData) { error_log("SD2: DoScriptText with source entry %u (TypeId=%u, guid=%u) could not find text entry %i.", @@ -200,7 +202,18 @@ void DoScriptText(int32 iTextEntry, WorldObject* pSource, Unit* pTarget) if (pData->uiSoundId) { if (GetSoundEntriesStore()->LookupEntry(pData->uiSoundId)) - pSource->PlayDirectSound(pData->uiSoundId); + { + if (pData->uiType == CHAT_TYPE_ZONE_YELL) + pSource->GetMap()->PlayDirectSoundToMap(pData->uiSoundId, pSource->GetZoneId()); + else if (pData->uiType == CHAT_TYPE_WHISPER || pData->uiType == CHAT_TYPE_BOSS_WHISPER) + { + // An error will be displayed for the text + if (pTarget && pTarget->GetTypeId() == TYPEID_PLAYER) + pSource->PlayDirectSound(pData->uiSoundId, (Player*)pTarget); + } + else + pSource->PlayDirectSound(pData->uiSoundId); + } else error_log("SD2: DoScriptText entry %i tried to process invalid sound id %u.", iTextEntry, pData->uiSoundId); } @@ -282,7 +295,6 @@ void DoOrSimulateScriptTextForMap(int32 iTextEntry, uint32 uiCreatureEntry, Map* } const StringTextData* pData = pSystemMgr.GetTextData(iTextEntry); - if (!pData) { error_log("SD2: DoOrSimulateScriptTextForMap with source entry %u for map %u could not find text entry %i.", uiCreatureEntry, pMap->GetId(), iTextEntry); @@ -292,6 +304,12 @@ void DoOrSimulateScriptTextForMap(int32 iTextEntry, uint32 uiCreatureEntry, Map* debug_log("SD2: DoOrSimulateScriptTextForMap: text entry=%i, Sound=%u, Type=%u, Language=%u, Emote=%u", iTextEntry, pData->uiSoundId, pData->uiType, pData->uiLanguage, pData->uiEmote); + if (pData->uiType != CHAT_TYPE_ZONE_YELL) + { + error_log("SD2: DoSimulateScriptTextForMap entry %i has not supported chat type %u.", iTextEntry, pData->uiType); + return; + } + if (pData->uiSoundId) { if (GetSoundEntriesStore()->LookupEntry(pData->uiSoundId)) @@ -300,15 +318,10 @@ void DoOrSimulateScriptTextForMap(int32 iTextEntry, uint32 uiCreatureEntry, Map* error_log("SD2: DoOrSimulateScriptTextForMap entry %i tried to process invalid sound id %u.", iTextEntry, pData->uiSoundId); } - if (pData->uiType == CHAT_TYPE_ZONE_YELL) - { - if (pCreatureSource) // If provided pointer for sayer, use direct version - pMap->MonsterYellToMap(pCreatureSource->GetObjectGuid(), iTextEntry, pData->uiLanguage, pTarget); - else // Simulate yell - pMap->MonsterYellToMap(pInfo, iTextEntry, pData->uiLanguage, pTarget); - } - else - error_log("SD2: DoSimulateScriptTextForMap entry %i has not supported chat type %u.", iTextEntry, pData->uiType); + if (pCreatureSource) // If provided pointer for sayer, use direct version + pMap->MonsterYellToMap(pCreatureSource->GetObjectGuid(), iTextEntry, pData->uiLanguage, pTarget); + else // Simulate yell + pMap->MonsterYellToMap(pInfo, iTextEntry, pData->uiLanguage, pTarget); } //********************************* @@ -318,7 +331,7 @@ void Script::RegisterSelf(bool bReportError) { if (uint32 id = GetScriptId(Name.c_str())) { - m_scripts[id] = this; + m_scripts->at(id) = this; ++num_sc_scripts; } else @@ -326,7 +339,7 @@ void Script::RegisterSelf(bool bReportError) if (bReportError) error_log("SD2: Script registering but ScriptName %s is not assigned in database. Script will not be used.", Name.c_str()); - m_scriptStorage.insert(std::make_pair(Name.c_str(), this)); + m_scriptStorage->insert(std::make_pair(Name.c_str(), this)); } } @@ -345,7 +358,7 @@ bool GossipHello(Player* pPlayer, Creature* pCreature) if (!pCreature) return false; - Script* pTempScript = m_scripts[pCreature->GetScriptId()]; + Script* pTempScript = m_scripts->at(pCreature->GetScriptId()); if (!pTempScript || !pTempScript->pGossipHello) return false; @@ -361,7 +374,7 @@ bool GOGossipHello(Player* pPlayer, GameObject* pGo) if (!pGo) return false; - Script* pTempScript = m_scripts[pGo->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pGo->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pGossipHelloGO) return false; @@ -379,7 +392,7 @@ bool GossipSelect(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 if (!pCreature) return false; - Script* pTempScript = m_scripts[pCreature->GetScriptId()]; + Script* pTempScript = m_scripts->at(pCreature->GetScriptId()); if (!pTempScript || !pTempScript->pGossipSelect) return false; @@ -399,7 +412,7 @@ bool GOGossipSelect(Player* pPlayer, GameObject* pGo, uint32 uiSender, uint32 ui if (!pGo) return false; - Script* pTempScript = m_scripts[pGo->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pGo->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pGossipSelectGO) return false; @@ -417,7 +430,7 @@ bool GossipSelectWithCode(Player* pPlayer, Creature* pCreature, uint32 uiSender, if (!pCreature) return false; - Script* pTempScript = m_scripts[pCreature->GetScriptId()]; + Script* pTempScript = m_scripts->at(pCreature->GetScriptId()); if (!pTempScript || !pTempScript->pGossipSelectWithCode) return false; @@ -435,7 +448,7 @@ bool GOGossipSelectWithCode(Player* pPlayer, GameObject* pGo, uint32 uiSender, u if (!pGo) return false; - Script* pTempScript = m_scripts[pGo->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pGo->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pGossipSelectGOWithCode) return false; @@ -451,7 +464,7 @@ bool QuestAccept(Player* pPlayer, Creature* pCreature, const Quest* pQuest) if (!pCreature) return false; - Script* pTempScript = m_scripts[pCreature->GetScriptId()]; + Script* pTempScript = m_scripts->at(pCreature->GetScriptId()); if (!pTempScript || !pTempScript->pQuestAcceptNPC) return false; @@ -467,7 +480,7 @@ bool QuestRewarded(Player* pPlayer, Creature* pCreature, Quest const* pQuest) if (!pCreature) return false; - Script* pTempScript = m_scripts[pCreature->GetScriptId()]; + Script* pTempScript = m_scripts->at(pCreature->GetScriptId()); if (!pTempScript || !pTempScript->pQuestRewardedNPC) return false; @@ -480,7 +493,7 @@ bool QuestRewarded(Player* pPlayer, Creature* pCreature, Quest const* pQuest) MANGOS_DLL_EXPORT uint32 GetNPCDialogStatus(Player* pPlayer, Creature* pCreature) { - Script* pTempScript = m_scripts[pCreature->GetScriptId()]; + Script* pTempScript = m_scripts->at(pCreature->GetScriptId()); if (!pTempScript || !pTempScript->pDialogStatusNPC) return 100; @@ -496,7 +509,7 @@ uint32 GetGODialogStatus(Player* pPlayer, GameObject* pGo) if (!pGo) return false; - Script* pTempScript = m_scripts[pGo->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pGo->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pDialogStatusGO) return 100; @@ -512,7 +525,7 @@ bool ItemQuestAccept(Player* pPlayer, Item* pItem, Quest const* pQuest) if (!pItem) return false; - Script* pTempScript = m_scripts[pItem->GetProto()->ScriptId]; + Script* pTempScript = m_scripts->at(pItem->GetProto()->ScriptId); if (!pTempScript || !pTempScript->pQuestAcceptItem) return false; @@ -528,7 +541,7 @@ bool GOUse(Player* pPlayer, GameObject* pGo) if (!pGo) return false; - Script* pTempScript = m_scripts[pGo->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pGo->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pGOUse) return false; @@ -542,7 +555,7 @@ bool GOQuestAccept(Player* pPlayer, GameObject* pGo, const Quest* pQuest) if (!pGo) return false; - Script* pTempScript = m_scripts[pGo->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pGo->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pQuestAcceptGO) return false; @@ -558,7 +571,7 @@ bool GOQuestRewarded(Player* pPlayer, GameObject* pGo, Quest const* pQuest) if (!pGo) return false; - Script* pTempScript = m_scripts[pGo->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pGo->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pQuestRewardedGO) return false; @@ -571,7 +584,7 @@ bool GOQuestRewarded(Player* pPlayer, GameObject* pGo, Quest const* pQuest) MANGOS_DLL_EXPORT bool AreaTrigger(Player* pPlayer, AreaTriggerEntry const* atEntry) { - Script* pTempScript = m_scripts[GetAreaTriggerScriptId(atEntry->id)]; + Script* pTempScript = m_scripts->at(GetAreaTriggerScriptId(atEntry->id)); if (!pTempScript || !pTempScript->pAreaTrigger) return false; @@ -582,7 +595,7 @@ bool AreaTrigger(Player* pPlayer, AreaTriggerEntry const* atEntry) MANGOS_DLL_EXPORT bool ProcessEvent(uint32 uiEventId, Object* pSource, Object* pTarget, bool bIsStart) { - Script* pTempScript = m_scripts[GetEventIdScriptId(uiEventId)]; + Script* pTempScript = m_scripts->at(GetEventIdScriptId(uiEventId)); if (!pTempScript || !pTempScript->pProcessEventId) return false; @@ -597,7 +610,7 @@ CreatureAI* GetCreatureAI(Creature* pCreature) if (!pCreature) return false; - Script* pTempScript = m_scripts[pCreature->GetScriptId()]; + Script* pTempScript = m_scripts->at(pCreature->GetScriptId()); if (!pTempScript || !pTempScript->GetAI) return NULL; @@ -611,7 +624,7 @@ bool ItemUse(Player* pPlayer, Item* pItem, SpellCastTargets const& targets) if (!pItem) return false; - Script* pTempScript = m_scripts[pItem->GetProto()->ScriptId]; + Script* pTempScript = m_scripts->at(pItem->GetProto()->ScriptId); if (!pTempScript || !pTempScript->pItemUse) return false; @@ -625,7 +638,7 @@ bool EffectDummyCreature(Unit* pCaster, uint32 spellId, SpellEffectIndex effInde if (!pTarget) return false; - Script* pTempScript = m_scripts[pTarget->GetScriptId()]; + Script* pTempScript = m_scripts->at(pTarget->GetScriptId()); if (!pTempScript || !pTempScript->pEffectDummyNPC) return false; @@ -639,7 +652,7 @@ bool EffectDummyGameObject(Unit* pCaster, uint32 spellId, SpellEffectIndex effIn if (!pTarget) return false; - Script* pTempScript = m_scripts[pTarget->GetGOInfo()->ScriptId]; + Script* pTempScript = m_scripts->at(pTarget->GetGOInfo()->ScriptId); if (!pTempScript || !pTempScript->pEffectDummyGO) return false; @@ -653,7 +666,7 @@ bool EffectDummyItem(Unit* pCaster, uint32 spellId, SpellEffectIndex effIndex, I if (!pTarget) return false; - Script* pTempScript = m_scripts[pTarget->GetProto()->ScriptId]; + Script* pTempScript = m_scripts->at(pTarget->GetProto()->ScriptId); if (!pTempScript || !pTempScript->pEffectDummyItem) return false; @@ -664,7 +677,7 @@ bool EffectDummyItem(Unit* pCaster, uint32 spellId, SpellEffectIndex effIndex, I MANGOS_DLL_EXPORT bool AuraDummy(Aura const* pAura, bool bApply) { - Script* pTempScript = m_scripts[((Creature*)pAura->GetTarget())->GetScriptId()]; + Script* pTempScript = m_scripts->at(((Creature*)pAura->GetTarget())->GetScriptId()); if (!pTempScript || !pTempScript->pEffectAuraDummy) return false; @@ -675,7 +688,7 @@ bool AuraDummy(Aura const* pAura, bool bApply) MANGOS_DLL_EXPORT InstanceData* CreateInstanceData(Map* pMap) { - Script* pTempScript = m_scripts[pMap->GetScriptId()]; + Script* pTempScript = m_scripts->at(pMap->GetScriptId()); if (!pTempScript || !pTempScript->GetInstanceData) return NULL; @@ -685,8 +698,8 @@ InstanceData* CreateInstanceData(Map* pMap) Script* GetScriptByName(std::string scriptName) { - std::map::const_iterator itr = m_scriptStorage.find(scriptName); - if (itr != m_scriptStorage.end()) + SDScriptMap::const_iterator itr = m_scriptStorage->find(scriptName); + if (itr != m_scriptStorage->end()) return itr->second; else return NULL; diff --git a/scripts/northrend/ulduar/ulduar/boss_iron_council.cpp b/scripts/northrend/ulduar/ulduar/assembly_of_iron.cpp similarity index 100% rename from scripts/northrend/ulduar/ulduar/boss_iron_council.cpp rename to scripts/northrend/ulduar/ulduar/assembly_of_iron.cpp diff --git a/scripts/northrend/ulduar/ulduar/boss_leviathan.cpp b/scripts/northrend/ulduar/ulduar/boss_flame_leviathan.cpp similarity index 100% rename from scripts/northrend/ulduar/ulduar/boss_leviathan.cpp rename to scripts/northrend/ulduar/ulduar/boss_flame_leviathan.cpp diff --git a/scripts/northrend/ulduar/ulduar/boss_vezax.cpp b/scripts/northrend/ulduar/ulduar/boss_general_vezax.cpp similarity index 96% rename from scripts/northrend/ulduar/ulduar/boss_vezax.cpp rename to scripts/northrend/ulduar/ulduar/boss_general_vezax.cpp index 0d1e0b4..0365c48 100644 --- a/scripts/northrend/ulduar/ulduar/boss_vezax.cpp +++ b/scripts/northrend/ulduar/ulduar/boss_general_vezax.cpp @@ -426,4 +426,4 @@ void AddSC_boss_vezax() newscript->Name = "mob_saronite_vapor"; newscript->GetAI = &GetAI_mob_saronite_vapor; newscript->RegisterSelf(); -} \ No newline at end of file +} diff --git a/scripts/northrend/utgarde_keep/utgarde_keep/utgarde_keep.cpp b/scripts/northrend/utgarde_keep/utgarde_keep/utgarde_keep.cpp index 70f2239..767b82b 100644 --- a/scripts/northrend/utgarde_keep/utgarde_keep/utgarde_keep.cpp +++ b/scripts/northrend/utgarde_keep/utgarde_keep/utgarde_keep.cpp @@ -149,10 +149,10 @@ CreatureAI* GetAI_mob_dragonflayer_forge_master(Creature* pCreature) void AddSC_utgarde_keep() { - Script *newscript; + Script* pNewscript; - newscript = new Script; - newscript->Name = "mob_dragonflayer_forge_master"; - newscript->GetAI = &GetAI_mob_dragonflayer_forge_master; - newscript->RegisterSelf(); + pNewscript = new Script; + pNewscript->Name = "mob_dragonflayer_forge_master"; + pNewscript->GetAI = &GetAI_mob_dragonflayer_forge_master; + pNewscript->RegisterSelf(); } diff --git a/scripts/world/world_map_scripts.cpp b/scripts/world/world_map_scripts.cpp new file mode 100644 index 0000000..0d81695 --- /dev/null +++ b/scripts/world/world_map_scripts.cpp @@ -0,0 +1,154 @@ +/* Copyright (C) 2006 - 2011 ScriptDev2 + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* ScriptData +SDName: world_map_scripts +SD%Complete: 0 +SDComment: Quest support: 11538 +SDCategory: World Map Scripts +EndScriptData */ + +#include "precompiled.h" + +/* ********************************************************* + * EASTERN KINGDOMS + */ +struct MANGOS_DLL_DECL world_map_eastern_kingdoms : public ScriptedMap +{ + world_map_eastern_kingdoms(Map* pMap) : ScriptedMap(pMap) {} + + void SetData(uint32 uiType, uint32 uiData) {} +}; + +InstanceData* GetInstanceData_world_map_eastern_kingdoms(Map* pMap) +{ + return new world_map_eastern_kingdoms(pMap); +} + +/* ********************************************************* + * KALIMDOR + */ +struct MANGOS_DLL_DECL world_map_kalimdor : public ScriptedMap +{ + world_map_kalimdor(Map* pMap) : ScriptedMap(pMap) {} + + void SetData(uint32 uiType, uint32 uiData) {} +}; + +InstanceData* GetInstanceData_world_map_kalimdor(Map* pMap) +{ + return new world_map_kalimdor(pMap); +} + +/* ********************************************************* + * OUTLAND + */ + +enum +{ + NPC_EMISSARY_OF_HATE = 25003, + NPC_IRESPEAKER = 24999, + NPC_UNLEASHED_HELLION = 25002, +}; + +static const float aSpawnLocations[1][4] = +{ + {12583.019531f, -6916.194336f, 4.601806f, 6.182446f} // Emissary of Hate, guesswork +}; + +struct MANGOS_DLL_DECL world_map_outland : public ScriptedMap +{ + world_map_outland(Map* pMap) : ScriptedMap(pMap) { Initialize(); } + + uint8 m_uiEmissaryOfHate_KilledAddCount; + + void Initialize() + { + m_uiEmissaryOfHate_KilledAddCount = 0; + } + + void OnCreatureCreate(Creature* pCreature) + { + if (pCreature->GetEntry() == NPC_EMISSARY_OF_HATE) + m_mNpcEntryGuidStore[NPC_EMISSARY_OF_HATE] = pCreature->GetObjectGuid(); + } + + void OnCreatureDeath(Creature* pCreature) + { + switch (pCreature->GetEntry()) + { + case NPC_IRESPEAKER: + case NPC_UNLEASHED_HELLION: + if (!GetSingleCreatureFromStorage(NPC_EMISSARY_OF_HATE, true)) + { + ++m_uiEmissaryOfHate_KilledAddCount; + if (m_uiEmissaryOfHate_KilledAddCount == 6) + { + pCreature->SummonCreature(NPC_EMISSARY_OF_HATE, aSpawnLocations[0][0], aSpawnLocations[0][1], aSpawnLocations[0][2], aSpawnLocations[0][3], TEMPSUMMON_DEAD_DESPAWN, 0); + m_uiEmissaryOfHate_KilledAddCount = 0; + } + } + break; + } + } + + void SetData(uint32 uiType, uint32 uiData) {} +}; + +InstanceData* GetInstanceData_world_map_outland(Map* pMap) +{ + return new world_map_outland(pMap); +} + +/* ********************************************************* + * NORTHREND + */ +struct MANGOS_DLL_DECL world_map_northrend : public ScriptedMap +{ + world_map_northrend(Map* pMap) : ScriptedMap(pMap) {} + + void SetData(uint32 uiType, uint32 uiData) {} +}; + +InstanceData* GetInstanceData_world_map_northrend(Map* pMap) +{ + return new world_map_northrend(pMap); +} + +void AddSC_world_map_scripts() +{ + Script* pNewScript; + + pNewScript = new Script; + pNewScript->Name = "world_map_eastern_kingdoms"; + pNewScript->GetInstanceData = &GetInstanceData_world_map_eastern_kingdoms; + pNewScript->RegisterSelf(); + + pNewScript = new Script; + pNewScript->Name = "world_map_kalimdor"; + pNewScript->GetInstanceData = &GetInstanceData_world_map_kalimdor; + pNewScript->RegisterSelf(); + + pNewScript = new Script; + pNewScript->Name = "world_map_outland"; + pNewScript->GetInstanceData = &GetInstanceData_world_map_outland; + pNewScript->RegisterSelf(); + + pNewScript = new Script; + pNewScript->Name = "world_map_northrend"; + pNewScript->GetInstanceData = &GetInstanceData_world_map_northrend; + pNewScript->RegisterSelf(); +} diff --git a/sql/Updates/r2263_mangos.sql b/sql/Updates/r2263_mangos.sql new file mode 100644 index 0000000..2164eb5 --- /dev/null +++ b/sql/Updates/r2263_mangos.sql @@ -0,0 +1,4 @@ +UPDATE creature_template SET ScriptName='boss_general_vezax' WHERE entry=33271; +DELETE FROM scripted_event_id WHERE id=9735; +INSERT INTO scripted_event_id VALUES +(9735,'event_spell_saronite_barrier'); diff --git a/sql/Updates/r2268_mangos.sql b/sql/Updates/r2268_mangos.sql new file mode 100644 index 0000000..0188cf5 --- /dev/null +++ b/sql/Updates/r2268_mangos.sql @@ -0,0 +1,2 @@ +DELETE FROM scripted_areatrigger WHERE entry=4524; +INSERT INTO scripted_areatrigger VALUES (4524,'at_shattered_halls'); diff --git a/sql/Updates/r2268_scriptdev2.sql b/sql/Updates/r2268_scriptdev2.sql new file mode 100644 index 0000000..3ec82ad --- /dev/null +++ b/sql/Updates/r2268_scriptdev2.sql @@ -0,0 +1,5 @@ +DELETE FROM script_texts WHERE entry IN (-1540048, -1540049, -1540050); +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1540048,'Cowards! You\'ll never pull me into the shadows!',0,1,0,0,'kargath SAY_EVADE'), +(-1540049,'The Alliance dares to intrude this far into my fortress? Bring out the Honor Hold prisoners and call for the executioner! They\'ll pay with their lives for this trespass!',0,6,0,0,'kargath SAY_EXECUTE_ALLY'), +(-1540050,'It looks like we have a ranking officer among our captives...how amusing. Execute the green-skinned dog at once!',0,6,0,0,'kargath SAY_EXECUTE_HORDE'); diff --git a/sql/Updates/r2270_scriptdev2.sql b/sql/Updates/r2270_scriptdev2.sql new file mode 100644 index 0000000..95b485a --- /dev/null +++ b/sql/Updates/r2270_scriptdev2.sql @@ -0,0 +1,2 @@ +UPDATE script_texts SET content_default='Do you see NOW the power of the Darkfallen?' WHERE entry=-1631118; +UPDATE script_texts SET content_default='Perhaps... you were right... Crok.' WHERE entry=-1631139; diff --git a/sql/Updates/r2273_mangos.sql b/sql/Updates/r2273_mangos.sql new file mode 100644 index 0000000..46cdc72 --- /dev/null +++ b/sql/Updates/r2273_mangos.sql @@ -0,0 +1,6 @@ +DELETE FROM world_template WHERE map IN (0, 1, 530, 571); +INSERT INTO world_template VALUES +(0, 'world_map_eastern_kingdoms'), +(1, 'world_map_kalimdor'), +(530, 'world_map_outland'), +(571, 'world_map_northrend'); diff --git a/sql/Updates/r2277_scriptdev2.sql b/sql/Updates/r2277_scriptdev2.sql new file mode 100644 index 0000000..933e10c --- /dev/null +++ b/sql/Updates/r2277_scriptdev2.sql @@ -0,0 +1 @@ +UPDATE script_texts SET content_default='I must make the necessary preparations before the awakening ritual can begin. You must protect me!' WHERE entry=-1043001; diff --git a/sql/Updates/r2284_scriptdev2.sql b/sql/Updates/r2284_scriptdev2.sql new file mode 100644 index 0000000..fe4c2f7 --- /dev/null +++ b/sql/Updates/r2284_scriptdev2.sql @@ -0,0 +1,6 @@ +DELETE FROM script_texts WHERE entry IN (-1568082,-1568083,-1568084,-1568085); +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1568082,'%s absorbs the essence of the bear spirit!',0,2,0,0,'zuljin EMOTE_BEAR_SPIRIT'), +(-1568083,'%s absorbs the essence of the eagle spirit!',0,2,0,0,'zuljin EMOTE_EAGLE_SPIRIT'), +(-1568084,'%s absorbs the essence of the lynx spirit!',0,2,0,0,'zuljin EMOTE_LYNX_SPIRIT'), +(-1568085,'%s absorbs the essence of the dragonhawk spirit!',0,2,0,0,'zuljin EMOTE_DRAGONHAWK_SPIRIT'); \ No newline at end of file diff --git a/sql/Updates/r2286_mangos.sql b/sql/Updates/r2286_mangos.sql new file mode 100644 index 0000000..3fc8887 --- /dev/null +++ b/sql/Updates/r2286_mangos.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='' WHERE entry=18538; diff --git a/sql/Updates/r2289_mangos.sql b/sql/Updates/r2289_mangos.sql new file mode 100644 index 0000000..76dbc52 --- /dev/null +++ b/sql/Updates/r2289_mangos.sql @@ -0,0 +1,2 @@ +UPDATE creature_template SET ScriptName='npc_keeper_remulos' WHERE entry=11832; +UPDATE creature_template SET ScriptName='boss_eranikus' WHERE entry=15491; diff --git a/sql/Updates/r2289_scriptdev2.sql b/sql/Updates/r2289_scriptdev2.sql new file mode 100644 index 0000000..e147711 --- /dev/null +++ b/sql/Updates/r2289_scriptdev2.sql @@ -0,0 +1,76 @@ +DELETE FROM script_texts WHERE entry BETWEEN -1000706 AND -1000669; +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1000669,'We will locate the origin of the Nightmare through the fragments you collected, $N. From there, we will pull Eranikus through a rift in the Dream. Steel yourself, $C. We are inviting the embodiment of the Nightmare into our world.',0,0,0,0,'remulos SAY_REMULOS_INTRO_1'), +(-1000670,'To Nighthaven! Keep your army close, champion. ',0,0,0,0,'remulos SAY_REMULOS_INTRO_2'), +(-1000671,'The rift will be opened there, above the Lake Elun\'ara. Prepare yourself, $N. Eranikus entry into our world will be wrought with chaos and strife.',0,0,0,0,'remulos SAY_REMULOS_INTRO_3'), +(-1000672,'He will stop at nothing to get to Malfurion\'s physical manifistation. That must not happen... We must keep the beast occupied long enough for Tyrande to arrive.',0,0,0,0,'remulos SAY_REMULOS_INTRO_4'), +(-1000673,'Defend Nightaven, hero...',0,0,0,0,'remulos SAY_REMULOS_INTRO_5'), +(-1000674,'%s has entered our world',0,3,0,0,'eranikus EMOTE_SUMMON_ERANIKUS'), +(-1000675,'Pitful predictable mortals... You know not what you have done! The master\'s will fulfilled. The Moonglade shall be destroyed and Malfurion along with it!',0,1,0,0,'eranikus SAY_ERANIKUS_SPAWN'), +(-1000676,'Fiend! Face the might of Cenarius!',0,1,0,1,'remulos SAY_REMULOS_TAUNT_1'), +(-1000677,'%s lets loose a sinister laugh.',0,2,0,0,'eranikus EMOTE_ERANIKUS_LAUGH'), +(-1000678,'You are certanly not your father, insect. Should it interest me, I would crush you with but a swipe of my claws. Turn Shan\'do Stormrage over to me and your pitiful life will be spared along with the lives of your people.',0,1,0,0,'eranikus SAY_ERANIKUS_TAUNT_2'), +(-1000679,'Who is the predictable one, beast? Surely you did not think that we would summon you on top of Malfurion? Your redemption comes, Eranikus. You will be cleansed of this madness - this corruption.',0,1,0,1,'remulos SAY_REMULOS_TAUNT_3'), +(-1000680,'My redemption? You are bold, little one. My redemption comes by the will of my god.',0,1,0,0,'eranikus SAY_ERANIKUS_TAUNT_4'), +(-1000681,'%s roars furiously.',0,2,0,0,'eranikus EMOTE_ERANIKUS_ATTACK'), +(-1000682,'Hurry, $N! We must find protective cover!',0,0,0,0,'remulos SAY_REMULOS_DEFEND_1'), +(-1000683,'Please, champion, protect our people.',0,0,0,1,'remulos SAY_REMULOS_DEFEND_2'), +(-1000684,'Rise, servants of the Nightmare! Rise and destroy this world! Let there be no survivors...',0,1,0,0,'eranikus SAY_ERANIKUS_SHADOWS'), +(-1000685,'We will battle these fiends, together! Nighthaven\'s Defenders are also among us. They will fight to the death if asked. Now, quickly, we must drive these aberations back to the Nightmare. Destroy them all!',0,0,0,1,'remulos SAY_REMULOS_DEFEND_3'), +(-1000686,'Where is your savior? How long can you hold out against my attacks?',0,1,0,0,'eranikus SAY_ERANIKUS_ATTACK_1'), +(-1000687,'Defeated my minions? Then face me, mortals!',0,1,0,0,'eranikus SAY_ERANIKUS_ATTACK_2'), +(-1000688,'Remulos, look how easy they fall before me? You can stop this, fool. Turn the druid over to me and it will all be over...',0,1,0,0,'eranikus SAY_ERANIKUS_ATTACK_3'), +(-1000689,'Elune, hear my prayers. Grant us serenity! Watch over our fallen...',0,1,0,0,'tyrande SAY_TYRANDE_APPEAR'), +(-1000690,'Tend to the injuries of the wounded, sisters!',0,0,0,0,'tyrande SAY_TYRANDE_HEAL'), +(-1000691,'Seek absolution, Eranikus. All will be forgiven...',0,1,0,0,'tyrande SAY_TYRANDE_FORGIVEN_1'), +(-1000692,'You will be forgiven, Eranikus. Elune will always love you. Break free of the bonds that command you!',0,1,0,0,'tyrande SAY_TYRANDE_FORGIVEN_2'), +(-1000693,'The grasp of the Old Gods is unmoving. He is consumed by their dark thoughts... I... I... I cannot... cannot channel much longer... Elune aide me.',0,0,0,0,'tyrande SAY_TYRANDE_FORGIVEN_3'), +(-1000694,'IT BURNS! THE PAIN.. SEARING...',0,1,0,0,'eranikus SAY_ERANIKUS_DEFEAT_1'), +(-1000695,'WHY? Why did this happen to... to me? Where were you Tyrande? Where were you when I fell from the grace of Elune?',0,1,0,0,'eranikus SAY_ERANIKUS_DEFEAT_2'), +(-1000696,'I... I feel... I feel the touch of Elune upon my being once more... She smiles upon me... Yes... I...', 0,1,0,0,'eranikus SAY_ERANIKUS_DEFEAT_3'), +(-1000697,'%s is wholly consumed by the Light of Elune. Tranquility sets in over the Moonglade',0,2,0,0,'eranikus EMOTE_ERANIKUS_REDEEM'), +(-1000698,'%s falls to one knee.',0,2,0,0,'tyrande EMOTE_TYRANDE_KNEEL'), +(-1000699,'Praise be to Elune... Eranikus is redeemed.',0,1,0,0,'tyrande SAY_TYRANDE_REDEEMED'), +(-1000700,'For so long, I was lost... The Nightmare\'s corruption had consumed me... And now, you... all of you.. you have saved me. Released me from its grasp.',0,0,0,0,'eranikus SAY_REDEEMED_1'), +(-1000701,'But... Malfurion, Cenarius, Ysera... They still fight. They need me. I must return to the Dream at once.', 0,0,0,0,'eranikus SAY_REDEEMED_2'), +(-1000702,'My lady, I am unworthy of your prayer. Truly, you are an angel of light. Please, assist me in returning to the barrow den so that I may return to the Dream. I like Malfurion, also have a love awaiting me... I must return to her... to protect her...', 0,0,0,0,'eranikus SAY_REDEEMED_3'), +(-1000703,'And heroes... I hold that which you seek. May it once more see the evil dissolved. Remulos, see to it that our champion receives the shard of the Green Flight.',0,0,0,0,'eranikus SAY_REDEEMED_4'), +(-1000704,'It will be done, Eranikus. Be well, ancient one.',0,0,0,0,'remulos SAY_REMULOS_OUTRO_1'), +(-1000705,'Let us leave Nighthave, hero. Seek me out at the grove.',0,0,0,0,'remulos SAY_REMULOS_OUTRO_2'), +(-1000706,'Your world shall suffer an unmerciful end. The Nightmare comes for you!',0,0,0,0,'eranikus SAY_ERANIKUS_KILL'); + +DELETE FROM script_waypoint WHERE entry=11832; +INSERT INTO script_waypoint VALUES +(11832, 0, 7848.385645, -2216.356670, 470.888333, 15000, 'SAY_REMULOS_INTRO_1'), +(11832, 1, 7848.385645, -2216.356670, 470.888333, 5000, 'SAY_REMULOS_INTRO_2'), +(11832, 2, 7829.785645, -2244.836670, 463.853333, 0, ''), +(11832, 3, 7819.010742, -2304.344238, 455.956726, 0, ''), +(11832, 4, 7931.099121, -2314.350830, 473.054047, 0, ''), +(11832, 5, 7943.553223, -2324.688721, 477.676819, 0, ''), +(11832, 6, 7952.017578, -2351.135010, 485.234924, 0, ''), +(11832, 7, 7963.672852, -2412.990967, 488.953369, 0, ''), +(11832, 8, 7975.178223, -2551.602051, 490.079926, 0, ''), +(11832, 9, 7948.046875, -2570.828613, 489.750732, 0, ''), +(11832, 10, 7947.161133, -2583.396729, 490.066284, 0, ''), +(11832, 11, 7951.086426, -2596.215088, 489.831268, 0, ''), +(11832, 12, 7948.267090, -2610.062988, 492.340424, 0, ''), +(11832, 13, 7928.521973, -2625.954346, 492.447540, 14000, 'SAY_REMULOS_INTRO_3'), +(11832, 14, 7928.521973, -2625.954346, 492.447540, 12000, 'SAY_REMULOS_INTRO_4'), +(11832, 15, 7928.521973, -2625.954346, 492.447540, 5000, 'SAY_REMULOS_INTRO_5'), +(11832, 16, 7928.521973, -2625.954346, 492.447540, 13000, 'SPELL_CONJURE_RIFT'), +(11832, 17, 7928.521973, -2625.954346, 492.447540, 11000, 'SAY_ERANIKUS_SPAWN'), +(11832, 18, 7928.521973, -2625.954346, 492.447540, 5000, 'SAY_REMULOS_TAUNT_1'), +(11832, 19, 7928.521973, -2625.954346, 492.447540, 3000, 'EMOTE_ERANIKUS_LAUGH'), +(11832, 20, 7928.521973, -2625.954346, 492.447540, 10000, 'SAY_ERANIKUS_TAUNT_2'), +(11832, 21, 7928.521973, -2625.954346, 492.447540, 12000, 'SAY_REMULOS_TAUNT_3'), +(11832, 22, 7928.521973, -2625.954346, 492.447540, 6000, 'SAY_ERANIKUS_TAUNT_4'), +(11832, 23, 7928.521973, -2625.954346, 492.447540, 7000, 'EMOTE_ERANIKUS_ATTACK'), +(11832, 24, 7928.521973, -2625.954346, 492.447540, 0, 'SAY_REMULOS_DEFEND_1 - eranikus flies up'), +(11832, 25, 7948.267090, -2610.062988, 492.340424, 0, ''), +(11832, 26, 7952.318848, -2594.118408, 490.070374, 0, ''), +(11832, 27, 7913.988770, -2567.002686, 488.330566, 0, ''), +(11832, 28, 7835.454102, -2571.099121, 489.289246, 6000, 'SAY_REMULOS_DEFEND_2'), +(11832, 29, 7835.454102, -2571.099121, 489.289246, 4000, 'SAY_ERANIKUS_SHADOWS'), +(11832, 30, 7835.454102, -2571.099121, 489.289246, 0, 'SAY_REMULOS_DEFEND_3 - escort paused'), +(11832, 31, 7897.283691, -2560.652344, 487.461304, 0, ''), +(11832, 32, 7897.283691, -2560.652344, 487.461304, 0, ''); diff --git a/sql/Updates/r2298_scriptdev2.sql b/sql/Updates/r2298_scriptdev2.sql new file mode 100644 index 0000000..965fab0 --- /dev/null +++ b/sql/Updates/r2298_scriptdev2.sql @@ -0,0 +1 @@ +UPDATE script_texts SET content_default='$N is impaled!' WHERE entry=-1604030; diff --git a/sql/Updates/r2300_scriptdev2.sql b/sql/Updates/r2300_scriptdev2.sql new file mode 100644 index 0000000..cdfd62d --- /dev/null +++ b/sql/Updates/r2300_scriptdev2.sql @@ -0,0 +1 @@ +UPDATE script_texts SET type=6 WHERE entry IN (-1036000, -1036001); diff --git a/sql/Updates/r2305_scriptdev2.sql b/sql/Updates/r2305_scriptdev2.sql new file mode 100644 index 0000000..2965bfc --- /dev/null +++ b/sql/Updates/r2305_scriptdev2.sql @@ -0,0 +1 @@ +UPDATE sd2_db_version SET version='ScriptDev2 (for MaNGOS 11812+) '; diff --git a/sql/Updates/r2306_mangos.sql b/sql/Updates/r2306_mangos.sql new file mode 100644 index 0000000..fcfcff3 --- /dev/null +++ b/sql/Updates/r2306_mangos.sql @@ -0,0 +1 @@ +UPDATE gameobject_template SET ScriptName='' WHERE entry=101833; diff --git a/sql/Updates/r2307_mangos.sql b/sql/Updates/r2307_mangos.sql new file mode 100644 index 0000000..7e09bb2 --- /dev/null +++ b/sql/Updates/r2307_mangos.sql @@ -0,0 +1,2 @@ +UPDATE creature_template SET ScriptName='boss_auriaya' WHERE entry=33515; +UPDATE creature_template SET ScriptName='boss_feral_defender' WHERE entry=34035; diff --git a/sql/Updates/r2309_mangos.sql b/sql/Updates/r2309_mangos.sql new file mode 100644 index 0000000..c5227c9 --- /dev/null +++ b/sql/Updates/r2309_mangos.sql @@ -0,0 +1,2 @@ +UPDATE creature_template SET ScriptName='npc_ranshalla' WHERE entry=10300; +UPDATE gameobject_template SET ScriptName='go_elune_fire' WHERE entry IN (177417, 177404); diff --git a/sql/Updates/r2309_scriptdev2.sql b/sql/Updates/r2309_scriptdev2.sql new file mode 100644 index 0000000..8d4a935 --- /dev/null +++ b/sql/Updates/r2309_scriptdev2.sql @@ -0,0 +1,82 @@ +DELETE FROM script_texts WHERE entry BETWEEN -1000739 AND -1000707; +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1000707,'This blue light... It\'s strange. What do you think it means?',0,0,0,0,'Ranshalla SAY_ENTER_OWL_THICKET'), +(-1000708,'We\'ve found it!',0,0,0,0,'Ranshalla SAY_REACH_TORCH_1'), +(-1000709,'Please, light this while I am channeling',0,0,0,0,'Ranshalla SAY_REACH_TORCH_2'), +(-1000710,'This is the place. Let\'s light it.',0,0,0,0,'Ranshalla SAY_REACH_TORCH_3'), +(-1000711,'Let\'s find the next one.',0,0,0,0,'Ranshalla SAY_AFTER_TORCH_1'), +(-1000712,'We must continue on now.',0,0,0,0,'Ranshalla SAY_AFTER_TORCH_2'), +(-1000713,'It is time for the final step; we must activate the altar.',0,0,0,0,'Ranshalla SAY_REACH_ALTAR_1'), +(-1000714,'I will read the words carved into the stone, and you must find a way to light it.',0,0,0,0,'Ranshalla SAY_REACH_ALTAR_2'), +(-1000715,'The altar is glowing! We have done it!',0,0,0,0,'Ranshalla SAY_RANSHALLA_ALTAR_1'), +(-1000716,'What is happening? Look!',0,0,0,0,'Ranshalla SAY_RANSHALLA_ALTAR_2'), +(-1000717,'It has been many years...',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_3'), +(-1000718,'Who has disturbed the altar of the goddess?',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_4'), +(-1000719,'Please, priestesses, forgive us for our intrusion. We do not wish any harm here.',0,0,0,0,'Ranshalla SAY_RANSHALLA_ALTAR_5'), +(-1000720,'We only wish to know why the wildkin guard this area...',0,0,0,0,'Ranshalla SAY_RANSHALLA_ALTAR_6'), +(-1000721,'Enu thora\'serador. This is a sacred place.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_7'), +(-1000722,'We will show you...',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_8'), +(-1000723,'Look above you; thara dormil dorah...',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_9'), +(-1000724,'This gem once allowed direct communication with Elune, herself.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_10'), +(-1000725,'Through the gem, Elune channeled her infinite wisdom...',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_11'), +(-1000726,'Realizing that the gem needed to be protected, we turned to the goddess herself.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_12'), +(-1000727,'Soon after, we began to have visions of a creature... A creature with the feathers of an owl, but the will and might of a bear...',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_13'), +(-1000728,'It was on that day that the wildkin were given to us. Fierce guardians, the goddess assigned the wildkin to protect all of her sacred places.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_14'), +(-1000729,'Anu\'dorini Talah, Ru shallora enudoril.',0,0,0,0,'Voice of Elune SAY_VOICE_ALTAR_15'), +(-1000730,'But now, many years later, the wildkin have grown more feral, and without the guidance of the goddess, they are confused...',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_16'), +(-1000731,'Without a purpose, they wander... But many find their way back to the sacred areas that they once were sworn to protect.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_17'), +(-1000732,'Wildkin are inherently magical; this power was bestowed upon them by the goddess.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_18'), +(-1000733,'Know that wherever you might find them in the world, they are protecting something of importance, as they were entrusted to do so long ago.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_19'), +(-1000734,'Please, remember what we have shown you...',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_20'), +(-1000735,'Farewell.',0,0,0,0,'Priestess of Elune SAY_PRIESTESS_ALTAR_21'), +(-1000736,'Thank you for you help, $n. I wish you well in your adventures.',0,0,0,0,'Ranshalla SAY_QUEST_END_1'), +(-1000737,'I want to stay here and reflect on what we have seen. Please see Erelas and tell him what we have learned.',0,0,0,0,'Ranshalla SAY_QUEST_END_2'), +(-1000738,'%s begins chanting a strange spell...',0,2,0,0,'Ranshalla EMOTE_CHANT_SPELL'), +(-1000739,'Remember, I need your help to properly channel. I will ask you to aid me several times in our path, so please be ready.',0,0,0,0,'Ranshalla SAY_QUEST_START'); + +DELETE FROM script_waypoint WHERE entry=10300; +INSERT INTO script_waypoint VALUES +(10300, 1, 5728.81, -4801.15, 778.18, 0, ''), +(10300, 2, 5730.22, -4818.34, 777.11, 0, ''), +(10300, 3, 5728.12, -4835.76, 778.15, 1000, 'SAY_ENTER_OWL_THICKET'), +(10300, 4, 5718.85, -4865.62, 787.56, 0, ''), +(10300, 5, 5697.13, -4909.12, 801.53, 0, ''), +(10300, 6, 5684.20, -4913.75, 801.60, 0, ''), +(10300, 7, 5674.67, -4915.78, 802.13, 0, ''), +(10300, 8, 5665.61, -4919.22, 804.85, 0, ''), +(10300, 9, 5638.22, -4897.58, 804.97, 0, ''), +(10300, 10, 5632.67, -4892.05, 805.44, 0, 'Cavern 1 - EMOTE_CHANT_SPELL'), +(10300, 11, 5664.58, -4921.84, 804.91, 0, ''), +(10300, 12, 5684.21, -4943.81, 802.80, 0, ''), +(10300, 13, 5724.92, -4983.69, 808.25, 0, ''), +(10300, 14, 5753.39, -4990.73, 809.84, 0, ''), +(10300, 15, 5765.62, -4994.89, 809.42, 0, 'Cavern 2 - EMOTE_CHANT_SPELL'), +(10300, 16, 5724.94, -4983.58, 808.29, 0, ''), +(10300, 17, 5699.61, -4989.82, 808.03, 0, ''), +(10300, 18, 5686.80, -5012.17, 807.27, 0, ''), +(10300, 19, 5691.43, -5037.43, 807.73, 0, ''), +(10300, 20, 5694.24, -5054.64, 808.85, 0, 'Cavern 3 - EMOTE_CHANT_SPELL'), +(10300, 21, 5686.88, -5012.18, 807.23, 0, ''), +(10300, 22, 5664.94, -5001.12, 807.78, 0, ''), +(10300, 23, 5647.12, -5002.84, 807.54, 0, ''), +(10300, 24, 5629.23, -5014.88, 807.94, 0, ''), +(10300, 25, 5611.26, -5025.62, 808.36, 0, 'Cavern 4 - EMOTE_CHANT_SPELL'), +(10300, 26, 5647.13, -5002.85, 807.57, 0, ''), +(10300, 27, 5641.12, -4973.22, 809.39, 0, ''), +(10300, 28, 5622.97, -4953.58, 811.12, 0, ''), +(10300, 29, 5601.52, -4939.49, 820.77, 0, ''), +(10300, 30, 5571.87, -4936.22, 831.35, 0, ''), +(10300, 31, 5543.23, -4933.67, 838.33, 0, ''), +(10300, 32, 5520.86, -4942.05, 843.02, 0, ''), +(10300, 33, 5509.15, -4946.31, 849.36, 0, ''), +(10300, 34, 5498.45, -4950.08, 849.98, 0, ''), +(10300, 35, 5485.78, -4963.40, 850.43, 0, ''), +(10300, 36, 5467.92, -4980.67, 851.89, 0, 'Cavern 5 - EMOTE_CHANT_SPELL'), +(10300, 37, 5498.68, -4950.45, 849.96, 0, ''), +(10300, 38, 5518.68, -4921.94, 844.65, 0, ''), +(10300, 39, 5517.66, -4920.82, 845.12, 0, 'SAY_REACH_ALTAR_1'), +(10300, 40, 5518.38, -4913.47, 845.57, 0, ''), +(10300, 41, 5511.31, -4913.82, 847.17, 5000, 'light the spotlights'), +(10300, 42, 5511.31, -4913.82, 847.17, 0, 'start altar cinematic - SAY_RANSHALLA_ALTAR_2'), +(10300, 43, 5510.36, -4921.17, 846.33, 0, ''), +(10300, 44, 5517.66, -4920.82, 845.12, 0, 'escort paused'); diff --git a/sql/Updates/r2310_scriptdev2.sql b/sql/Updates/r2310_scriptdev2.sql new file mode 100644 index 0000000..4f2ed91 --- /dev/null +++ b/sql/Updates/r2310_scriptdev2.sql @@ -0,0 +1,21 @@ +DELETE FROM script_waypoint WHERE entry=11832; +INSERT INTO script_waypoint VALUES +(11832, 0, 7848.385645, -2216.356670, 470.888333, 15000, 'SAY_REMULOS_INTRO_1'), +(11832, 1, 7848.385645, -2216.356670, 470.888333, 5000, 'SAY_REMULOS_INTRO_2'), +(11832, 2, 7829.785645, -2244.836670, 463.853333, 0, ''), +(11832, 3, 7819.010742, -2304.344238, 455.956726, 0, ''), +(11832, 4, 7931.099121, -2314.350830, 473.054047, 0, ''), +(11832, 5, 7943.553223, -2324.688721, 477.676819, 0, ''), +(11832, 6, 7952.017578, -2351.135010, 485.234924, 0, ''), +(11832, 7, 7963.672852, -2412.990967, 488.953369, 0, ''), +(11832, 8, 7975.178223, -2551.602051, 490.079926, 0, ''), +(11832, 9, 7948.046875, -2570.828613, 489.750732, 0, ''), +(11832, 10, 7947.161133, -2583.396729, 490.066284, 0, ''), +(11832, 11, 7951.086426, -2596.215088, 489.831268, 0, ''), +(11832, 12, 7948.267090, -2610.062988, 492.340424, 0, ''), +(11832, 13, 7928.521973, -2625.954346, 492.447540, 0, 'escort paused - SAY_REMULOS_INTRO_3'), +(11832, 14, 7948.267090, -2610.062988, 492.340424, 0, ''), +(11832, 15, 7952.318848, -2594.118408, 490.070374, 0, ''), +(11832, 16, 7913.988770, -2567.002686, 488.330566, 0, ''), +(11832, 17, 7835.454102, -2571.099121, 489.289246, 0, 'escort paused - SAY_REMULOS_DEFEND_2'), +(11832, 18, 7897.283691, -2560.652344, 487.461304, 0, 'escort paused'); diff --git a/sql/Updates/r2313_mangos.sql b/sql/Updates/r2313_mangos.sql new file mode 100644 index 0000000..5fe0836 --- /dev/null +++ b/sql/Updates/r2313_mangos.sql @@ -0,0 +1,2 @@ +UPDATE creature_template SET ScriptName='npc_anachronos_the_ancient' WHERE entry=15381; +UPDATE gameobject_template SET ScriptName='go_crystalline_tear' WHERE entry=180633; diff --git a/sql/Updates/r2313_scriptdev2.sql b/sql/Updates/r2313_scriptdev2.sql new file mode 100644 index 0000000..406edf0 --- /dev/null +++ b/sql/Updates/r2313_scriptdev2.sql @@ -0,0 +1,33 @@ +DELETE FROM script_texts WHERE entry BETWEEN -1000770 AND -1000740; +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1000740,'We must act quickly or shall be lost!',0,0,0,1,'SAY_ANACHRONOS_INTRO_1'), +(-1000741,'My forces cannot overcome the Qiraji defenses. We will not be able to get close enough to place our precious barrier, dragon.',0,0,0,0,'SAY_FANDRAL_INTRO_2'), +(-1000742,'There is a way...',0,0,0,22,'SAY_MERITHRA_INTRO_3'), +(-1000743,'%s nods knowingly.',0,2,0,0,'EMOTE_ARYGOS_NOD'), +(-1000744,'Aye, Fandral, remember these words: Let not your grief guide your faith. These thoughts you hold... dark places you go, night elf.Absolution cannot be had through misguided vengeance.',0,0,0,1,'SAY_CAELESTRASZ_INTRO_4'), +(-1000745,'%s glances at her compatriots.',0,2,0,0,'EMOTE_MERITHRA_GLANCE'), +(-1000746,'We will push him back, Anachronos. This is wow. Uphold your end of this task. Let not your hands falter as you seal our fates behind the barrier.',0,0,0,1,'SAY_MERITHRA_INTRO_5'), +(-1000747,'Succumb to the endless dream, little ones. Let it comsume you!',0,1,0,22,'SAY_MERITHRA_ATTACK_1'), +(-1000748,'Anachronos, the diversion will give you an the young druid time enough to seal the gate. Do not falter. Now, let us see how they deal with chaotic magic.',0,0,0,1,'SAY_ARYGOS_ATTACK_2'), +(-1000749,'Let them feelt the wrath of the blue flight! May Malygos protect me!',0,1,0,22,'SAY_ARYGOS_ATTACK_3'), +(-1000750,'Do not forget sacrifices made on this day, night elf. We have all suffered immensely at the hands of these beasts.',0,0,0,1,'SAY_CAELESTRASZ_ATTACK_4'), +(-1000751,'Alexstrasza, give me the resolve to drive your enemies back.',0,1,0,22,'SAY_CAELESTRASZ_ATTACK_5'), +(-1000752,'NOW,STAGHELM! WE GO NOW! Prepare your magic!',0,0,0,22,'SAY_ANACHRONOS_SEAL_1'), +(-1000753,'It is done, dragon. Lead the way!',0,0,0,25,'SAY_FANDRAL_SEAL_2'), +(-1000754,'Stay close.',0,0,0,0,'SAY_ANACHRONOS_SEAL_3'), +(-1000755,'The sands of time will halt, but only for a moment! I will now conjure the barrier.',0,0,0,0,'SAY_ANACHRONOS_SEAL_4'), +(-1000756,'FINISH THE SPELL, STAGHELM! I CANNOT HOLD THE GLYPHS OF WARDING IN PLACE MUCH LONGER! CALL FORTH THE ROOTS!', 0,0,0,0,'SAY_ANACHRONOS_SEAL_5'), +(-1000757,'Ancient ones guide my hand... Wake from your slumber! WAKE AND SEAL THIS CURSED PLACE!',0,0,0,0, 'SAY_FANDRAL_SEAL_6'), +(-1000758,'%s falls to one knee - exhausted.',0,2,0,0,'EMOTE_FANDRAL_EXHAUSTED'), +(-1000759,'It... It is over, Lord Staghelm. We are victorious. Albeit the cost for this victory was great.',0,0,0,1,'SAY_ANACHRONOS_EPILOGUE_1'), +(-1000760,'There is but one duty that remains',0,0,0,1,'SAY_ANACHRONOS_EPILOGUE_2'), +(-1000761,'Before I leave this place, I make one final offering for you, Lord Staghelm. Should a time arise in which you must gain entry to this accursed fortress, use the scepter of the shifting sands on the sacred gong. The magic holding the barrier together will dissipate an the horrors of the Ahn\'Qiraj will be unleashed upon the world once more.',0,0,0,1,'SAY_ANACHRONOS_EPILOGUE_3'), +(-1000762,'%s hands the Scepter of the Shifting Sands to $N.',0,2,0,0,'EMOTE_ANACHRONOS_SCEPTER'), +(-1000763,'After the savagery that my people have witnessed and felt, you expect me to accept another burden, dragon? Surely you are mad.',0,0,0,1,'SAY_FANDRAL_EPILOGUE_4'), +(-1000764,'I want nothing to do with Silithus, the Qiraji and least of all, any damed dragons!',0,0,0,1,'SAY_FANDRAL_EPILOGUE_5'), +(-1000765,'%s hurls the Scepter of the Shifting Sands into the barrier, shattering it.',0,2,0,0,'EMOTE_FANDRAL_SHATTER'), +(-1000766,'Lord Staghelm, where are you going? You would shatter our bond for the sake of pride?',0,0,0,1,'SAY_ANACHRONOS_EPILOGUE_6'), +(-1000767,'My son\'s soul will find no comfort in this hollow victory, dragon! I will have him back. Though it takes a millenia. I WILL have my son back!',0,0,0,1,'SAY_FANDRAL_EPILOGUE_7'), +(-1000768,'%s shakes his head in disappointment.',0,2,0,25,'EMOTE_ANACHRONOS_DISPPOINTED'), +(-1000769,'%s kneels down to pickup the fragments of the shattered scepter.',0,2,0,0,'EMOTE_ANACHRONOS_PICKUP'), +(-1000770,'And now you know all that there is to know, mortal',0,0,0,0,'SAY_ANACHRONOS_EPILOGUE_8'); diff --git a/sql/Updates/r2314_mangos.sql b/sql/Updates/r2314_mangos.sql new file mode 100644 index 0000000..9b95464 --- /dev/null +++ b/sql/Updates/r2314_mangos.sql @@ -0,0 +1,40 @@ +UPDATE creature_template SET ScriptName='' WHERE entry=19361; +UPDATE creature_template SET ScriptName='' WHERE entry=18197; +UPDATE creature_template SET ScriptName='' WHERE entry=18019; +UPDATE creature_template SET ScriptName='' WHERE entry=20142; +UPDATE creature_template SET ScriptName='' WHERE entry IN (29665,29725,29728); +UPDATE creature_template SET ScriptName='' WHERE entry=18166; +UPDATE creature_template SET ScriptName='' WHERE entry=16819; +UPDATE creature_template SET ScriptName='' WHERE entry=19409; +UPDATE creature_template SET ScriptName='' WHERE entry=7172; +UPDATE creature_template SET ScriptName='' WHERE entry=23309; +UPDATE creature_template SET ScriptName='' WHERE entry=21657; +UPDATE creature_template SET ScriptName='' WHERE entry=20235; +UPDATE creature_template SET ScriptName='' WHERE entry=18261; +UPDATE creature_template SET ScriptName='' WHERE entry=25967; +UPDATE creature_template SET ScriptName='' WHERE entry=23704; +UPDATE creature_template SET ScriptName='' WHERE entry=21981; +UPDATE creature_template SET ScriptName='' WHERE entry=23413; +UPDATE creature_template SET ScriptName='' WHERE entry=23415; +UPDATE creature_template SET ScriptName='' WHERE entry=21727; +UPDATE creature_template SET ScriptName='' WHERE entry=21725; +UPDATE creature_template SET ScriptName='' WHERE entry=21183; +UPDATE creature_template SET ScriptName='' WHERE entry=19401; +UPDATE creature_template SET ScriptName='' WHERE entry=18585; +UPDATE creature_template SET ScriptName='' WHERE entry=20162; +UPDATE creature_template SET ScriptName='' WHERE entry=22932; +UPDATE creature_template SET ScriptName='' WHERE entry=23373; +UPDATE creature_template SET ScriptName='' WHERE entry=25590; +UPDATE creature_template SET ScriptName='' WHERE entry=26219; +UPDATE creature_template SET ScriptName='' WHERE entry=30051; +UPDATE creature_template SET ScriptName='' WHERE entry=26602; +UPDATE creature_template SET ScriptName='' WHERE entry=24795; +UPDATE creature_template SET ScriptName='' WHERE entry=31848; +UPDATE creature_template SET ScriptName='' WHERE entry=29975; +UPDATE creature_template SET ScriptName='' WHERE entry=31333; +UPDATE creature_template SET ScriptName='' WHERE entry=29445; +UPDATE creature_template SET ScriptName='' WHERE entry=31247; +UPDATE creature_template SET ScriptName='' WHERE entry=29811; +UPDATE creature_template SET ScriptName='' WHERE entry IN (29169,23729,26673,27158,29158,29161,26471,29155,29159,29160,29162); + +UPDATE gameobject_template SET ScriptName='' WHERE entry=181606; diff --git a/sql/Updates/r2314_scriptdev2.sql b/sql/Updates/r2314_scriptdev2.sql new file mode 100644 index 0000000..86f0153 --- /dev/null +++ b/sql/Updates/r2314_scriptdev2.sql @@ -0,0 +1 @@ +UPDATE script_texts SET content_default='REUSE ME', comment='REUSE ME' WHERE entry=-1000195; diff --git a/sql/Updates/r2318_mangos.sql b/sql/Updates/r2318_mangos.sql new file mode 100644 index 0000000..43e9bf4 --- /dev/null +++ b/sql/Updates/r2318_mangos.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='npc_feero_ironhand' WHERE entry=4484; diff --git a/sql/Updates/r2318_scriptdev2.sql b/sql/Updates/r2318_scriptdev2.sql new file mode 100644 index 0000000..da6ae8a --- /dev/null +++ b/sql/Updates/r2318_scriptdev2.sql @@ -0,0 +1,48 @@ +DELETE FROM script_texts WHERE entry BETWEEN -1000771 AND -1000780; +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1000771,'Let\'s go $N!',0,0,0,0,'Feero Ironhand SAY_QUEST_START'), +(-1000772,'It looks like we\'re in trouble. Look lively, here they come!',0,0,0,0,'Feero Ironhand SAY_FIRST_AMBUSH_START'), +(-1000773,'Assassins from that cult you found... Let\'s get moving before someone else finds us out here.',0,0,0,0,'Feero Ironhand SAY_FIRST_AMBUSH_END'), +(-1000774,'Hold! I sense an evil presence... Undead!',0,0,0,0,'Feero Ironhand SAY_SECOND_AMBUSH_START'), +(-1000775,'A $C! Slaying him would please the master. Attack!',0,0,0,0,'Forsaken Scout SAY_SCOUT_SECOND_AMBUSH'), +(-1000776,'They\'re coming out of the woodwork today. Let\'s keep moving or we may find more things that want me dead.',0,0,0,0,'Feero Ironhand SAY_SECOND_AMBUSH_END'), +(-1000777,'These three again?',0,0,0,0,'Feero Ironhand SAY_FINAL_AMBUSH_START'), +(-1000778,'Not quite so sure of yourself without the Purifier, hm?',0,0,0,0,'Balizar the Umbrage SAY_BALIZAR_FINAL_AMBUSH'), +(-1000779,'I\'ll finish you off for good this time!',0,0,0,0,'Feero Ironhand SAY_FINAL_AMBUSH_ATTACK'), +(-1000780,'Well done! I should be fine on my own from here. Remember to talk to Delgren when you return to Maestra\'s Post in Ashenvale.',0,0,0,0,'Feero Ironhand SAY_QUEST_END'); + +DELETE FROM script_waypoint WHERE entry=4484; +INSERT INTO script_waypoint VALUES +(4484, 0, 3178.57, 188.52, 4.27, 0, 'SAY_QUEST_START'), +(4484, 1, 3189.82, 198.56, 5.62, 0, ''), +(4484, 2, 3215.21, 185.78, 6.43, 0, ''), +(4484, 3, 3224.05, 183.08, 6.74, 0, ''), +(4484, 4, 3228.11, 194.97, 7.51, 0, ''), +(4484, 5, 3225.33, 201.78, 7.25, 0, ''), +(4484, 6, 3233.33, 226.88, 10.18, 0, ''), +(4484, 7, 3274.12, 225.83, 10.72, 0, ''), +(4484, 8, 3321.63, 209.82, 12.36, 0, ''), +(4484, 9, 3369.66, 226.21, 11.69, 0, ''), +(4484, 10, 3402.35, 227.20, 9.48, 0, ''), +(4484, 11, 3441.92, 224.75, 10.85, 0, ''), +(4484, 12, 3453.87, 220.31, 12.52, 0, ''), +(4484, 13, 3472.51, 213.68, 13.26, 0, ''), +(4484, 14, 3515.49, 212.96, 9.76, 5000, 'SAY_FIRST_AMBUSH_START'), +(4484, 15, 3516.21, 212.84, 9.52, 20000, 'SAY_FIRST_AMBUSH_END'), +(4484, 16, 3548.22, 217.12, 7.34, 0, ''), +(4484, 17, 3567.57, 219.43, 5.22, 0, ''), +(4484, 18, 3659.85, 209.68, 2.27, 0, ''), +(4484, 19, 3734.90, 177.64, 6.75, 0, ''), +(4484, 20, 3760.24, 162.51, 7.49, 5000, 'SAY_SECOND_AMBUSH_START'), +(4484, 21, 3761.58, 161.14, 7.37, 20000, 'SAY_SECOND_AMBUSH_END'), +(4484, 22, 3801.17, 129.87, 9.38, 0, ''), +(4484, 23, 3815.53, 118.53, 10.14, 0, ''), +(4484, 24, 3894.58, 44.88, 15.49, 0, ''), +(4484, 25, 3972.83, 0.42, 17.34, 0, ''), +(4484, 26, 4026.41, -7.63, 16.77, 0, ''), +(4484, 27, 4086.24, 12.32, 16.12, 0, ''), +(4484, 28, 4158.79, 50.67, 25.86, 0, ''), +(4484, 29, 4223.48, 99.52, 35.47, 5000, 'SAY_FINAL_AMBUSH_START'), +(4484, 30, 4224.28, 100.02, 35.49, 10000, 'SAY_QUEST_END'), +(4484, 31, 4243.45, 117.44, 38.83, 0, ''), +(4484, 32, 4264.18, 134.22, 42.96, 0, ''); diff --git a/sql/Updates/r2320_mangos.sql b/sql/Updates/r2320_mangos.sql new file mode 100644 index 0000000..973d35e --- /dev/null +++ b/sql/Updates/r2320_mangos.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='boss_alar' WHERE entry=19514; diff --git a/sql/Updates/r2321_scriptdev2.sql b/sql/Updates/r2321_scriptdev2.sql new file mode 100644 index 0000000..8843196 --- /dev/null +++ b/sql/Updates/r2321_scriptdev2.sql @@ -0,0 +1,2 @@ +UPDATE script_texts SET content_default='You there! Check out that noise.' WHERE entry=-1036000; +UPDATE script_texts SET content_default='We\'re under attack! A vast, ye swabs! Repel the invaders!' WHERE entry=-1036001; diff --git a/sql/Updates/r2323_mangos.sql b/sql/Updates/r2323_mangos.sql new file mode 100644 index 0000000..0d69bab --- /dev/null +++ b/sql/Updates/r2323_mangos.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='' WHERE entry=3216; diff --git a/sql/Updates/r2324_mangos.sql b/sql/Updates/r2324_mangos.sql new file mode 100644 index 0000000..65077b0 --- /dev/null +++ b/sql/Updates/r2324_mangos.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='' WHERE entry=16224; diff --git a/sql/Updates/r2325_mangos.sql b/sql/Updates/r2325_mangos.sql new file mode 100644 index 0000000..58f3056 --- /dev/null +++ b/sql/Updates/r2325_mangos.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='' WHERE entry=28315; diff --git a/sql/Updates/r2325_scriptdev2.sql b/sql/Updates/r2325_scriptdev2.sql new file mode 100644 index 0000000..3c2b7c7 --- /dev/null +++ b/sql/Updates/r2325_scriptdev2.sql @@ -0,0 +1 @@ +UPDATE script_texts SET content_default='REUSE ME', comment='REUSE ME' WHERE entry=-1000208; diff --git a/sql/Updates/r2326_mangos.sql b/sql/Updates/r2326_mangos.sql new file mode 100644 index 0000000..c4c4029 --- /dev/null +++ b/sql/Updates/r2326_mangos.sql @@ -0,0 +1 @@ +UPDATE creature_template SET ScriptName='' WHERE entry=8479; diff --git a/sql/Updates/r2328_mangos.sql b/sql/Updates/r2328_mangos.sql new file mode 100644 index 0000000..c735e4c --- /dev/null +++ b/sql/Updates/r2328_mangos.sql @@ -0,0 +1,4 @@ +UPDATE creature_template SET ScriptName='boss_muru' WHERE entry=25741; +UPDATE creature_template SET ScriptName='boss_entropius' WHERE entry=25840; +UPDATE creature_template SET ScriptName='npc_portal_target' WHERE entry=25770; +UPDATE creature_template SET ScriptName='npc_void_sentinel_summoner' WHERE entry=25782; diff --git a/sql/mangos_scriptname_clear.sql b/sql/mangos_scriptname_clear.sql new file mode 100644 index 0000000..9be32f4 --- /dev/null +++ b/sql/mangos_scriptname_clear.sql @@ -0,0 +1,10 @@ +-- Clear all ScriptNames +-- This will clear all ScriptNames from any table in the World-Database + +TRUNCATE scripted_areatrigger; +TRUNCATE scripted_event_id; +UPDATE creature_template SET ScriptName=''; +UPDATE gameobject_template SET ScriptName=''; +UPDATE item_template SET ScriptName=''; +UPDATE instance_template SET ScriptName=''; +UPDATE world_template SET ScriptName=''; diff --git a/sql_mr/custom_scriptdev2_bsw_table.sql b/sql_mr/custom_scriptdev2_bsw_table.sql new file mode 100644 index 0000000..6ceddc2 --- /dev/null +++ b/sql_mr/custom_scriptdev2_bsw_table.sql @@ -0,0 +1,33 @@ +DROP TABLE IF EXISTS `boss_spell_table`; +CREATE TABLE IF NOT EXISTS `boss_spell_table` ( + `entry` mediumint(8) NOT NULL DEFAULT '0' COMMENT 'Creature entry', + `spellID_N10` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell ID for 10 normal', + `spellID_N25` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell ID for 25 normal', + `spellID_H10` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell ID for 10 heroic', + `spellID_H25` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell ID for 25 heroic', + `timerMin_N10` mediumint(8) unsigned NOT NULL DEFAULT '15000' COMMENT 'Minimum timer for this spell (in ms.) for 10 normal', + `timerMin_N25` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Minimum timer for this spell (in ms.) for 25 normal', + `timerMin_H10` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Minimum timer for this spell (in ms.) for 10 heroic', + `timerMin_H25` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Minimum timer for this spell (in ms.) for 25 heroic', + `timerMax_N10` mediumint(8) unsigned NOT NULL DEFAULT '30000' COMMENT 'Maximum timer for this spell (in ms.) for 10 normal', + `timerMax_N25` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Maximum timer for this spell (in ms.) for 25 normal', + `timerMax_H10` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Maximum timer for this spell (in ms.) for 10 heroic', + `timerMax_H25` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Maximum timer for this spell (in ms.) for 25 heroic', + `data1` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Various INT data for this spell or summon for 10 normal', + `data2` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Various INT data for this spell for 25 normal', + `data3` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Various INT data for this spell for 10 heroic', + `data4` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Various INT data for this spell for 25 heroic', + `locData_x` float NOT NULL DEFAULT '0' COMMENT 'Location X data for this spell', + `locData_y` float NOT NULL DEFAULT '0' COMMENT 'Location Y data for this spell', + `locData_z` float NOT NULL DEFAULT '0' COMMENT 'Location Z data for this spell', + `varData` mediumint(8) NOT NULL DEFAULT '0' COMMENT 'Special data field for this spell (basepoint for Aura, for example)', + `StageMask_N` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Stage mask for this spell (don\'t used now)', + `StageMask_H` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Stage mask for this spell - heroic mode (don\'t used now)', + `CastType` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Type of cast (by enum BossSpellTableParameters)', + `isVisualEffect` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Is spell is Visual effect only', + `isBugged` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Is spell bugged and need override', + `textEntry` mediumint(8) NOT NULL DEFAULT '0' COMMENT 'Text from script_texts for this spell casting', + `comment` text, + PRIMARY KEY (`entry`,`spellID_N10`,`CastType`), + INDEX `idx_entry`(`entry`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT 'Boss spell table by /dev/rsa'; diff --git a/sql_mr/mr00001_mangos_ankahet.sql b/sql_mr/mr00001_mangos_ankahet.sql new file mode 100644 index 0000000..9def9b4 --- /dev/null +++ b/sql_mr/mr00001_mangos_ankahet.sql @@ -0,0 +1,115 @@ +-- Ahnkahet from Tassadar +UPDATE `instance_template` SET `ScriptName` = 'instance_ahnkahet' WHERE `map`=619; +UPDATE `creature_template` SET `ScriptName` = 'boss_jedoga', `AIName`='' WHERE `entry`=29310; +UPDATE `creature_template` SET `ScriptName` = 'boss_nadox', `AIName`='' WHERE `entry`=29309; +UPDATE `creature_template` SET `ScriptName` = 'boss_taldaram', `AIName`='' WHERE `entry`=29308; +UPDATE `creature_template` SET `ScriptName` = 'mob_flame_orb', `AIName`='' WHERE `entry`=30702; +UPDATE `gameobject_template` SET `ScriptName` = 'go_nerubian_device' WHERE `entry` IN (193093,193094); +UPDATE `creature_template` SET `ScriptName` = 'boss_volazj', `AIName`='' WHERE `entry`=29311; +UPDATE `creature_template` SET `ScriptName` = 'mob_twisted_visage' WHERE `entry` = 30621; +UPDATE `creature_template` SET `ScriptName` = 'mob_ancient_void' WHERE `entry` = 30622; +UPDATE `creature_template` SET `ScriptName` = 'npc_twilight_volunteer', `AIName`='' WHERE `entry`=30385; + +DELETE FROM `creature_template_addon` WHERE `entry` IN (30385, 31474); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES +(30385, 0, 8, 1, 0, 0, 0, ''); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES +(31474, 0, 8, 1, 0, 0, 0, ''); + +UPDATE `creature_template` SET `unit_flags` = '0' WHERE `entry` IN (30114,31473); + +DELETE FROM `creature_addon` WHERE guid=131953; +DELETE FROM `creature` WHERE guid IN (131953, 115064); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(131953, 29310, 619, 3, 1, 26777, 0, 357.353, -692.808, -10.7028, 5.56541, 14400, 5, 0, 212700, 0, 0, 1); + +DELETE FROM `gameobject` WHERE `guid` = 911321; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(911321, 194394, 619, 2, 1, 371.842, -701.621, -16.1797, 5.67851, 0, 0, 0.297751, -0.954644, -10, 0, 1); + +UPDATE `creature_template` SET `unit_flags` = 0 WHERE `entry` IN (30258, 30391, 30435); +UPDATE `creature_template` SET `ScriptName` ='npc_amanitar_mushroom', `AIName`='' WHERE `entry` IN (30391, 30435); +UPDATE `creature_template` SET `ScriptName` ='boss_amanitar', `AIName`='', `mindmg` = 488, `maxdmg` = 648, `attackpower` = 782, `dmg_multiplier` = 13 WHERE `entry` = 30258; + +-- - +-- Mushrooms +-- - + +DELETE FROM `creature` WHERE `map` = 619 AND `id` IN (30391); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(600047, 30391, 619, 2, 1, 0, 0, 358.386, -885.553, -76.1054, 3.06235, 30, 0, 0, 1, 0, 0, 0), +(600048, 30391, 619, 2, 1, 0, 0, 355.893, -871.712, -76.1473, 2.37356, 30, 0, 0, 1, 0, 0, 0), +(600049, 30391, 619, 2, 1, 0, 0, 350.343, -874.985, -76.7057, 3.40793, 30, 0, 0, 1, 0, 0, 0), +(600050, 30391, 619, 2, 1, 0, 0, 339.429, -875.16, -75.6668, 2.76233, 30, 0, 0, 1, 0, 0, 0), +(600051, 30391, 619, 2, 1, 0, 0, 333.095, -874.652, -73.8099, 3.95457, 30, 0, 0, 1, 0, 0, 0), +(600052, 30391, 619, 2, 1, 0, 0, 324.208, -878.923, -70.915, 3.95457, 30, 0, 0, 1, 0, 0, 0), +(600053, 30391, 619, 2, 1, 0, 0, 319.612, -893.614, -66.4438, 6.25892, 30, 0, 0, 1, 0, 0, 0), +(600054, 30391, 619, 2, 1, 0, 0, 335.775, -899.115, -76.1423, 0.282045, 30, 0, 0, 1, 0, 0, 0), +(600055, 30391, 619, 2, 1, 0, 0, 344.644, -898.122, -77.6435, 0.282045, 30, 0, 0, 1, 0, 0, 0), +(600056, 30391, 619, 2, 1, 0, 0, 353.341, -894.159, -77.208, 0.282045, 30, 0, 0, 1, 0, 0, 0), +(600057, 30391, 619, 2, 1, 0, 0, 363.279, -897.252, -79.5129, 0.282045, 30, 0, 0, 1, 0, 0, 0), +(600058, 30391, 619, 2, 1, 0, 0, 364.47, -903.557, -80.3345, 4.7651, 30, 0, 0, 1, 0, 0, 0), +(600059, 30391, 619, 2, 1, 0, 0, 366.219, -915.939, -82.5392, 5.04784, 30, 0, 0, 1, 0, 0, 0), +(600060, 30391, 619, 2, 1, 0, 0, 368.297, -920.562, -82.5588, 5.59919, 30, 0, 0, 1, 0, 0, 0), +(600061, 30391, 619, 2, 1, 0, 0, 381.647, -923.685, -82.4737, 0.190153, 30, 0, 0, 1, 0, 0, 0), +(600062, 30391, 619, 2, 1, 0, 0, 389.079, -916.929, -81.4451, 1.40831, 30, 0, 0, 1, 0, 0, 0), +(600063, 30391, 619, 2, 1, 0, 0, 386.916, -909.718, -79.9835, 1.40831, 30, 0, 0, 1, 0, 0, 0), +(600064, 30391, 619, 2, 1, 0, 0, 386.976, -898.374, -79.2561, 2.5652, 30, 0, 0, 1, 0, 0, 0), +(600065, 30391, 619, 2, 1, 0, 0, 390.349, -882.168, -76.0919, 1.56146, 30, 0, 0, 1, 0, 0, 0), +(600066, 30391, 619, 2, 1, 0, 0, 387.136, -871.625, -75.4158, 2.15051, 30, 0, 0, 1, 0, 0, 0), +(600067, 30391, 619, 2, 1, 0, 0, 378.056, -864.542, -73.8699, 3.01759, 30, 0, 0, 1, 0, 0, 0), +(600068, 30391, 619, 2, 1, 0, 0, 363.749, -858.04, -75.1185, 3.01759, 30, 0, 0, 1, 0, 0, 0), +(600069, 30391, 619, 2, 1, 0, 0, 352.564, -862.387, -74.7834, 3.01759, 30, 0, 0, 1, 0, 0, 0), +(600070, 30391, 619, 2, 1, 0, 0, 343.924, -860.44, -74.5909, 2.23533, 30, 0, 0, 1, 0, 0, 0), +(600071, 30391, 619, 2, 1, 0, 0, 339.94, -852.104, -74.3732, 0.995972, 30, 0, 0, 1, 0, 0, 0), +(600072, 30391, 619, 2, 1, 0, 0, 347.839, -848.228, -73.7097, 6.23065, 30, 0, 0, 1, 0, 0, 0), +(600073, 30391, 619, 2, 1, 0, 0, 324.306, -858.725, -75.0947, 3.68596, 30, 0, 0, 1, 0, 0, 0), +(600074, 30391, 619, 2, 1, 0, 0, 347.971, -882.318, -75.884, 3.55872, 30, 0, 0, 1, 0, 0, 0), +(600075, 30391, 619, 2, 1, 0, 0, 347.965, -889.829, -76.747, 3.55872, 30, 0, 0, 1, 0, 0, 0), +(600076, 30391, 619, 2, 1, 0, 0, 368.578, -877.354, -75.676, 1.46878, 30, 0, 0, 1, 0, 0, 0), +(600077, 30391, 619, 2, 1, 0, 0, 378.003, -852.353, -73.5427, 0.519235, 30, 0, 0, 1, 0, 0, 0), +(600078, 30391, 619, 2, 1, 0, 0, 361.828, -841.2, -70.86, 2.94298, 30, 0, 0, 1, 0, 0, 0), +(600079, 30391, 619, 2, 1, 0, 0, 346.972, -839.523, -73.5286, 2.94298, 30, 0, 0, 1, 0, 0, 0), +(600080, 30391, 619, 2, 1, 0, 0, 337.009, -843.074, -74.3865, 2.94298, 30, 0, 0, 1, 0, 0, 0), +(600081, 30391, 619, 2, 1, 0, 0, 330.036, -847.017, -74.318, 3.25321, 30, 0, 0, 1, 0, 0, 0), +(600082, 30391, 619, 2, 1, 0, 0, 328.839, -838.69, -72.921, 1.8929, 30, 0, 0, 1, 0, 0, 0), +(600083, 30391, 619, 2, 1, 0, 0, 322.452, -829.799, -73.5624, 2.6563, 30, 0, 0, 1, 0, 0, 0), +(600084, 30391, 619, 2, 1, 0, 0, 316.367, -822.016, -73.1033, 1.71618, 30, 0, 0, 1, 0, 0, 0), +(600085, 30391, 619, 2, 1, 0, 0, 320.592, -812.011, -73.8038, 0.957487, 30, 0, 0, 1, 0, 0, 0), +(600086, 30391, 619, 2, 1, 0, 0, 322.619, -803.898, -72.9384, 2.07668, 30, 0, 0, 1, 0, 0, 0), +(600087, 30391, 619, 2, 1, 0, 0, 331.481, -811.702, -72.9227, 5.46332, 30, 0, 0, 1, 0, 0, 0), +(600088, 30391, 619, 2, 1, 0, 0, 341.894, -826.849, -73.049, 5.46332, 30, 0, 0, 1, 0, 0, 0), +(600089, 30391, 619, 2, 1, 0, 0, 387.58, -856.341, -71.0935, 5.72486, 30, 0, 0, 1, 0, 0, 0), +(600090, 30391, 619, 2, 1, 0, 0, 401.977, -867.49, -73.3215, 5.27247, 30, 0, 0, 1, 0, 0, 0), +(600091, 30391, 619, 2, 1, 0, 0, 408.72, -872.115, -73.0256, 6.03823, 30, 0, 0, 1, 0, 0, 0), +(600092, 30391, 619, 2, 1, 0, 0, 416.438, -875.336, -70.4833, 5.08397, 30, 0, 0, 1, 0, 0, 0), +(600093, 30391, 619, 2, 1, 0, 0, 403.004, -895.527, -75.561, 5.60391, 30, 0, 0, 1, 0, 0, 0), +(600094, 30391, 619, 2, 1, 0, 0, 409.35, -902.562, -77.2837, 5.22927, 30, 0, 0, 1, 0, 0, 0), +(600095, 30391, 619, 2, 1, 0, 0, 414.538, -911.69, -79.8006, 5.22927, 30, 0, 0, 1, 0, 0, 0), +(600096, 30391, 619, 2, 1, 0, 0, 419.727, -920.818, -80.7403, 5.22927, 30, 0, 0, 1, 0, 0, 0), +(600097, 30391, 619, 2, 1, 0, 0, 428.151, -920.833, -79.0992, 0.892305, 30, 0, 0, 1, 0, 0, 0), +(600098, 30391, 619, 2, 1, 0, 0, 436.712, -911.759, -78.8367, 0.0605679, 30, 0, 0, 1, 0, 0, 0), +(600099, 30391, 619, 2, 1, 0, 0, 461.167, -910.276, -77.4777, 0.0605679, 30, 0, 0, 1, 0, 0, 0), +(600100, 30391, 619, 2, 1, 0, 0, 419.827, -930.386, -77.7951, 4.29465, 30, 0, 0, 1, 0, 0, 0), +(600101, 30391, 619, 2, 1, 0, 0, 418.017, -939.624, -80.2493, 4.29465, 30, 0, 0, 1, 0, 0, 0), +(600102, 30391, 619, 2, 1, 0, 0, 417.247, -948.532, -79.3315, 4.29465, 30, 0, 0, 1, 0, 0, 0), +(600103, 30391, 619, 2, 1, 0, 0, 409.236, -952.042, -80.6495, 4.29465, 30, 0, 0, 1, 0, 0, 0), +(600104, 30391, 619, 2, 1, 0, 0, 410.077, -959.059, -78.9977, 4.29465, 30, 0, 0, 1, 0, 0, 0), +(600105, 30391, 619, 2, 1, 0, 0, 403.871, -964.208, -77.8873, 4.29465, 30, 0, 0, 1, 0, 0, 0), +(600106, 30391, 619, 2, 1, 0, 0, 401.693, -970.428, -77.3012, 4.90255, 30, 0, 0, 1, 0, 0, 0), +(600107, 30391, 619, 2, 1, 0, 0, 402.379, -980.099, -75.4585, 4.60567, 30, 0, 0, 1, 0, 0, 0), +(600108, 30391, 619, 2, 1, 0, 0, 399.272, -984.535, -75.9494, 3.15425, 30, 0, 0, 1, 0, 0, 0), +(600109, 30391, 619, 2, 1, 0, 0, 380.102, -984.145, -74.2926, 2.13402, 30, 0, 0, 1, 0, 0, 0), +(600110, 30391, 619, 2, 1, 0, 0, 369.565, -973.481, -77.4914, 2.56756, 30, 0, 0, 1, 0, 0, 0), +(600111, 30391, 619, 2, 1, 0, 0, 360.748, -967.779, -79.832, 2.56756, 30, 0, 0, 1, 0, 0, 0), +(600112, 30391, 619, 2, 1, 0, 0, 350.138, -958.988, -79.4422, 2.16229, 30, 0, 0, 1, 0, 0, 0), +(600113, 30391, 619, 2, 1, 0, 0, 342.879, -944.352, -79.8533, 1.64157, 30, 0, 0, 1, 0, 0, 0); + +UPDATE `creature_template` SET `minhealth` = 1 WHERE `entry` = 30391; +UPDATE `creature_template` SET `minmana` = 0 WHERE `entry` = 29310; + +UPDATE `creature_template` SET `faction_A` = 16, `faction_H` = 16, `AIname`='EventAI' WHERE `entry` = 30176; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30176; +INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`) VALUES +('3017610', '30176', '11', '0', '100', '6', '0', '0', '0', '0', '11', '56151', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', ''), +('3017611', '30176', '8', '0', '100', '6', '56153', '-1', '0', '0', '28', '0', '56153', '0', '0', '0', '0', '0', '0', '0', '0', '0', ''); diff --git a/sql_mr/mr00001_mangos_azjol-nerub.sql b/sql_mr/mr00001_mangos_azjol-nerub.sql new file mode 100644 index 0000000..e7ec038 --- /dev/null +++ b/sql_mr/mr00001_mangos_azjol-nerub.sql @@ -0,0 +1,10 @@ +-- Azjol-Nerub from MaxXx2021 +UPDATE creature_template SET ScriptName = 'npc_watcher_gashra' WHERE entry = 28730; +UPDATE creature_template SET ScriptName = 'npc_watcher_narjil' WHERE entry = 28729; +UPDATE creature_template SET ScriptName = 'boss_krikthir' WHERE entry = 28684; +UPDATE creature_template SET ScriptName = 'npc_watcher_silthik' WHERE entry = 28731; +UPDATE creature_template SET ScriptName = 'boss_hadronox' WHERE entry = 28921; +UPDATE creature_template SET ScriptName = 'npc_anub_ar_warrior' WHERE entry = 28732; +UPDATE creature_template SET ScriptName = 'npc_anub_ar_skirmisher' WHERE entry = 28734; +UPDATE creature_template SET ScriptName = 'npc_anub_ar_shadowcaster' WHERE entry = 28733; +UPDATE creature_template SET ScriptName = 'npc_skittering_infector' WHERE entry = 28736; diff --git a/sql_mr/mr00001_mangos_eye_of_eternity.sql b/sql_mr/mr00001_mangos_eye_of_eternity.sql new file mode 100644 index 0000000..9534c4d --- /dev/null +++ b/sql_mr/mr00001_mangos_eye_of_eternity.sql @@ -0,0 +1,31 @@ +-- Eye of Eternity from Tassadar && bwsrv +UPDATE `instance_template` SET `ScriptName`='instance_eye_of_eternity' WHERE map=616; +UPDATE `gameobject_template` SET `ScriptName`='go_focusing_iris' WHERE entry IN (193958, 193960); +UPDATE `creature_template` SET `ScriptName`='boss_malygos' WHERE entry=28859; +UPDATE `creature_template` SET `ScriptName`='npc_power_spark' WHERE entry=30084; +UPDATE `creature_template` SET `ScriptName`='npc_nexus_lord' WHERE entry=30245; +UPDATE `creature_template` SET `ScriptName`='npc_scion_of_eternity' WHERE entry=30249; +UPDATE `creature_template` SET `ScriptName`='npc_hover_disk' WHERE entry=30248; +UPDATE `creature_template` SET `PowerType` = 3, `InhabitType` = 3, `ScriptName`='npc_whyrmrest_skytalon' WHERE entry=30161; +UPDATE `creature_template` SET `PowerType` = 3, `InhabitType` = 3 WHERE entry=31752; +UPDATE `creature_template` SET `ScriptName`='npc_alexstrasza' WHERE entry=32295; + +REPLACE INTO `creature_template_addon` VALUES (30161,0,0,0,0,0,0,'57403'); +REPLACE INTO `creature_template_addon` VALUES (31752,0,0,0,0,0,0,'57403'); + +-- spawn Alexstrasza's Gift and Heart of Magic +DELETE FROM `gameobject` WHERE id IN (193905, 193967, 194158, 194159); +INSERT INTO `gameobject` (id, map, spawnMask, phaseMask, position_x, position_y, position_z, orientation, rotation0, rotation1, rotation2, rotation3, spawntimesecs, animprogress, state) VALUES +(193905, 616, 1, 1, 754.544, 1301.71, 220.083, 0, 0, 0, 0, 0, -604800, 100, 1), +(193967, 616, 2, 1, 754.544, 1301.71, 220.083, 0, 0, 0, 0, 0, -604800, 100, 1), +(194158, 616, 1, 1, 759.544, 1306.71, 225.083, 0, 0, 0, 0, 0, -604800, 100, 1), +(194159, 616, 2, 1, 759.544, 1306.71, 225.083, 0, 0, 0, 0, 0, -604800, 100, 1); + +-- vehicle data for Hover Disks and Wyrmrest Skytalons (normal and heroic) +UPDATE `creature_template` SET vehicle_id=220, Spell1=56091, Spell2=56092, Spell3=57090, Spell4=57143, Spell5=57108, Spell6=57092 WHERE entry IN (30161, 31752); + +UPDATE `creature_template` SET vehicle_id=223 WHERE entry IN (30248, 31749); + +DELETE FROM `npc_spellclick_spells` WHERE npc_entry=30248; +INSERT INTO `npc_spellclick_spells` (npc_entry, spell_id, quest_start, quest_start_active, quest_end, cast_flags) VALUES +(30248, 48754, 0, 0, 0, 1); diff --git a/sql_mr/mr00001_mangos_fishing_extravaganza.sql b/sql_mr/mr00001_mangos_fishing_extravaganza.sql new file mode 100644 index 0000000..c7386ac --- /dev/null +++ b/sql_mr/mr00001_mangos_fishing_extravaganza.sql @@ -0,0 +1,44 @@ +-- set ai for riggle +UPDATE `creature_template` SET `ScriptName`='npc_riggle_bassbait' WHERE entry=15077; +-- updated start time for event Fishing Extravaganza +UPDATE `game_event` SET `start_time`='2009-06-14 14:00:00', `occurence`=10080, `length`=120 where entry=15; +-- Create Jang +DELETE FROM `creature` WHERE `id`=15078; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(954687, 15078, 0, 1, 1, 0, 1711, -14438, 473.661, 15.3137, 3.65362, 25, 0, 0, 3200, 0, 0, 0); +-- Create Fishbot 5000 +DELETE FROM `creature` WHERE `id`=15079; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(954688, 15079, 0, 1, 1, 0, 0, -14440, 477.446, 15.25, 3.71802, 25, 0, 0, 2600, 0, 0, 0); +-- Create Riggle Bassbait +DELETE FROM `creature` WHERE `id`=15077; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(954689, 15077, 0, 1, 1, 0, 13, -14439.3, 475.42, 15.892, 3.68503, 25, 0, 0, 3700, 0, 0, 0); +-- Create Soapbox gameobject +DELETE FROM `gameobject` WHERE `id`=180403; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(954391, 180403, 0, 1, 1, -14439.3, 475.42, 15.2791, 3.68503, 0, 0, 0.963311, -0.268388, 25, 0, 1); + +-- new event - Fishing Extravaganza Questgivers +-- Remove NPC and GO from any other event. +DELETE FROM `game_event_creature` WHERE `guid` IN (954687,954688,954689); +DELETE FROM `game_event_gameobject`WHERE `guid`=954391; +-- Create Event +DELETE FROM `game_event` WHERE `entry`=35; +INSERT INTO `game_event` (`entry`, `start_time`, `end_time`, `occurence`, `length`, `holiday`, `description`) VALUES (35, '2009-03-29 14:00:00', '2020-12-31 00:00:00', 10080, 180, 0, 'Fishing Extravaganza Questgivers'); +-- Add NPCs to Event +DELETE FROM `game_event_creature` WHERE abs(`event`) = 35; +INSERT INTO `game_event_creature` (`guid`, `event`) VALUES (954687,35), (954688,35), (954689,35); +-- Add Soapbox to Event +DELETE FROM `game_event_gameobject` WHERE abs(`event`) = 35; +INSERT INTO `game_event_gameobject` (`guid`, `event`) VALUES (954391,35); +-- Remove Quests from normal DB: +DELETE FROM `creature_questrelation` WHERE quest IN (8193,8194,8225,8224,8221); +-- Add Quests to Event +-- Riggle Bassbait Quest: Master Angler +-- Jang Quest: Apprentice Angler +-- Fishbot 5000 Quest: Rare Fish - Brownell's Blue Striped Racer +-- Fishbot 5000 Quest: Rare Fish - Dezian Queenfish +-- Fishbot 5000 Quest: Rare Fish - Keefer's Angelfish +DELETE FROM `game_event_quest` WHERE `event` = 35; +INSERT INTO `game_event_quest` (`quest`,`event`) VALUES (8193,35), (8194,35), (8225,35), (8224,35), (8221,35); diff --git a/sql_mr/mr00001_mangos_npc_special.sql b/sql_mr/mr00001_mangos_npc_special.sql new file mode 100644 index 0000000..3e02e97 --- /dev/null +++ b/sql_mr/mr00001_mangos_npc_special.sql @@ -0,0 +1,17 @@ +-- Snakes trap +UPDATE `creature_template` SET `ScriptName`='npc_snake_trap_serpents' WHERE `entry` IN (19921, 19833); +-- Mirror Immage +UPDATE `creature_template` SET `speed_walk` = 2.5, `modelid_1` = 11686, `modelid_3` = 11686, `minlevel` = 80, `maxlevel` = 80, `AIName` = '', `ScriptName`='npc_mirror_image' WHERE `entry` = 31216; +-- Rune blade +UPDATE `creature_template` SET `modelid_1` = 11686, `modelid_3` = 11686,`AIName` = '', `ScriptName`='npc_runeblade' WHERE `entry` = 27893; +-- DK Gargoyle +UPDATE `creature_template` SET `ScriptName` = 'npc_death_knight_gargoyle' WHERE `entry` = '27829'; +-- Explosive decoy +UPDATE `creature_template` SET `ScriptName` = 'npc_explosive_decoy' WHERE `entry` = '29134'; +-- Eye of Kilrogg +UPDATE `creature_template` SET `ScriptName` = 'npc_eye_of_kilrogg' WHERE `entry` = '4277'; +-- Greater fire elemental +UPDATE `creature_template` SET `ScriptName` = 'pet_greater_fire_elemental' WHERE `entry` = '15438'; +-- Greater earth elemental +UPDATE `creature_template` SET `ScriptName` = 'pet_greater_earth_elemental' WHERE `entry` = '15352'; + diff --git a/sql_mr/mr00001_mangos_ruby_sanctum.sql b/sql_mr/mr00001_mangos_ruby_sanctum.sql new file mode 100644 index 0000000..7be4e90 --- /dev/null +++ b/sql_mr/mr00001_mangos_ruby_sanctum.sql @@ -0,0 +1,38 @@ +-- Ruby sanctum +UPDATE `instance_template` SET `ScriptName`='instance_ruby_sanctum' WHERE `map`=724; +-- Halion +UPDATE `creature_template` SET `ScriptName`='boss_halion_real', `AIName` ='' WHERE `entry`=39863; +UPDATE `creature_template` SET `ScriptName`='boss_halion_twilight', `AIName` ='' WHERE `entry`=40142; +UPDATE `creature_template` SET `ScriptName`='mob_halion_meteor', `AIName` ='' WHERE `entry` = 40029; +UPDATE `creature_template` SET `ScriptName`='mob_halion_flame', `AIName` ='' WHERE `entry` IN (40041); +UPDATE `creature_template` SET `ScriptName`='mob_halion_control', `AIName` ='' WHERE `entry` IN (40146); +UPDATE `creature_template` SET `ScriptName`='mob_halion_orb', `AIName` ='' WHERE `entry` IN (40083,40100); +UPDATE `creature_template` SET `ScriptName`='mob_orb_rotation_focus', `AIName` ='' WHERE `entry` = 40091; +UPDATE `creature_template` SET `ScriptName`='mob_orb_carrier', `AIName` ='' WHERE `entry` = 40081; +UPDATE `creature_template` SET `ScriptName`='mob_fiery_combustion', `AIName` ='' WHERE `entry` = 40001; +UPDATE `creature_template` SET `ScriptName`='mob_soul_consumption', `AIName` ='' WHERE `entry` = 40135; +UPDATE `creature_template` SET `ScriptName`='', `AIName` ='' WHERE `entry` IN (40143, 40144, 40145); +# +UPDATE `gameobject_template` SET `data10` = 74807, `faction` = '0', `ScriptName` = 'go_halion_portal_twilight' WHERE `gameobject_template`.`entry` IN (202794,202795); +UPDATE `gameobject_template` SET `faction` = '0', `ScriptName` = 'go_halion_portal_real' WHERE `gameobject_template`.`entry` IN (202796); + +-- Baltharus +UPDATE `creature_template` SET `ScriptName`='boss_baltharus', `AIName` ='', `dmg_multiplier` = 80 WHERE `entry`=39751; +UPDATE `creature_template` SET `ScriptName`='mob_baltharus_clone', `AIName` ='', `dmg_multiplier` = 80 WHERE `entry`=39899; +INSERT IGNORE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES +(39900, 0, 0, 0, 0, 0, 11686, 0, 11686, 0, 'Baltharus Target Dummy', '', NULL, 0, 1, 1, 25, 27, 0, 0, 17, 35, 35, 0, 1, 1.14286, 1, 0, 1, 2, 0, 0, 1, 2000, 2000, 1, 33554432, 0, 0, 0, 0, 0, 0, 1, 2, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 258, ''); +UPDATE `creature_template` SET `ScriptName`='', `AIName` ='' WHERE `entry`=39900; + +-- Zarithian +UPDATE `creature_template` SET `ScriptName`='boss_zarithrian', `AIName` ='' WHERE `entry`=39746; +UPDATE `creature` SET `position_x` = '3008.552734',`position_y` = '530.471680',`position_z` = '89.195290',`orientation` = '6.16' WHERE `id` = 39746; +UPDATE `creature_template` SET `ScriptName`='mob_flamecaller_ruby', `AIName` ='' WHERE `entry`=39814; + +-- Saviana Ragefire +UPDATE `creature_template` SET `ScriptName`='boss_ragefire', `AIName` ='' WHERE `entry`=39747; +DELETE FROM `spell_script_target` WHERE `entry` IN (74455); +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES +('74455', '1', '39747'); + +-- Xerestrasza +UPDATE `creature_template` SET `ScriptName`='mob_xerestrasza', `AIName` ='' WHERE `entry`=40429; diff --git a/sql_mr/mr00001_mangos_serpentshrine.sql b/sql_mr/mr00001_mangos_serpentshrine.sql new file mode 100644 index 0000000..33b3a8b --- /dev/null +++ b/sql_mr/mr00001_mangos_serpentshrine.sql @@ -0,0 +1,2 @@ +UPDATE `creature_template` SET `ScriptName` = 'boss_the_lurker_below' WHERE `entry` =21217; +UPDATE `gameobject_template` SET `ScriptName` = 'go_strange_pool' WHERE `entry` =184956; diff --git a/sql_mr/mr00001_mangos_teleguy.sql b/sql_mr/mr00001_mangos_teleguy.sql new file mode 100644 index 0000000..ba7f7d8 --- /dev/null +++ b/sql_mr/mr00001_mangos_teleguy.sql @@ -0,0 +1,3 @@ +DELETE FROM `creature_template` WHERE `entry`=99001; +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `PowerType`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `vehicle_id`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES +(99001, 0, 0, 0, 0, 0, 18, 0, 18, 0, 'Slappy McFry', 'The Teleport Guy', NULL, 0, 59, 61, 6700, 24000, 0, 5598, 5875, 4049, 35, 35, 1, 1.48, 1.14286, 1, 0, 98, 147, 0, 37, 1.4, 1400, 1400, 2, 0, 0, 0, 0, 0, 0, 0, 78, 118, 30, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'mob_teleguy'); \ No newline at end of file diff --git a/sql_mr/mr00001_mangos_the_violet_hold.sql b/sql_mr/mr00001_mangos_the_violet_hold.sql new file mode 100644 index 0000000..b9a84c4 --- /dev/null +++ b/sql_mr/mr00001_mangos_the_violet_hold.sql @@ -0,0 +1,48 @@ +-- -------------- +-- VIOLET HOLD - +-- -------------- + +UPDATE `instance_template` SET `ScriptName`='instance_violet_hold' WHERE `map`=608; +UPDATE `creature_template` SET `ScriptName`='boss_erekem' WHERE entry=29315; +UPDATE `creature_template` SET `ScriptName`='mob_erekem_guard' WHERE entry=29395; +UPDATE `creature_template` SET `ScriptName`='boss_moragg' WHERE entry=29316; +UPDATE `creature_template` SET `ScriptName`='boss_ichoron' WHERE entry=29313; +UPDATE `creature_template` SET `ScriptName`='mob_ichor_globule' WHERE entry=29321; +UPDATE `creature_template` SET `ScriptName`='boss_xevozz' WHERE entry=29266; +UPDATE `creature_template` SET `ScriptName`='mob_ethereal_sphere' WHERE entry=29271; +UPDATE `creature_template` SET `ScriptName`='boss_lavanthor' WHERE entry=29312; +UPDATE `creature_template` SET `ScriptName`='boss_zuramat'WHERE entry=29314; +UPDATE `creature_template` SET `ScriptName`='mob_zuramat_sentry' WHERE entry=29364; +UPDATE `creature_template` SET `ScriptName`='boss_cyanigosa' WHERE entry=31134; +UPDATE `creature_template` SET `ScriptName`='npc_azure_saboteur' WHERE entry=31079; +UPDATE `creature_template` SET `ScriptName`='mob_vh_dragons', AIName='' WHERE entry IN (30666,30668,30667,32191,30660,30695,30663,30661,30664,30662); +UPDATE `creature_template` SET `ScriptName`='npc_sinclari', `npcflag`=1 WHERE entry=30658; +UPDATE `creature_template` SET `ScriptName`='npc_violet_portal' WHERE entry=31011; +UPDATE `creature_template` SET `ScriptName`='npc_door_seal_vh' WHERE entry=30896; + +-- Lieuntenant Sinclari (30658) +UPDATE `creature` SET `Spawntimesecs`=180 WHERE id=30658; + + +-- void sentry template (29364) + +UPDATE `creature_template` SET faction_A=16, faction_H=16, minlevel=77, maxlevel=77, maxhealth=500, minhealth=500 WHERE entry=29364; +UPDATE `creature_template` SET `faction_A`=16,`faction_H`=16 WHERE `entry`=31518; +UPDATE `creature_template` SET `AIName`='' WHERE entry IN (31011,30695,31079,30666,30668,30667,32191,30660,30695,30663,30661,30664,30662,31118,29395,31513); + +-- triggers +UPDATE `creature_template` SET flags_extra=flags_extra|128 WHERE entry IN (30857,30883,29326,30896); + +DELETE FROM `creature` WHERE id=31011; + +DELETE FROM `spell_script_target` WHERE `entry` =54160; +INSERT INTO `spell_script_target` VALUES (54160, 1, 29266); +DELETE FROM `spell_script_target` WHERE `entry`=59474; +INSERT INTO `spell_script_target` VALUES +(59474,1,29266), +(59474,1,31511); + +-- immune masks (charm, fear, root, silence, sleep, snare, stun, freeze, knockout, polymorph, banish, shackle, horror, sapped) + +UPDATE `creature_template` SET mechanic_immune_mask=mechanic_immune_mask|1|16|64|256|512|1024|2048|4096|8192|65536|131072|524288|8388608|536870912 +WHERE `entry` IN (29315,29395,29316,29313,29321,29266,29271,29312,29314,31134,31511,31514,31509,31508,31512,31507,31510,31515,31513,31506); diff --git a/sql_mr/mr00001_mangos_trial_of_crusader.sql b/sql_mr/mr00001_mangos_trial_of_crusader.sql new file mode 100644 index 0000000..8a54e39 --- /dev/null +++ b/sql_mr/mr00001_mangos_trial_of_crusader.sql @@ -0,0 +1,130 @@ +-- instance +UPDATE `instance_template` SET `ScriptName`='instance_trial_of_the_crusader' WHERE `map`=649; +DELETE FROM `creature` WHERE `map` = 649 AND `id` IN +(34797,34796,34799,35144,34780,34460,34463,34461,34471,34475,34472,34453,34455,34458,34454,34451,34456,34497,34496,34564,34467,35465,34468,35610,34473,34474,34441,34449,34448,34450,34606, 34605, 34607, 34564); + +-- announcers +UPDATE `creature_template` SET `npcflag`=1, `scriptname`='npc_toc_announcer' WHERE `entry`=34816; +DELETE FROM `creature` WHERE `map` = 649 AND `id` = 35766; + +DELETE FROM `npc_text` WHERE `ID` IN (724001, 724002, 724003, 724004, 724005, 724006); +INSERT INTO `npc_text` (`ID`, `Text0_0`) VALUES +(724001, 'Greetings $N! Are you ready to be tested in Crusaders Coliseum?'), +(724002, 'Are you ready for the next stage?'), +(724003, 'Are you ready to fight the champions of the Silver vanguard?'), +(724004, 'Are you ready for the next stage?'), +(724005, 'Are you ready to continue battle with Anub-Arak?'), +(724006, 'Today, the arena is closed. Script dungeon designed specifically for server Pandora http://wow.teletoria.ru (c) /dev/rsa 2010'); + +DELETE FROM `locales_npc_text` WHERE `entry` IN (724001, 724002, 724003, 724004, 724005, 724006); +INSERT INTO `locales_npc_text` (`entry`, `Text0_0_loc1`, `Text0_0_loc2`, `Text0_0_loc3`, `Text0_0_loc4`, `Text0_0_loc5`, `Text0_0_loc6`, `Text0_0_loc7`, `Text0_0_loc8`) VALUES +(724001, 'Greetings $N! Are you ready to be tested in Crusaders Coliseum?', NULL, NULL, NULL, NULL, NULL, NULL, 'Приветствую, $N! Вы готовы пройти Испытание Крестоносца?'), +(724002, 'Are you ready for the next stage?', NULL, NULL, NULL, NULL, NULL, NULL, 'Вы готовы к следующему этапу?'), +(724003, 'Are you ready to fight the champions of the Silver vanguard?', NULL, NULL, NULL, NULL, NULL, NULL, 'Вы готовы драться с чемпионами Серебряного авангарда?'), +(724004, 'Are you ready for the next stage?', NULL, NULL, NULL, NULL, NULL, NULL, 'Вы готовы к следующему этапу?'), +(724005, 'Are you ready to continue battle with Anub-Arak?', NULL, NULL, NULL, NULL, NULL, NULL, 'Вы готовы продолжить бой с Ануб-Араком?'), +(724006, 'Today, the arena is closed. Script dungeon designed specifically for server Pandora http://wow.teletoria.ru (c) /dev/rsa 2010', NULL, NULL, NULL, NULL, NULL, NULL, 'На сегодня арена закрыта. Скрипт инстанса разработан специально для сервера Пандора http://wow.teletoria.ru (c) /dev/rsa 2010'); + +UPDATE `creature_template` SET `scriptname`='boss_lich_king_toc' WHERE `entry`=35877; +UPDATE `creature_template` SET `minhealth`= 20000, `maxhealth` = 20000, `faction_A`= 1770, `faction_H` = 1770, `scriptname`='npc_fizzlebang_toc' WHERE `entry`=35458; +UPDATE `creature_template` SET `flags_extra`=0 WHERE `entry` IN (22517, 35651); +DELETE FROM `creature` WHERE `map` = 649 AND `id` IN (35651, 22517); + +UPDATE `creature_template` SET `scriptname`='npc_tirion_toc' WHERE `entry`=34996; +UPDATE `creature_template` SET `scriptname`='npc_garrosh_toc' WHERE `entry`=34995; +UPDATE `creature_template` SET `scriptname`='npc_rinn_toc' WHERE `entry`=34990; + +-- Grand crusaders +UPDATE `creature_template` SET `scriptname`='mob_toc_warrior', `AIName` ='' WHERE `entry` IN (34475,34453); +UPDATE `creature_template` SET `scriptname`='mob_toc_mage', `AIName` ='' WHERE `entry` IN (34468,34449); +UPDATE `creature_template` SET `scriptname`='mob_toc_shaman', `AIName` ='' WHERE `entry` IN (34463,34455); +UPDATE `creature_template` SET `scriptname`='mob_toc_enh_shaman', `AIName` ='' WHERE `entry` IN (34470,34444); +UPDATE `creature_template` SET `scriptname`='mob_toc_hunter', `AIName` ='' WHERE `entry` IN (34467,34448); +UPDATE `creature_template` SET `scriptname`='mob_toc_rogue', `AIName` ='' WHERE `entry` IN (34472,34454); +UPDATE `creature_template` SET `scriptname`='mob_toc_priest', `AIName` ='' WHERE `entry` IN (34466,34447); +UPDATE `creature_template` SET `scriptname`='mob_toc_shadow_priest', `AIName` ='' WHERE `entry` IN (34473,34441); +DELETE FROM `creature_ai_scripts` WHERE (`id`='3444106') OR (`id`='3444119') OR (`id`='3444104') OR (`id`='3444108') OR (`id`='3444102') OR (`id`='3444116') OR (`id`='3444117') OR (`id`='3444107') OR (`id`='3444109') OR (`id`='3444115') OR (`id`='3444103') OR (`id`='3444114') OR (`id`='3444111') OR (`id`='3444110') OR (`id`='3444118') OR (`id`='3444105') OR (`id`='3444113') OR (`id`='3444101') OR (`id`='3444112'); +UPDATE `creature_template` SET `scriptname`='mob_toc_dk', `AIName` ='' WHERE `entry` IN (34461,34458); +UPDATE `creature_template` SET `scriptname`='mob_toc_paladin', `AIName` ='' WHERE `entry` IN (34465,34445); +UPDATE `creature_template` SET `scriptname`='mob_toc_retro_paladin', `AIName` ='' WHERE `entry` IN (34471,34456); +UPDATE `creature_template` SET `scriptname`='mob_toc_druid', `AIName` ='' WHERE `entry` IN (34460,34451); +UPDATE `creature_template` SET `scriptname`='mob_toc_boomkin', `AIName` ='' WHERE `entry` IN (34469,34459); +UPDATE `creature_template` SET `scriptname`='mob_toc_warlock' WHERE `entry` IN (34474,34450); + +UPDATE `creature_template` SET `scriptname`='mob_toc_pet_warlock', `AIName` ='' WHERE `entry` IN (35465); +UPDATE `creature_template` SET `scriptname`='mob_toc_pet_hunter', `AIName` ='' WHERE `entry` IN (35610); + +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry` IN +(34460,34463,34461,34471,34475,34472,34453,34455,34458,34454,34451,34456,34467,35465,34468,35610,34473,34474,34441,34449,34448,34450); +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry` IN +(12266,12209,12212,12281,12190,12284,12269,12272,12229,12187,12091,12088,12169,12103,12106,12112,12166,12163,12175,12183,12303,12300); +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry` IN +(12267,12210,12213,12282,12191,12285,12270,12273,12230,12188,12092,12089,12170,12104,12107,12113,12167,12164,12181,12184,12304,12301); +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry` IN +(12268,12211,12214,12283,12192,12286,12271,12274,12231,12189,12093,12090,12171,12105,12108,12114,12168,12165,12182,12185,12305,12302); + +-- N10 +DELETE FROM `creature_loot_template` WHERE `entry` IN +(34460,34463,34461,34471,34475,34472,34453,34455,34458,34454,34451,34456,34467,35465,34468,35610,34473,34474,34441,34449,34448,34450); +-- H10 +DELETE FROM `creature_loot_template` WHERE `entry` IN +(12266,12209,12212,12281,12190,12284,12269,12272,12229,12187,12091,12088,12169,12103,12106,12112,12166,12163,12175,12183,12303,12300); +-- N25 +DELETE FROM `creature_loot_template` WHERE `entry` IN +(12267,12210,12213,12282,12191,12285,12270,12273,12230,12188,12092,12089,12170,12104,12107,12113,12167,12164,12181,12184,12304,12301); +-- H25 +DELETE FROM `creature_loot_template` WHERE `entry` IN +(12268,12211,12214,12283,12192,12286,12271,12274,12231,12189,12093,12090,12171,12105,12108,12114,12168,12165,12182,12185,12305,12302); + +-- Nortrend beasts +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (34796, 34799, 35144, 34797); +UPDATE `creature_template` SET `scriptname`='boss_gormok', `AIName` ='' WHERE `entry`=34796; +UPDATE `creature_template` SET `scriptname`='mob_snobold_vassal', `AIName` ='' WHERE `entry`=34800; + +UPDATE `creature_template` SET `scriptname`='boss_dreadscale', `AIName` ='' WHERE `entry`=34799; +UPDATE `creature_template` SET `scriptname`='boss_acidmaw', `AIName` ='' WHERE `entry`=35144; +UPDATE `creature_template` SET `scriptname`='mob_slime_pool', `minlevel` = 80, `maxlevel` = 80, `minhealth`= 30000, `maxhealth` = 30000,`AIName` ='', `faction_A`= 14, `faction_H` = 14, `modelid_1` = 11686, `modelid_3` = 11686 WHERE `entry` = 35176; + +UPDATE `creature_template` SET `scriptname`='boss_icehowl', `AIName` ='' WHERE `entry`=34797; + +UPDATE `creature_template` SET `lootid`= 0 WHERE `entry` IN (34796,34799,35144); +DELETE FROM `creature_loot_template` WHERE `entry` IN (34796,34799,35144); + +-- Jaraxxus +UPDATE `creature_template` SET `scriptname`='boss_jaraxxus', `AIName` ='' WHERE `entry`= 34780; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (34780, 34784, 34813, 34815, 34825, 34826); +UPDATE `creature_template` SET `scriptname`='mob_legion_flame', `minlevel` = 82, `maxlevel` = 82, `modelid_1` = 11686, `modelid_2` = 11686, `modelid_3` = 11686, `modelid_4` = 11686, `AIName` ='', `faction_A`= 14, `faction_H` = 14 WHERE `entry` = 34784; +UPDATE `creature_template` SET `scriptname`='mob_infernal_volcano', `AIName` ='' WHERE `entry` = 34813; +UPDATE `creature_template` SET `scriptname`='mob_fel_infernal', `AIName` ='' WHERE `entry` = 34815; +UPDATE `creature_template` SET `scriptname`='mob_nether_portal', `AIName` ='' WHERE `entry` = 34825; +UPDATE `creature_template` SET `scriptname`='mob_mistress_of_pain', `AIName` ='' WHERE `entry` = 34826; + +-- Valkiries +UPDATE `creature_template` SET `scriptname` = 'boss_fjola', `AIName` ='' WHERE `entry`=34497; +UPDATE `creature_template` SET `scriptname` = 'boss_eydis', `AIName` ='' WHERE `entry`=34496; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (34497, 34496, 34568, 34567); +UPDATE `creature_template` SET `npcflag`=1, `scriptname`='mob_light_essence', `AIName` ='' WHERE entry = 34568; +UPDATE `creature_template` SET `npcflag`=1, `scriptname`='mob_dark_essence', `AIName` ='' WHERE entry = 34567; +UPDATE `creature_template` SET `faction_A` = 14, `minlevel` = 82, `maxlevel` = 82,`faction_H` = 14, `AIName` ='', `scriptname`='mob_unleashed_dark' WHERE entry = 34628; +UPDATE `creature_template` SET `faction_A` = 14, `minlevel` = 82, `maxlevel` = 82,`faction_H` = 14, `AIName` ='', `scriptname`='mob_unleashed_light' WHERE entry = 34630; +-- Twin pact by Wowka321 +DELETE FROM `spell_script_target` WHERE `entry` IN (65875,67303,67304,67305,65876,67306,67307,67308); +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES +('65875', '1', '34497'), +('67303', '1', '34497'), +('67304', '1', '34497'), +('67305', '1', '34497'), +('65876', '1', '34496'), +('67306', '1', '34496'), +('67307', '1', '34496'), +('67308', '1', '34496'); + +-- Anub'arak +UPDATE `creature_template` SET `scriptname`='boss_anubarak_trial', `unit_flags` = 0, `AIName` ='' WHERE `entry`=34564; + +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (34606, 34605, 34607, 34564, 34660); +UPDATE `creature_template` SET `modelid_1` = 25144, `modelid_2` = 0, `modelid_3` = 25144, `modelid_4` = 0, `faction_A` = 14, `faction_H` = 14, `AIName` = '', `ScriptName` = 'mob_frost_sphere' WHERE `entry` = 34606; +UPDATE `creature_template` SET `scriptname`='mob_swarm_scarab', `AIName` ='' WHERE `entry`=34605; +UPDATE `creature_template` SET `scriptname`='mob_nerubian_borrower', `AIName` ='' WHERE `entry`=34607; +UPDATE `creature_template` SET `scriptname`='mob_anubarak_spike', `faction_A` = 14, `minlevel` = 80, `maxlevel` = 80,`faction_H` = 14, `AIName` ='' WHERE `entry`=34660; + diff --git a/sql_mr/mr00001_mangos_trial_of_the_champion.sql b/sql_mr/mr00001_mangos_trial_of_the_champion.sql new file mode 100644 index 0000000..1c50d73 --- /dev/null +++ b/sql_mr/mr00001_mangos_trial_of_the_champion.sql @@ -0,0 +1,27 @@ +-- instance +UPDATE instance_template SET ScriptName='instance_trial_of_the_champion' WHERE map=650; + +-- announcers +UPDATE creature_template SET npcflag=1, scriptname='npc_toc5_announcer' WHERE entry IN (35004, 35005); + +-- grand champions +UPDATE creature_template SET scriptname='mob_toc5_warrior' WHERE entry IN (34705, 35572); +UPDATE creature_template SET scriptname='mob_toc5_mage' WHERE entry IN (34702, 35569); +UPDATE creature_template SET scriptname='mob_toc5_shaman' WHERE entry IN (34701, 35571); +UPDATE creature_template SET scriptname='mob_toc5_hunter' WHERE entry IN (34657, 35570); +UPDATE creature_template SET scriptname='mob_toc5_rogue' WHERE entry IN (34703, 35617); + +-- argent challenge +UPDATE creature_template SET scriptname='boss_eadric' WHERE entry=35119; +UPDATE creature_template SET scriptname='boss_paletress' WHERE entry=34928; +UPDATE creature_template SET scriptname='mob_toc5_memory' WHERE entry IN (35052, 35041, 35033, 35046, 35043, 35047, 35044, 35039, 35034, 35049, 35030, 34942, 35050, 35042, 35045, 35037, 35031, 35038, 35029, 35048, 35032, 35028, 35040, 35036, 35051); + +-- black knight +UPDATE creature_template SET faction_a=14, faction_h=14, scriptname='mob_toc5_risen_ghoul' WHERE entry IN (35545, 35564); +UPDATE creature_template SET scriptname='boss_black_knight' WHERE entry=35451; + +-- free spells for creatures +UPDATE `creature_template` SET `spell1` = '0',`spell2` = '0',`spell3` = '0',`spell4` = '0' WHERE `creature_template`.`entry` IN +(34705,34702,34701,34657,34703,35572,35569,35571,35570,35617,35119,34928,35451,35545,35564,35004,35005,35052,35041,35033,35046,35043,35047,35044,35039,35034,35049,35030,34942,35050,35042,35045,35037,35031,35038,35029,35048,35032,35028,35040,35036,35051); +UPDATE `creature_template` SET `spell1` = '0',`spell2` = '0',`spell3` = '0',`spell4` = '0' WHERE `creature_template`.`entry` IN +(12002,12001,12000,12003,12004,12010,12484,12485,12447,12454,12441,12438,12453,12443,12437,12445,12725,12452,12486,12442,12482,12440,12483,12451,12456,12449,12455,12450,12487,12446,12011,12012,12436,12005,12007,12006,12009,12008); diff --git a/sql_mr/mr00001_scriptdev2_arena_honor.sql b/sql_mr/mr00001_scriptdev2_arena_honor.sql new file mode 100644 index 0000000..7bb2a4a --- /dev/null +++ b/sql_mr/mr00001_scriptdev2_arena_honor.sql @@ -0,0 +1,14 @@ +-- npc arena-honor exchange + +DELETE FROM script_texts WHERE entry in (-1001007, -1001008); +INSERT INTO script_texts (entry,content_loc8, content_default, sound, type, language, emote, comment) VALUES +('-1001007','Недостаточно ХонорПойнтов!','Your not has enough HonorPoints!','0','0','0','0','Unsuccesfull - honorpoint.'), +('-1001008','Недостаточно АренаПойнтов!','Your not has enough AranaPoints!','0','0','0','0','Unsuccesfull - arenapoint.'); + +-- Gossips +DELETE FROM `gossip_texts` WHERE `entry` BETWEEN -3000773 AND -3000770; +INSERT INTO `gossip_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `comment`) VALUES +('-3000770', "Exchange 100 ArenaPoints to 2000 HonorPoints", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Обменять 100 АренаПойнтов на 2000 ХонорПойнтов", "npc_arena_honor gossip 1"), +('-3000771', "Exchange 1000 ArenaPoints to 20000 HonorPoints", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Обменять 1000 АренаПойнтов на 20000 ХонорПойнтов", "npc_arena_honor gossip 2"), +('-3000772', "Exchange 1000 HonorPoints to 50 ArenaPoints", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Обменять 1000 ХонорПойнтов на 50 АренаПойнтов", "npc_arena_honor gossip 3"), +('-3000773', "Exchange 10000 HonorPoints to 500 ArenaPoints", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Обменять 10000 ХонорПойнтов на 500 АренаПойнтов", "npc_arena_honor gossip 4"); diff --git a/sql_mr/mr00001_scriptdev2_draktharon.sql b/sql_mr/mr00001_scriptdev2_draktharon.sql new file mode 100644 index 0000000..915922f --- /dev/null +++ b/sql_mr/mr00001_scriptdev2_draktharon.sql @@ -0,0 +1,4 @@ +DELETE FROM script_texts WHERE entry in (-1600020, -1600021); +INSERT INTO script_texts (`entry`,`content_default`,`sound`,`type`,`language`,`comment`) values +(-1600020,'King Dred raises his talon menacingly!',0,5,0,'King Dred Talon'), +(-1600021,'King Dred calls for a raptor!',0,5,0,'King Dred Call for Raptor'); \ No newline at end of file diff --git a/sql_mr/mr00001_scriptdev2_fishing_extravaganza.sql b/sql_mr/mr00001_scriptdev2_fishing_extravaganza.sql new file mode 100644 index 0000000..a033054 --- /dev/null +++ b/sql_mr/mr00001_scriptdev2_fishing_extravaganza.sql @@ -0,0 +1,6 @@ +-- add ai text for riggle +DELETE FROM `script_texts` WHERE `entry` IN (-1510356,-1510357,-1510358); +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES +(-1510356, 'Let the Fishing Tournament BEGIN!', 0, 6, 0, 0, 'riggle SAY_START'), +(-1510357, 'We have a winner! $N is the Master Angler!', 0, 6, 0, 0, 'riggle SAY_WINNER'), +(-1510358, 'And the Tastyfish have gone for the week! I will remain for another hour to allow you to turn in your fish!', 0, 6, 0, 0, 'riggle SAY_END'); diff --git a/sql_mr/mr00001_scriptdev2_obsidian_sanctum.sql b/sql_mr/mr00001_scriptdev2_obsidian_sanctum.sql new file mode 100644 index 0000000..ebd7e1b --- /dev/null +++ b/sql_mr/mr00001_scriptdev2_obsidian_sanctum.sql @@ -0,0 +1,45 @@ +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1615042 AND -1615000; +INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES +(-1615042, '%s begins to open a Twilight Portal!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '%s начинает открывать Врата Сумерек!', 0, 5, 0, 0, 'sartharion drake WHISPER_OPEN_PORTAL'), +(-1615041, 'A Vesperon Disciple appears in the Twilight!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ученик Весперон появляется в Сумерках!', 0, 5, 0, 0, 'shadron WHISPER_VESPERON_DICIPLE'), +(-1615040, 'Unlike, I have many talents.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'В отличии от вас, я кое что умею.', 14138, 1, 0, 0, 'vesperon SAY_VESPERON_SPECIAL_2'), +(-1615039, 'Aren''t you tricky...I have a few tricks of my own...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'С вами не просто... Но и со мной не легко...', 14137, 1, 0, 0, 'vesperon SAY_VESPERON_SPECIAL_1'), +(-1615038, 'Father was right about you, Sartharion...You are a weakling!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Отец был прав насчет тебя, Сртарион... Ты слаб!', 14139, 1, 0, 0, 'vesperon SAY_VESPERON_RESPOND'), +(-1615037, 'I will pick my teeth with your bones!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я буду ковыряться в зубах вашими костями!', 14136, 1, 0, 0, 'vesperon SAY_VESPERON_BREATH'), +(-1615036, 'I still have some...fight..in...me...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я все еще... могу... драться...', 14140, 1, 0, 0, 'vesperon SAY_VESPERON_DEATH'), +(-1615035, 'Was that the best you can do?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'И это все, что ты можешь сделать?', 14135, 1, 0, 0, 'vesperon SAY_VESPERON_SLAY_2'), +(-1615034, 'The least you could do is put up a fight...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Все, что тебе удалось, это затеять драку...', 14134, 1, 0, 0, 'vesperon SAY_VESPERON_SLAY_1'), +(-1615033, 'You pose no threat, lesser beings...give me your worst!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Вы безобидны, ничтожные создания... покажите мне, на что вы способны!', 14133, 1, 0, 0, 'vesperon SAY_VESPERON_AGGRO'), +(-1615032, 'The lava surrounding %s churns!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Потомство Весперона появляется в Сумерках!', 0, 5, 0, 0, 'sartharion WHISPER_LAVA_CHURN'), +(-1615031, 'This is why we call you lesser beeings.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Вот поэтому мы и называем вас низшими созданиями.', 14097, 1, 0, 0, 'sartharion SAY_SARTHARION_SLAY_3'), +(-1615030, 'You are the grave disadvantage.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Тебе смертельно не повезло.', 14096, 1, 0, 0, 'sartharion SAY_SARTHARION_SLAY_2'), +(-1615029, 'You will make a fine meal for the hatchlings.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Из тебя выйдет хорошая закуска для детенышей.', 14094, 1, 0, 0, 'sartharion SAY_SARTHARION_SLAY_1'), +(-1615028, 'All will be reduced to ash!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'От вас останется всего лишь горстка пепла!', 14102, 1, 0, 0, 'sartharion SAY_SARTHARION_SPECIAL_4'), +(-1615027, 'How much heat can you take?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Посмотрим, как вы переносите жару!', 14101, 1, 0, 0, 'sartharion SAY_SARTHARION_SPECIAL_3'), +(-1615026, 'Your charred bones will litter the floor!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ваши обугленные кости завалят весь пол!', 14100, 1, 0, 0, 'sartharion SAY_SARTHARION_SPECIAL_2'), +(-1615025, 'Such flammable little insects....', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Мелкая мошка хорошо горит...', 14099, 1, 0, 0, 'sartharion SAY_SARTHARION_SPECIAL_1'), +(-1615024, 'Such is the price... of failure...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Такова цена... неудачи...', 14107, 1, 0, 0, 'sartharion SAY_SARTHARION_DEATH'), +(-1615023, 'Vesperon! The clutch is in danger! Assist me!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Весперон! Кладка в опасности! Помоги мне!', 14104, 1, 0, 0, 'sartharion SAY_SARTHARION_CALL_VESPERON'), +(-1615022, 'Tenebron! The eggs are yours to protect as well!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Тенеброн! Ты тоже должна защищать яйца!', 14106, 1, 0, 0, 'sartharion SAY_SARTHARION_CALL_TENEBRON'), +(-1615021, 'Shadron! Come to me, all is at risk!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Шадрон! На помощь! Все на кону!', 14105, 1, 0, 0, 'sartharion SARTHARION_CALL_SHADRON'), +(-1615020, 'Burn, you miserable wretches!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Гори, злосчастный сброд!', 14098, 1, 0, 0, 'sartharion SAY_SARTHARION_BREATH'), +(-1615019, 'This pathetic siege ends NOW!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Это смехотворное сражение закончиться СЕЙЧАС ЖЕ!', 14103, 1, 0, 0, 'sartharion SAY_SARTHARION_BERSERK'), +(-1615018, 'It is my charge to watch over these eggs. I will see you burn before any harm comes to them!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Моя обязанность - оберегать эти яйца. И вы сгорите прежде, чем хоть пальцем дотронетесь их.', 14093, 1, 0, 0, 'sartharion SAY_SARTHARION_AGGRO'), +(-1615017, '%s begins to hatch eggs in the twilight!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '%s начинает высиживать яйца в сумерках!', 0, 5, 0, 0, 'tenebron WHISPER_HATCH_EGGS'), +(-1615016, 'I am no mere dragon! You will find I am much, much, more...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я не простой дракон! Увидите, совсем, совсем, не простой...', 14127, 1, 0, 0, 'tenebron SAY_TENEBRON_SPECIAL_2'), +(-1615015, 'Arrogant little creatures! To challenge powers you do not yet understand...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Самонадеянные мелкие твари! Вы бросаете вызов силам, от понимания которых, вы еще далеки!', 14126, 1, 0, 0, 'tenebron SAY_TENEBRON_SPECIAL_1'), +(-1615014, 'It is amusing to watch you struggle. Very well, witness how it is done.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Занятно наблюдать, как ты сражаешься. Хорошо, смотри, как надо это делать.', 14128, 1, 0, 0, 'tenebron SAY_TENEBRON_RESPOND'), +(-1615013, 'To darkness I condemn you...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Приговариваю вас к тьме...', 14125, 1, 0, 0, 'tenebron SAY_TENEBRON_BREATH'), +(-1615012, 'I should not... have held back...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Не надо было... вмешиваться...', 14129, 1, 0, 0, 'tenebron SAY_TENEBRON_DEATH'), +(-1615011, 'Typical... Just as I was having fun.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Как обычно... Только я вошла во вкус.', 14124, 1, 0, 0, 'tenebron SAY_TENEBRON_SLAY_2'), +(-1615010, 'No contest.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Не интересно.', 14123, 1, 0, 0, 'tenebron SAY_TENEBRON_SLAY_1'), +(-1615009, 'You have no place here. Your place is among the departed.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Вам здесь не место. Ваше место - среди усопших.', 14122, 1, 0, 0, 'tenebron SAY_TENEBRON_AGGRO'), +(-1615008, 'A Shadron Disciple appears in the Twilight!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ученик Шадрон появляется в Сумерках!', 0, 5, 0, 0, 'shadron WHISPER_SHADRON_DICIPLE'), +(-1615007, 'On your knees!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'На колени!', 14116, 1, 0, 0, 'shadron SAY_SHADRON_SPECIAL_2'), +(-1615006, 'Father tought me well!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Отец не зря учил меня!', 14115, 1, 0, 0, 'shadron SAY_SHADRON_SPECIAL_1'), +(-1615005, 'I will take pity on you Sartharion, just this once.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я пожалею тебя Сартарион, но только в этот раз.', 14117, 1, 0, 0, 'shadron SAY_SHADRON_RESPOND'), +(-1615004, 'You are easily bested! ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Вас легко провести!', 14114, 1, 0, 0, 'shadron SAY_SHADRON_BREATH'), +(-1615003, 'We...are superior! How could this...be...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Мы... выше всех! Как это... возможно...', 14118, 1, 0, 0, 'shadron SAY_SHADRON_DEATH'), +(-1615002, 'Such mediocre resistance!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Какое слабое сопротивление!', 14113, 1, 0, 0, 'shadron SAY_SHADRON_SLAY_2'), +(-1615001, 'You are insignificant!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ты ничтожество!', 14112, 1, 0, 0, 'shadron SAY_SHADRON_SLAY_1'), +(-1615000, 'I fear nothing! Least of all you!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я не боюсь ничего! Тем более вас!', 14111, 1, 0, 0, 'shadron SAY_SHADRON_AGGRO'); diff --git a/sql_mr/mr00001_scriptdev2_oculus.sql b/sql_mr/mr00001_scriptdev2_oculus.sql new file mode 100644 index 0000000..641bc27 --- /dev/null +++ b/sql_mr/mr00001_scriptdev2_oculus.sql @@ -0,0 +1,46 @@ +-- From Lanc (originally from TC) +REPLACE into `script_texts` (entry, content_default, content_loc8, sound, type, language, emote, comment) VALUES +-- Drakos the Interrogator +(-1578000,'The prisoners shall not go free. The word of Malygos is law!','Узники не вырвутся на волю. Слово Малигоса - закон!',13594,1,0,0,'SAY_AGGRO'), +(-1578001,'A fitting punishment!','Заслуженное наказание!',13602,1,0,0,'SAY_KILL_1'), +(-1578002,'Sentence: executed!','Приговор приведен в исполнение!',13603,1,0,0,'SAY_KILL_2'), +(-1578003,'Another casualty of war!','Еще одна жертва войны!',13604,1,0,0,'SAY_KILL_3'), +(-1578004,'The war... goes on.','Война... продолжается.',13605,1,0,0,'SAY_DEATH'), +(-1578005,'It is too late to run!','Поздно убегать!',13598,1,0,0,'SAY_PULL_1'), +(-1578006,'Gather \'round!','Станьте в круг!',13599,1,0,0,'SAY_PULL_2'), +(-1578007,'None shall escape!','Не кто не уйдет живым!',13600,1,0,0,'SAY_PULL_3'), +(-1578008,'I condemn you to death!','Я приговариваю вас к смерти!',13601,1,0,0,'SAY_PULL_4'), +(-1578009,'Tremble, worms!','Трепещите, черви!',13595,1,0,0,'SAY_STOMP_1'), +(-1578010,'I will crush you!','Я раздавлю вас!',13596,1,0,0,'SAY_STOMP_2'), +(-1578011,'Can you fly?','Вы умеете летать?',13597,1,0,0,'SAY_STOMP_3'), +-- Urom +(-1578012,'Poor blind fools!','Несчастные слепые глупцы!',13638,1,0,0,'SAY_AGGRO'), +(-1578013,'If only you understood!','Если бы вы только могли понять!',13641,1,0,0,'SAY_KILL_1'), +(-1578014,'Now do you see? Do you?!','Ну что, теперь тебе понятно? Или нет?!',13642,1,0,0,'SAY_KILL_2'), +(-1578015,'Unfortunate, but necessary.','Сожелею, это было необходимо.',13643,1,0,0,'SAY_KILL_3'), +(-1578016,'Everything I\'ve done... has been for Azeroth...','Все что я делал... было во имя Азерота...',13644,1,0,0,'SAY_DEATH'), +(-1578017,'A taste... just a small taste... of the Spell-Weaver\'s power!','Тень... лиш бледная тень... подленного могущества Хранителя магии!',13639,1,0,0,'SAY_EXPLOSION_1'), +(-1578018,'So much unstable energy... but worth the risk to destroy you!','Много неустойчивой энергии... но чтобы уничтожить вас, я готов рискнуть!',13640,1,0,0,'SAY_EXPLOSION_2'), +(-1578019,'What do we have here... those would defy the Spell-Weaver? Those without foresight or understanding. How could I make you see? Malygos is saving the world from itself! Bah! You are hardly worth my time!','Так, что у нас тут... ааа вы пришли сразится с Хранителем магии? Это вы то лишенные предвидиния и понимания. Как мне заставить вас прозреть? Малигос спасает мир от самого мира! Эх! На вас жаль тратить время!',13635,1,0,0,'SAY_SUMMON_1'), +(-1578020,'Clearly my pets failed. Perhaps another demonstration is in order.','Моих слуг постигла неудача. Возможно потребуется еще одно предупреждение.',13636,1,0,0,'SAY_SUMMON_2'), +(-1578021,'Still you fight. Still you cling to misguided principles. If you survive, you\'ll find me in the center ring.','Вы все еще сражаетесь. Все еще цепляетесь за свои ложные убеждения. Если выживите, встретимся в центральном кругу.',13637,1,0,0,'SAY_SUMMON_3'), +-- Varos +(-1578022,'There will be no mercy!','Пощады не будет!',13649,1,0,0,'SAY_AGGRO'), +(-1578023,'Oculus ours!','Окулус наш!',13654,1,0,0,'SAY_KILL_1'), +(-1578024,'I warned you!','Тебя предупреждали!',13653,1,0,0,'SAY_KILL_2'), +(-1578025,'They are... too strong! Underestimated their... fortitude.','Они... слишком сильны! Я недооценил... их мужество.',13655,1,0,0,'SAY_DEATH'), +(-1578026,'Blast them! Destroy them!','Взорвать их! Изничтожить!',13650,1,0,0,'SAY_STRIKE_1'), +(-1578027,'Take no prisoners! Attack!','Пленных не брать! В Атаку!',13651,1,0,0,'SAY_STRIKE_2'), +(-1578028,'Strike now! Obliterate them!','Нанесите удар! Уничтожте их!',13652,1,0,0,'SAY_STRIKE_3'), +(-1578029,'Intruders, your victory will be short-lived. I am Commander Varos Cloudstrider. My drakes control the skies and protest this conduit. I will see to it personally that the Oculus does not fall into your hands!','Чужаки, ваш триумф будет не долгим. Я командир Варос Заоблачный странник. Мои драконы обозревают небеса и защищают это место. Я позабочусь, чтобы Окулус не достался вам!',13648,1,0,0,'SAY_VAROS_SPAWN'), +-- Eregos +(-1578030,'You brash interlopers are out of your element! I will ground you!','Нахальные невежды, вы все в небесах летаете! Сейчас я вас заземлю!',13623,1,0,0,'SAY_AGGRO'), +(-1578031,'It\'s a long way down...','Как больно падать...',13628,1,0,0,'SAY_KILL_1'), +(-1578032,'Back to the earth with you!','Вернемся на землю!',13629,1,0,0,'SAY_KILL_2'), +(-1578033,'Enjoy the fall!','Наслаждайся полетом!',13630,1,0,0,'SAY_KILL_3'), +(-1578034,'Savor this small victory, foolish little creatures. You and your dragon allies have won this battle. But we will win... the Nexus War.','Празнуйте свой мелкий триумф, призренные глупцы. Вы и ваши союзники драконы победили в этой битве. Но мы одержим верх в войне... Нексуса.',13631,1,0,0,'SAY_DEATH'), +(-1578035,'We command the arcane! It shall not be used against us.','Мы повелеваем тайной магией! Она не будет использована против нас.',13626,1,0,0,'SAY_ARCANE_SHIELD'), +(-1578036,'It is trivial to extinguish your fire!','Как легко погасить ваш огонь!',13627,1,0,0,'SAY_FIRE_SHIELD'), +(-1578037,'No magic of nature will help you now!','Никакая магия природы теперь вас не спасет!',13625,1,0,0,'SAY_NATURE_SHIELD'), +(-1578038,'Such insolence... such arrogance... must be PUNISHED!','Какая заносчивость... какая чандливость... вы заслуживаете КАРЫ!',13624,1,0,0,'SAY_FRENZY'), +(-1578039,'Simpletons! You cannot comprehend the forces you have set in motion. The ley line conduit will not be disrupted! Your defeat shall be absolute!','Простаки! Вам и неведомо какие силы вы привели в действие. Поток энергии не прервется! Вас ждет полный разгром!',13622,1,0,0,'SAY_SPAWN'); diff --git a/sql_mr/mr00001_scriptdev2_ruby_sanctum.sql b/sql_mr/mr00001_scriptdev2_ruby_sanctum.sql new file mode 100644 index 0000000..ec3edf6 --- /dev/null +++ b/sql_mr/mr00001_scriptdev2_ruby_sanctum.sql @@ -0,0 +1,53 @@ +-- sound / text +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1666405 AND -1666000; + +-- xerestrasza +INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES +('-1666000','Help! I am trapped within this tree! I require aid!','Спасите! Я под этим деревом. Мне нужна помощь!','17490','6','0','0','SAY_XERESTRASZA_YELL_1'), +('-1666001','Thank you! I could have not held out for much longer. A terrible thing has happened here.','Спасибо! Без вас я бы долго не продержалась... Здесь произошли страшные события...','17491','0','0','0','SAY_XERESTRASZA_YELL_2'), +('-1666002','We believed that the Sanctum was well fortified, but we were not prepareted for the nature of this assault.','Святилище считалось неприступным, но до сих пор оно не подвергалось такому штурму...','17492','0','0','0','SAY_XERESTRASZA_SAY_1'), +('-1666003','The Black Dragonkin materialized from thin air, and set upon us before we could react.','Черные драконы явились из ниоткуда. Мы даже не успели понять что происходит...','17493','0','0','0','SAY_XERESTRASZA_SAY_2'), +('-1666004','We did not stand a chance. As my brethren perished around me, I managed to retreat hear and bar the entrance.','Силы были неравны, мои братья гибли один за другим. А я спряталась здесь и запечатала вход.','17494','0','0','0','SAY_XERESTRASZA_SAY_3'), +('-1666005','They slaughtered us with cold efficiency, but the true focus of their interest seemed to be the eggs kept here in the sanctum.','Нас убивали с расчетливой жестокостью, но основной целью врага была кладка яиц в святилище.','17495','0','0','0','SAY_XERESTRASZA_SAY_4'), +('-1666006','The commander of the forces on the ground here is a cruel brute named Zarithrian. But I fear there are greater powers at work.',' Атакой руководил кровожадный Заритриан, но, боюсь, тут замешано и более могущественное зло.','17496','0','0','0','SAY_XERESTRASZA_SAY_5'), +('-1666007','In their initial assault I caught a glimpse of their true leader, a fearsome full-grown Twilight Dragon.','В самом начале я ощутила присутствие их настоящего лидера - огромного сумеречного дракона.','17497','0','0','0','SAY_XERESTRASZA_SAY_6'), +('-1666008','I know not the extent of their plans heroes, but I know this: they cannot be allowed to succeed!','Герои, я не знаю чего добиваются эти захватчики. Одно я знаю точно - их нужно остановить!','17498','0','0','0','SAY_XERESTRASZA_SAY_7'), + +-- Halion +('-1666100','Meddlesome insects, you\'re too late! The Ruby Sanctum is lost.','Назойливая мошкара! Вы опоздали. Рубиновое святилище пало!','17499','6','0','0','SAY_HALION_SPAWN'), +('-1666101','Your world teeters on the brink of annihilation. You will all bear witness to the coming of a new age of destruction!','Этот мир вот-вот соскользнет в бездну. Вам выпала честь узреть начало эры РАЗРУШЕНИЯ!','17500','6','0','0','SAY_HALION_AGGRO'), +('-1666102','Another hero falls.','Сколько еще таких героев?','17501','6','0','0','SAY_HALION_SLAY_1'), +('-1666103','Ha Ha Ha!','','17502','6','0','0','SAY_HALION_SLAY_2'), +('-1666104','Relish this victory mortals, for it will be your last. This world will burn with the Master\'s return!','Это ваша последняя победа. Насладитесь сполна ее вкусом. Ибо когда вернется мой господин, этот мир сгинет в огне!','17503','6','0','0','SAY_HALION_DEATH'), +('-1666105','Not good enough!','Надоело!','17504','6','0','0','SAY_HALION_BERSERK'), +('-1666106','The heavens burn!','Небеса в огне!','17505','6','0','0','SAY_HALION_SPECIAL_1'), +('-1666107','Beware the shadow!','','17506','6','0','0','SAY_HALION_SPECIAL_2'), +('-1666108','You will find only suffering within the realm of Twilight. Enter if you dare.','Вы найдете только тьму в мире Сумерек. Входите, если посмеете.','17507','6','0','0','SAY_HALION_PHASE_2'), +('-1666109','I am the light AND the darkness! Cower mortals before the Herald of Deathwing!','Я есть свет и я есть тьма! Трепещите, ничтожные, перед посланником Смертокрыла!','17508','6','0','0','SAY_HALION_PHASE_3'), +('-1666110','The orbining spheres pulse with dark energy!','Во вращающихся сферах пульсирует темная энергия!','0','3','0','0',''), +('-1666111','Your companions\' effort force Halion further into the physical realm!','Ваши союзники протолкнули Халиона дальше в физический мир!','0','3','0','0',''), +('-1666112','Your companions\' effort force Halion further into the twilight realm!','Ваши союзники протолкнули Халиона дальше в реальный мир!','0','3','0','0',''), +('-1666113','Находясь в покое в одном из миров, Халион восстанавливает жизненные силы.','Находясь в покое в одном из миров, Халион восстанавливает жизненные силы.','0','3','0','0',''), + +-- Zarthrian +('-1666200','Alexstrasza has chosen capable allies. A pity that I must end you!','Алекстраза выбрала достойных союзников... Жаль, что придется ПРИКОНЧИТЬ ВАС!','17512','6','0','0','SAY_ZARITHRIAN_AGGRO'), +('-1666201','You thought you stood a chance?','Глупо было и надеяться!','17513','6','0','0','SAY_ZARITHRIAN_SLAY_1'), +('-1666202','It\'s for the best.','Все только к лучшему!','17514','6','0','0','SAY_ZARITHRIAN_SLAY_2'), +('-1666203','Halion! I\'m...aah!','ХАЛИОН! Я...','17515','6','0','0','SAY_ZARITHRIAN_DEATH'), +('-1666204','Turn them to ash, minions!','Слуги! Обратите их в пепел!','17516','6','0','0','SAY_ZARITHRIAN_SPECIAL_1'), + +-- baltharus +('-1666300','Ah, the entertainment has arrived...','А-а-а, цирк приехал.','17520','6','0','0','SAY_BALTHARUS_AGGRO'), +('-1666301','Baltharus leaves no survivors!','Балтар не оставляет живых!','17521','6','0','0','SAY_BALTHARUS_SLAY_1'), +('-1666302','This world has enough heroes!','В мире хватает героев и без тебя...','17522','6','0','0','SAY_BALTHARUS_SLAY_2'), +('-1666303','I...didn\'t see that coming...','Как… это могло произойти?..','17523','1','0','0','SAY_BALTHARUS_DEATH'), +('-1666304','Twice the pain and half the fun!','Вдвое сильнее страдание.','17524','6','0','0','SAY_BALTHARUS_SPECIAL_1'), +('-1666305','Your power wanes, ancient one! Soon, you will join your friends!','Твоя сила на исходе, Древнейшая! Скоро ты присоединишься к своим друзьям!','17525','6','0','0','SAY_BALTHARUS_YELL'), + +-- saviana +('-1666400','You will suffer for this intrusion...','Ваш-ш-ши муки с-cтанут платой за это вторжение!','17528','6','0','0','SAY_SAVIANA_AGGRO'), +('-1666401','As it should be!','Так и должно быть!','17529','6','0','0','SAY_SAVIANA_SLAY_1'), +('-1666402','Halion will be pleased...','Халион будет доволен!','17530','6','0','0','SAY_SAVIANA_SLAY_2'), +('-1666403','','О...','17531','6','0','0','SAY_SAVIANA_DEATH'), +('-1666404','Burn in the master\'s flame!','Горите в огне хозяина!','17532','6','0','0','SAY_SAVIANA_SPECIAL_1'), +('-1666405','','|3-3(%s) впадает в исступление!','0','3','0','0',''); \ No newline at end of file diff --git a/sql_mr/mr00001_scriptdev2_trial_of_crusader.sql b/sql_mr/mr00001_scriptdev2_trial_of_crusader.sql new file mode 100644 index 0000000..0d742f9 --- /dev/null +++ b/sql_mr/mr00001_scriptdev2_trial_of_crusader.sql @@ -0,0 +1,536 @@ +-- TOC original texts/sounds (thanks to griffonheart) +-- english translation by Cristy +-- reworked by rsa + +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1713799 AND -1713499; +INSERT INTO `script_texts` +(`comment`,`sound`, `entry`,`content_loc8`,`type`,`language`,`emote`,`content_default`) VALUES +('34996','16036','-1713500','Добро пожаловать, герои! Вы услышали призыв Серебряного Авангарда и без колебаний откликнулись на него! В этом колизее вам предстоит сразиться с опаснейшими противниками. Те из вас, кто смогут пережить испытания, войдут в ряды Серебряного Авангарда, который направится в Цитадель Ледяной Короны.','6','0','0','Welcome champions, you have heard the call of the argent crusade and you have boldly answered. It is here in the crusaders coliseum that you will face your greatest challenges. Those of you who survive the rigors of the coliseum will join the Argent Crusade on its marsh to ice crown citadel.'), +('34996','16038','-1713501','Из самых глубоких и темных пещер Грозовой Гряды был призван Гормок Пронзающий Бивень! В бой, герои!','6','0','0','Hailing from the deepest, darkest carverns of the storm peaks, Gormok the Impaler! Battle on, heroes!'), +('34990','16069','-1713502','Твои чудовища не чета героям Альянса, Тирион!','6','0','0','Your beast will be no match for my champions Tirion!'), +('34995','16026','-1713702','Я видел и более достойных соперников в багровом круге. Ты напрасно тратишь наше время, паладин.','6','0','0','Your beast will be no match for my champions Tirion!'), +('34796','0','-1713601','Мои рабы! Уничтожьте врага!','3','0','0','My slaves! Destroy the enemy!'), +('34996','16039','-1713503','Приготовьтесь к схватке с близнецами-чудовищами, Кислотной Утробой и Жуткой Чешуей!','6','0','0','Steel yourselves, heroes, for the twin terrors Acidmaw and Dreadscale. Enter the arena!'), +('34799','0','-1713504','После гибели товарища %s приходит в ярость!','3','0','0','After the death of sister %s goes berserk!'), +('34996','16040','-1713505','В воздухе повеяло ледяным дыханием следующего бойца: на арену выходит Ледяной Рев! Сражайтесь или погибните, чемпионы!','6','0','0','The air freezes with the introduction of our next combatant, Icehowl! Kill or be killed, champions!'), +('34797','0','-1713506','%s глядит на |3-3($n) и испускает гортанный вой!','3','0','0','%S looks at |3-3($n) and emits a guttural howl!'), +('34797','0','-1713507','%s врезается в стену Колизея и теряет ориентацию!','3','0','0','%S crashes into a wall of the Colosseum and lose focus!'), +('34797','0','-1713508','|3-3(%s) охватывает кипящая ярость, и он растаптывает всех на своем пути!','3','0','0','|3-3(%s) covers boiling rage, and he tramples all in its path!'), +('34996','16041','-1713509','Все чудовища повержены!','6','0','0','All the monsters defeated!'), +('34996','16042','-1713709','Прискорбно. Как яростно они не бились, чудовища Нордскола оказались сильнее. Почтим память павших героев минутой молчания.','6','0','0',''), +('34996','16043','-1713510','Сейчас великий чернокнижник Вилфред Непопамс призовет вашего нового противника. Готовьтесь к бою!','6','0','0','Grand Warlock Wilfred Fizzlebang will summon forth your next challenge. Stand by for his entry!'), +('35458','16268','-1713511','Благодарю, Верховный лорд. А теперь, смельчаки, я приступаю к ритуалу призыва. Когда я закончу, появится грозный демон!','6','0','0','Thank you, Highlord! Now challengers, I will begin the ritual of summoning! When I am done, a fearsome Doomguard will appear!'), +('35458','16269','-1713512','Готовьтесь к забвению!','6','0','0','Prepare for oblivion!'), +('35458','16270','-1713513','АГА! Получилось! Трепещи перед всевластным Вилфредом Непопамсом, мастером призыва! Ты покорен мне, демон!','6','0','0','Ah ha! Behold the absolute power of Wilfred Fizzlebang, master summoner! You are bound to ME, demon!'), +('34780','16143','-1713514','Ничтожный гном! Тебя погубит твоя самоуверенность!','6','0','0','Trifling gnome, your arrogance will be your undoing!'), +('35458','16271','-1713515','Тут я главный!','6','0','0','But I am in charge here-'), +('35458','0','-1713715','Ну вот, опять я облажался...','6','0','0','Agonized Scream!!!'), +('34996','16044','-1713516','Быстрей, герои, расправьтесь с повелителем демонов, прежде чем он откроет портал в свое темное царство!','6','0','0','Quickly, heroes! Destroy the demon lord before it can open a portal to its twisted demonic realm!'), +('34780','16144','-1713517','Перед вами Джараксус, эредарский повелитель Пылающего Легиона!','6','0','0','You face Jaraxxus, eredar lord of the Burning Legion!'), +('34780','0','-1713518','На вас направлено |cFFFF0000Пламя Легиона!|r','3','0','0','You have been sent |cFFFF0000Plamya Legion!|R'), +('34780','0','-1713519','%s создает врата Пустоты!','3','0','0','%S creates the gates of the Void!'), +('34780','0','-1713520','%s создает |cFF00FF00Вулкан инферналов!|r','3','0','0','%S creates |cFF00FF00Vulkan Infernals!|R'), +('34780','16150','-1713521','Явись, сестра! Господин зовет!','6','0','0','Come forth, sister! Your master calls!'), +('34780','0','-1713522','$n $gподвергся:подверглась; |cFF00FFFFИспепелению плоти!|r Исцелите $gего:ее;!','3','0','0','$N $gpodvergsya:been; |cFF00FFFFIspepeleniyu flesh!|R Heal $gego:it;!'), +('34780','16149','-1713523','ПЛОТЬ ОТ КОСТИ!','6','0','0','FLESH FROM BONE!'), +('34780','16151','-1713524','ИНФЕРНАЛ!','6','0','0','INFERNO!'), +('34780','16147','-1713525','Мое место займут другие. Ваш мир обречен...','6','0','0','Another will take my place. Your world is doomed.'), +('34996','16045','-1713526','Гибель Вилфреда Непопамса весьма трагична и должна послужить уроком тем, кто смеет беспечно играть с темной магией. К счастью, вы победили демона, и теперь вас ждет новый противник.','6','0','0','The loss of Wilfred Fizzlebang, while unfortunate, should be a lesson to those that dare dabble in dark magic. Alas, you are victorious and must now face the next challenge.'), +('34995','16021','-1713527','Подлые собаки Альянса! Вы выпустили повелителя демонов на воинов Орды? Ваша смерть будет быстрой!','6','0','0','Treacherous Alliance dogs! You summon a demon lord against warriors of the Horde!? Your deaths will be swift!'), +('34990','16064','-1713528','Альянсу не нужна помощь повелителя демонов, чтобы справиться с ордынским отродьем, пес!','6','0','0','The Alliance doesnt need the help of a demon lord to deal with Horde filth. Come, pig!'), +('34996','16046','-1713529','Тише! Успокойтесь! Никакого заговора здесь нет. Чернокнижник заигрался и поплатился за это. Турнир продолжается!','6','0','0','Everyone, calm down! Compose yourselves! There is no conspiracy at play here. The warlock acted on his own volition - outside of influences from the Alliance. The tournament must go on!'), +('34996','16047','-1713530','В следующем бою вы встретитесь с могучими рыцарями Серебряного Авангарда! Лишь победив их, вы заслужите достойную награду.','6','0','0','The next battle will be against the Argent Crusades most powerful knights! Only by defeating them will you be deemed worthy...'), +('34995','16023','-1713531','Орда требует справедливости! Мы вызываем Альянс на бой! Позволь нам встать на место твоих рыцарей, паладин. Мы покажем этим псам, как оскорблять Орду!','6','0','0','The Horde demands justice! We challenge the Alliance. Allow us to battle in place of your knights, paladin. We will show these dogs what it means to insult the Horde!'), +('34995','16066','-1713731','Они хотели запятнать честь Альянса, они пытались нас оклеветать! Я требую справедливости! Тириорн, позволь моим чемпионам сражаться вместо твоих рыцарей. Мы бросаем вызов Орде!','6','0','0','Our honor has been besmirched! They make wild claims and false accusations against us. I demand justice! Allow my champions to fight in place of your knights, Tirion. We challenge the Horde!'), +('34996','16048','-1713532','Хорошо. Да будет так. Сражайтесь с честью!','','0','0','Very well, I will allow it. Fight with honor!'), +('34995','16022','-1713533','Не щадите никого, герои Орды! ЛОК-ТАР ОГАР!','6','0','0','Show them no mercy, Horde champions! LOK-TAR OGAR!'), +('34995','16065','-1713733','Сражайтесь во славу Альянса, герои! Во имя вашего короля!','6','0','0','Fight for the glory of the Alliance, heroes! Honor your king and your people!'), +('34990','16067','-1713534','СЛАВА АЛЬЯНСУ!','6','0','0','GLORY OF THE ALLIANCE!'), +('34990','16024','-1713734','Это было лишь пробой того, что ждёт нас в будущем. За Орду!','6','0','0','LOK-TAR OGAR!'), +('34996','16049','-1713535','Пустая и горькая победа. После сегодняшних потерь мы стали слабее как целое. Кто еще, кроме Короля-лича, выиграет от подобной глупости? Пали великие воины. И ради чего? Истинная опасность еще впереди - нас ждет битва с Королем-личом.','6','0','0','A shallow and tragic victory. We are weaker as a whole from the losses suffered today. Who but the Lich King could benefit from such foolishness? Great warriors have lost their lives. And for what? The true threat looms ahead - the Lich King awaits us all in death.'), +('34996','16050','-1713536','Лишь сплотившись, вы сможете пройти последнее испытание. Из глубин Ледяной Короны навстречу вам подымаются две могучие воительницы Плети: жуткие валькирии, крылатые вестницы Короля-лича!','6','0','0','Only by working together will you overcome the final challenge. From the depths of Icecrown come two of the Scourges most powerful lieutenants: fearsome valkyr, winged harbingers of the Lich King!'), +('34996','16037','-1713537','Пусть состязания начнутся!','6','0','0','Let the games begin!'), +('34497','0','-1713538','%s начинает читать заклинание|cFFFFFFFFСветлая воронка!|r Переключение к |cFFFFFFFFСветлой|r сущности!','3','0','0','%S begins to read a spell |cFFFFFFFFSvetlaya funnel!|R switch to |cFFFFFFFFSvetloy|r essence!'), +('34497','0','-1713539','%s начинает читать заклинание Договор близнецов!','3','0','0','%S begins to read the spell Treaty twins!'), +('34496','0','-1713540','%s начинает читать заклинание |cFF9932CDТемная воронка!|r Переключение к |cFF9932CDТемной|r сущности!','3','0','0','%S begins to read a spell |cFF9932CDTemnaya funnel!|R switch to |cFF9932CDTemnoy|r essence!'), +('34497','16272','-1713541','Во имя темного повелителя. Во имя Короля-лича. Вы. Умрете.','6','0','0','In the name of our dark master. For the Lich King. You. Will. Die.'), +('34496','16272','-1713741','Во имя светлого повелителя. Во имя Короля-лича. Вы. Умрете.','6','0','0','In the name of our dark master. For the Lich King. You. Will. Die.'), +('34496','16279','-1713542','Да поглотит вас Свет!','6','0','0','Let the light consume you!'), +('34496','16277','-1713543','Пустое место!','6','0','0','Empty place!'), +('34497','16276','-1713544','Тебя оценили и признали ничтожеством.','6','0','0','You appreciated and acknowledged nothing.'), +('34497','16274','-1713545','ХАОС!','3','0','0','CHAOS!'), +('34496','16278','-1713546','Да поглотит вас Тьма!','6','0','0','Let the dark consume you!'), +('34496','16275','-1713547','Плеть не остановить...','6','0','0','The Scourge cannot be stopped...'), +('34990','16068','-1713548','Против Альянса не выстоять даже самым сильным прислужникам Короля-лича! Все славьте наших героев!','6','0','0','Against the Alliance can not stand even the most powerful henchmen of the Lich King! All glorify our heroes!'), +('34995','16025','-1713748','Ты все еще сомневаешься в могуществе Орды, паладин? Мы примем любой вызов!','6','0','0','Against the Horde does not withstand even the most powerful henchmen of the Lich King! All glorify our heroes!'), +('34996','16051','-1713549','Король-лич понес тяжелую потерю! Вы проявили себя как бесстрашные герои Серебряного Авангарда! Мы вместе нанесем удар по Цитадели Ледяной Короны и разнесем в клочья остатки Плети! Нет такого испытания, которое мы бы не могли пройти сообща!','6','0','0','A mighty blow has been dealt to the Lich King! You have proven yourselves able bodied champions of the Argent Crusade. Together we will strike at Icecrown Citadel and destroy what remains of the Scourge! There is no challenge that we cannot face united!'), +('16980','16321','-1713550','Будет тебе такое испытание, Фордринг.','6','0','0','You will have your challenge, Fordring.'), +('34996','16052','-1713551','Артас! Нас гораздо больше! Сложи Ледяную Скорбь, и я подарю тебе заслуженную смерть.','6','0','0','Arthas! You are hopelessly outnumbered! Lay down Frostmourne and I will grant you a just death.'), +('35877','16322','-1713552','Нерубианцы воздвигли целую империю под льдами Нордскола. Империю, на которой вы так бездумно построили свои дома. МОЮ ИМПЕРИЮ.','6','0','0','The Nerubians built an empire beneath the frozen wastes of Northrend. An empire that you so foolishly built your structures upon. MY EMPIRE.'), +('16980','16323','-1713553','Души твоих павших чемпионов будут принадлежать мне, Фордринг.','6','0','0','The souls of your fallen champions will be mine, Fordring.'), +('34564','16235','-1713554','А вот и гости заявились, как и обещал господин.','6','0','0','Ahhh... Our guests arrived, just as the master promised.'), +('34564','16234','-1713555','Это место станет вашей могилой!','3','0','0','This place will serve as your tomb!'), +('34564','16240','-1713556','Ауум на-л ак-к-к-к, ишшш. Вставайте, слуги мои. Время пожирать...','6','0','0','Auum na-l ak-k-k-k, isshhh. Rise, minions. Devour...'), +('34564','0','-1713557','%s зарывается в землю!','3','0','0','%S buries itself in the earth!'), +('34660','0','-1713558','Шипы %s преследуют $n!','3','0','0','%s spikes pursuing $n!'), +('34564','0','-1713559','%s вылезает на поверхность!','3','0','0','%S getting out of the ground!'), +('34564','16241','-1713560','Стая поглотит вас!','6','0','0','The swarm shall overtake you!'), +('34564','0','-1713561','%s выпускает рой жуков-трупоедов, чтобы восстановить здоровье!','3','0','0','%S produces a swarm of beetles Peon to restore your health!'), +('34564','16236','-1713562','Ф-лаккх шир!','6','0','0','F-lakkh shir!'), +('34564','16237','-1713563','Еще одна душа накормит хозяина.','6','0','0','Another soul to sate the host.'), +('34564','16238','-1713564','Я подвел тебя, господин...','6','0','0','I have failed you, master...'), +('36095','0','-1713565','Чемпионы, вы прошли испытание великого крестоносца! Знайте, что только самые сильные искатели приключений могли рассчитывать завершить это испытание.','6','0','0','Champions, you are alive! Not only have you defeated every challenge of the Trial of the Crusader, but thwarted Arthas directly! Your skill and cunning will prove to be a powerful weapon against the Scourge. Well done! Allow one of my mages to transport you back to the surface!'), +('36095','0','-1713566','Позвольте вручить вам эти сундуки в качестве заслуженной награды, и пусть его содержимое послужит вам верой и правдой в походе против Артаса в самом центре Цитадели Ледяной Короны!','6','0','0','Let me hand you the chests as a reward, and let its contents will serve you faithfully in the campaign against Arthas in the heart of the Icecrown Citadel!'); + +-- Trial of the crusader spelltable +DELETE FROM `boss_spell_table` WHERE `entry` IN +(34496,34497,34564,34605,34607,34780,34784,34796,34797,34799, 34800, 34813, 34815, 34826, 35144, 35176, 34606, 34660); + +-- Eydis Darkbane +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34496, 64238, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34496, 65768, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34496, 65874, 0, 0, 0, 15000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34496, 65876, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34496, 65879, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34496, 65916, 0, 0, 0, 15000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34496, 66058, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34496, 66069, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(34496, 67282, 0, 0, 0, 8000, 0, 6000, 0, 12000, 0, 8000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(34496, 34628, 45000, 45000, 1, 1, 2, 2, 10, 100, 0, 11); + +-- Fjola Lightbane +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34497, 64238, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34497, 65766, 67270, 67271, 67272, 30000, 30000, 30000, 30000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34497, 65858, 0, 0, 0, 15000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34497, 65875, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34497, 65879, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34497, 65916, 0, 0, 0, 15000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34497, 66046, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34497, 66075, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(34497, 67297, 0, 0, 0, 8000, 0, 6000, 0, 0, 12000, 0, 8000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(34497, 34630, 45000, 45000, 1, 1, 2, 2, 10, 100, 0, 11); + +-- AnubArak +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34564, 26662, 26662, 26662, 26662, 600000, 600000, 600000, 600000, 600000, 600000, 600000, 600000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34564, 34605, 0, 0, 0, 90000, 0, 0, 0, 90000, 0, 0, 0, 0, 0, 0, 0, 20.0, 100.0, 0, 0, 0, 0, 9, 1, 0, 0, NULL), +(34564, 34660, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 0, 5.0, 10.0, 0, 0, 0, 0, 9, 1, 0, 0, NULL), +(34564, 34606, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 0, 0, 0, 0, 10.0, 100.0, 0, 0, 0, 0, 9, 1, 0, 0, NULL), +(34564, 34607, 0, 0, 0, 70000, 0, 0, 0, 90000, 0, 0, 0, 0, 0, 0, 0, 20.0, 100.0, 0, 0, 0, 0, 9, 1, 0, 0, NULL), +(34564, 53421, 53421, 53421, 53421, 45000, 45000, 45000, 45000, 60000, 60000, 60000, 60000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, NULL), +(34564, 66169, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34564, 66012, 66012, 66012, 66012, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34564, 66013, 67700, 68509, 68510, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34564, 66339, 66339, 66339, 66339, 5000, 5000, 5000, 5000, 10000, 10000, 10000, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 0, 0, NULL), +(34564, 67574, 0, 0, 0, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 1, 0, NULL), +(34564, 66118, 67630, 68646, 68647, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34564, 66240, 0, 0, 0, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34564, 66125, 0, 0, 0, 10000, 0, 0, 0, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34564, 67730, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL); + +-- Anub'arak scarab +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34605, 66092, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34605, 67861, 0, 0, 0, 5000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL); + +-- Cold sphere +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34606, 66193, 67855, 67856, 67857, 5000, 0, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL); + +-- Anub'arak spike +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34660, 67574, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(34660, 66193, 67855, 67856, 67857, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34660, 65920, 65921, 65922, 65923, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +-- Nerubian Borrower +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34607, 66129, 66129, 66129, 66129, 10000, 10000, 10000, 10000, 20000, 20000, 20000, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(34607, 67322, 67322, 67322, 67322, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, NULL), +(34607, 67847, 67847, 67847, 67847, 5000, 5000, 5000, 5000, 20000, 20000, 20000, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL); + +-- Jaraxxus +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34780, 26662, 26662, 26662, 26662, 600000, 600000, 600000, 600000, 600000, 600000, 600000, 600000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34780, 66197, 68123, 68124, 68125, 30000, 30000, 30000, 30000, 45000, 45000, 45000, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34780, 66237, 67049, 67050, 67051, 40000, 40000, 40000, 40000, 90000, 90000, 40000, 90000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(34780, 66242, 67060, 67060, 67060, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34780, 66264, 66264, 68405, 68405, 60000, 60000, 60000, 60000, 60000, 60000, 60000, 60000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 1, 1, 0, NULL), +(34780, 66528, 66528, 67029, 67029, 15000, 15000, 15000, 15000, 25000, 25000, 25000, 25000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34780, 66532, 66963, 66964, 66965, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34780, 67108, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34780, 66255, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34780, 34825, 0, 0, 0, 60000, 0, 0, 0, 60000, 0, 0, 0, 0, 0, 0, 0, 20.0, 80.0, 0, 0, 0, 0, 10, 0, 0, 0, NULL), +(34780, 34813, 0, 0, 0, 60000, 0, 0, 0, 60000, 0, 0, 0, 0, 0, 0, 0, 20.0, 60.0, 0, 0, 0, 0, 10, 0, 0, 0, NULL); + +-- NPC Legion flame +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34784, 66199, 68127, 68126, 68128, 30000, 30000, 30000, 30000, 45000, 45000, 45000, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL); + +-- Gormok +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34796, 34800, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 20.0, 80.0, 0, 0, 0, 0, 9, 0, 0, 0, NULL), +(34796, 66331, 67477, 67478, 67479, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34796, 66636, 0, 0, 0, 15000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, NULL), +(34796, 67648, 0, 0, 0, 15000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +-- Icehowl +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34797, 66683, 67660, 67661, 67662, 30000, 30000, 30000, 30000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34797, 66689, 67650, 67651, 67652, 25000, 25000, 25000, 25000, 40000, 40000, 40000, 40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34797, 66734, 0, 0, 0, 4000, 4000, 3000, 3000, 4000, 4000, 3000, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(34797, 66770, 67654, 67655, 67656, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(34797, 66758, 0, 0, 0, 15000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34797, 68667, 0, 0, 0, 8000, 0, 0, 0, 8000, 0, 0, 0, 0, 0, 0, 0, 200.0, 0, 0, 0, 0, 0, 12, 0, 1, 0, NULL), +(34797, 66759, 0, 0, 0, 300000, 0, 0, 0, 300000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34797, 67345, 67663, 67664, 67665, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL); + +-- Dreadscale +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34799, 53421, 0, 0, 0, 40000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34799, 66794, 67644, 67645, 67646, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34799, 66796, 67632, 67633, 67634, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34799, 66821, 66821, 66821, 66821, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34799, 66879, 67624, 67625, 67626, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34799, 66902, 67627, 67628, 67629, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(34799, 66883, 67641, 67642, 67643, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(34799, 35176, 0, 0, 0, 30000, 30000, 45000, 60000, 30000, 30000, 45000, 60000, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 11, 0, 0, 0, NULL), +(34799, 68335, 68335, 68335, 68335, 20000, 20000, 20000, 20000, 20000, 20000, 20000, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +-- Snobold vassal +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34800, 66313, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(34800, 66317, 0, 0, 0, 10000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(34800, 66318, 0, 0, 0, 10000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(34800, 66406, 0, 0, 0, 10000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, NULL), +(34800, 66407, 0, 0, 0, 10000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(34800, 66408, 0, 0, 0, 10000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(34800, 66636, 0, 0, 0, 15000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 1, 0, NULL); + +-- Infernal volcano +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34813, 66255, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(34813, 66258, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, NULL); + +-- Fel infernal +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34815, 66494, 66494, 66494, 66494, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34815, 67047, 67047, 67047, 67047, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +-- Mistress of pain +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(34826, 66316, 66316, 66316, 66316, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(34826, 67098, 67098, 67098, 67098, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL); + +-- Acidmaw +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(35144, 53421, 0, 0, 0, 40000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, NULL), +(35144, 66794, 67644, 67645, 67646, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(35144, 66819, 66819, 66819, 66819, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(35144, 66824, 67612, 67613, 67614, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(35144, 66880, 67606, 67607, 67608, 15000, 15000, 15000, 15000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(35144, 66901, 0, 0, 0, 15000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(35144, 66883, 67641, 67642, 67643, 20000, 20000, 20000, 20000, 30000, 30000, 30000, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL), +(35144, 35176, 0, 0, 0, 30000, 30000, 45000, 60000, 30000, 30000, 45000, 60000, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 11, 0, 0, 0, NULL), +(35144, 68335, 68335, 68335, 68335, 20000, 20000, 20000, 20000, 20000, 20000, 20000, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +-- Slime pool +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(35176, 63084, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, NULL), +(35176, 66882, 0, 0, 0, 500, 0, 0, 0, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +-- Retro Paladins +DELETE FROM `boss_spell_table` WHERE `entry` IN (34471,34456); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34471, 66011, 0, 180000, 180000, 3), +(34471, 66003, 0, 6000, 18000, 3), +(34471, 66010, 0, 0, 3600001, 1), +(34471, 66006, 0, 10000, 10000, 3), +(34471, 66007, 0, 40000, 40000, 3), +(34471, 66009, 0, 300000, 300000, 1), +(34471, 66005, 68018, 8000, 15000, 3), +(34471, 66008, 0, 60000, 60000, 4), +(34471, 66004, 68021, 10000, 15000, 1); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34456, 66011, 0, 180000, 180000, 3), +(34456, 66003, 0, 6000, 18000, 3), +(34456, 66010, 0, 0, 3600001, 1), +(34456, 66006, 0, 10000, 10000, 3), +(34456, 66007, 0, 40000, 40000, 3), +(34456, 66009, 0, 300000, 300000, 1), +(34456, 66005, 68018, 8000, 15000, 3), +(34456, 66008, 0, 60000, 60000, 4), +(34456, 66004, 68021, 10000, 15000, 1); + +-- Pet's +DELETE FROM `boss_spell_table` WHERE `entry` IN (35465,35610); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(35465, 67518, 0, 15000, 30000, 3), +(35465, 67519, 0, 15000, 30000, 3); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(35610, 67793, 67980, 67981, 67982, 5000, 10000, 3); + +-- Druids +DELETE FROM `boss_spell_table` WHERE `entry` IN (34460,34451); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34460, 66093, 67957, 5000, 15000, 14), +(34460, 66066, 67965, 10000, 20000, 14), +(34460, 66067, 67968, 10000, 20000, 14), +(34460, 66065, 67971, 10000, 20000, 14), +(34460, 66086, 67974, 40000, 90000, 1), +(34460, 65860, 0, 45000, 90000, 1), +(34460, 66068, 0, 15000, 30000, 6), +(34460, 66071, 0, 40000, 80000, 1); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34451, 66093, 67957, 10000, 20000, 14), +(34451, 66066, 67965, 10000, 20000, 14), +(34451, 66067, 67968, 10000, 20000, 14), +(34451, 66065, 67971, 10000, 20000, 14), +(34451, 66086, 67974, 40000, 90000, 1), +(34451, 65860, 0, 45000, 90000, 1), +(34451, 66068, 0, 15000, 30000, 6), +(34451, 66071, 0, 40000, 80000, 1); + +-- Warriors +DELETE FROM `boss_spell_table` WHERE `entry` IN (34475,34453); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34475, 65947, 0, 20000, 30000, 1), +(34475, 65930, 0, 10000, 60000, 3), +(34475, 65926, 0, 6000, 25000, 3), +(34475, 68764, 0, 3000, 25000, 3), +(34475, 65935, 0, 20000, 80000, 3), +(34475, 65924, 0, 30000, 90000, 1), +(34475, 65936, 0, 5000, 25000, 3), +(34475, 65940, 0, 10000, 25000, 3), +(34475, 65932, 0, 30000, 60000, 1); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34453, 65947, 0, 20000, 30000, 1), +(34453, 65930, 0, 10000, 60000, 3), +(34453, 65926, 0, 6000, 25000, 3), +(34453, 68764, 0, 3000, 25000, 3), +(34453, 65935, 0, 20000, 80000, 3), +(34453, 65924, 0, 30000, 90000, 1), +(34453, 65936, 0, 5000, 25000, 3), +(34453, 65940, 0, 10000, 25000, 3), +(34453, 65932, 0, 30000, 60000, 1); + +-- Mage +DELETE FROM `boss_spell_table` WHERE `entry` IN (34468,34449); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34468, 65799, 67995, 3000, 10000, 3), +(34468, 65791, 67998, 5000, 15000, 3), +(34468, 65800, 68001, 5000, 15000, 3), +(34468, 65793, 0, 7000, 25000, 1), +(34468, 65807, 68004, 5000, 15000, 4), +(34468, 65790, 0, 5000, 15000, 6), +(34468, 65792, 0, 7000, 15000, 1), +(34468, 65802, 0, 0, 3600001, 1), +(34468, 65801, 0, 15000, 40000, 4); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34449, 65799, 67995, 3000, 10000, 3), +(34449, 65791, 67998, 5000, 15000, 3), +(34449, 65800, 68001, 5000, 15000, 3), +(34449, 65793, 0, 7000, 25000, 1), +(34449, 65807, 68004, 5000, 15000, 4), +(34449, 65790, 0, 5000, 15000, 6), +(34449, 65792, 0, 7000, 15000, 1), +(34449, 65802, 0, 0, 3600001, 1), +(34449, 65801, 0, 15000, 40000, 4); + +-- Shaman +DELETE FROM `boss_spell_table` WHERE `entry` IN (34463,34455); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34463, 66055, 68115, 5000, 15000, 14), +(34463, 66053, 68118, 5000, 15000, 14), +(34463, 66056, 0, 5000, 15000, 14), +(34463, 65983, 0, 30000, 60000, 1), +(34463, 65980, 0, 5000, 15000, 6), +(34463, 66054, 0, 10000, 40000, 4), +(34463, 66063, 0, 5000, 15000, 14), +(34463, 65973, 68100, 5000, 15000, 4); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34455, 66055, 68115, 5000, 15000, 14), +(34455, 66053, 68118, 5000, 15000, 14), +(34455, 66056, 0, 5000, 15000, 14), +(34455, 65983, 0, 30000, 60000, 1), +(34455, 65980, 0, 5000, 15000, 6), +(34455, 66054, 0, 10000, 40000, 4), +(34455, 66063, 0, 5000, 15000, 14), +(34455, 65973, 68100, 5000, 15000, 4); + +-- Enh shaman +DELETE FROM `boss_spell_table` WHERE `entry` IN (34470,34444); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34470, 65973, 0, 5000, 8000, 4), +(34470, 65974, 0, 5000, 8000, 3), +(34470, 65983, 0, 25000, 600000, 1), +(34470, 65970, 0, 5000, 90000, 3); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34444, 65973, 0, 5000, 8000, 4), +(34444, 65974, 0, 5000, 8000, 3), +(34444, 65983, 0, 25000, 600000, 1), +(34444, 65970, 0, 5000, 90000, 3); + +-- Hunter +DELETE FROM `boss_spell_table` WHERE `entry` IN (34467,34448); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34467, 65583, 67978, 3000, 8000, 3), +(34467, 65871, 0, 20000, 120000, 1), +(34467, 65869, 0, 12000, 20000, 1), +(34467, 65866, 67984, 3000, 8000, 3), +(34467, 65880, 0, 12000, 30000, 1), +(34467, 65868, 67989, 4000, 8000, 3), +(34467, 65867, 0, 4000, 8000, 3), +(34467, 66207, 0, 4000, 8000, 3), +(34467, 65877, 0, 7000, 60000, 4); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34448, 65583, 67978, 3000, 8000, 3), +(34448, 65871, 0, 20000, 120000, 1), +(34448, 65869, 0, 12000, 20000, 1), +(34448, 65866, 67984, 3000, 8000, 3), +(34448, 65880, 0, 12000, 30000, 1), +(34448, 65868, 67989, 4000, 8000, 3), +(34448, 65867, 0, 4000, 8000, 3), +(34448, 66207, 0, 4000, 8000, 3), +(34448, 65877, 0, 7000, 60000, 4); + +-- Rogue +DELETE FROM `boss_spell_table` WHERE `entry` IN (34472,34454); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34472, 65955, 0, 8000, 10000, 3), +(34472, 65956, 0, 12000, 120000, 1), +(34472, 65960, 0, 7000, 8000, 6), +(34472, 65961, 0, 20000, 120000, 1), +(34472, 66178, 0, 10000, 8000, 3), +(34472, 65954, 0, 5000, 8000, 3), +(34472, 65957, 68095, 15000, 20000, 3); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34454, 65955, 0, 8000, 10000, 3), +(34454, 65956, 0, 12000, 120000, 1), +(34454, 65960, 0, 7000, 8000, 6), +(34454, 65961, 0, 20000, 120000, 1), +(34454, 66178, 0, 10000, 8000, 3), +(34454, 65954, 0, 5000, 8000, 3), +(34454, 65957, 68095, 15000, 20000, 3); + +-- Priest +DELETE FROM `boss_spell_table` WHERE `entry` IN (34466,34447); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34466, 66177, 68035, 3000, 8000, 14), +(34466, 66099, 68032, 3000, 8000, 14), +(34466, 66104, 68023, 3000, 8000, 14), +(34466, 66100, 68026, 3000, 8000, 4), +(34466, 65546, 0, 3000, 8000, 6), +(34466, 65543, 0, 5000, 25000, 1); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34447, 66177, 68035, 3000, 8000, 14), +(34447, 66099, 68032, 3000, 8000, 14), +(34447, 66104, 68023, 3000, 8000, 14), +(34447, 66100, 68026, 3000, 8000, 4), +(34447, 65546, 0, 3000, 8000, 6), +(34447, 65543, 0, 5000, 25000, 1); + +-- Shadow priest +DELETE FROM `boss_spell_table` WHERE `entry` IN (34473,34441); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34473, 65542, 0, 8000, 15000, 6), +(34473, 65490, 68091, 3000, 8000, 4), +(34473, 65541, 68088, 3000, 8000, 4), +(34473, 65488, 68042, 3000, 8000, 3), +(34473, 65492, 68038, 3000, 8000, 3), +(34473, 65545, 0, 3000, 8000, 3), +(34473, 65544, 0, 1000, 180000, 1), +(34473, 65546, 0, 3000, 8000, 4), +(34473, 65543, 0, 8000, 24000, 1), +(34473, 16592, 0, 3000, 8000, 1); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34441, 65542, 0, 8000, 15000, 6), +(34441, 65490, 68091, 3000, 8000, 4), +(34441, 65541, 68088, 3000, 8000, 4), +(34441, 65488, 68042, 3000, 8000, 3), +(34441, 65492, 68038, 3000, 8000, 3), +(34441, 65545, 0, 3000, 8000, 3), +(34441, 65544, 0, 1000, 180000, 1), +(34441, 65546, 0, 3000, 8000, 4), +(34441, 65543, 0, 8000, 24000, 1), +(34441, 16592, 0, 3000, 8000, 1); + +-- Death knight +DELETE FROM `boss_spell_table` WHERE `entry` IN (34461,34458); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34461, 66020, 0, 5000, 15000, 3), +(34461, 66019, 67930, 5000, 15000, 3), +(34461, 66017, 0, 5000, 15000, 3), +(34461, 66047, 67936, 5000, 15000, 3), +(34461, 66023, 0, 5000, 90000, 1), +(34461, 66021, 67939, 8000, 12000, 3), +(34461, 66018, 0, 10000, 90000, 6); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34458, 66020, 0, 5000, 15000, 3), +(34458, 66019, 67930, 5000, 15000, 3), +(34458, 66017, 0, 5000, 15000, 3), +(34458, 66047, 67936, 5000, 15000, 3), +(34458, 66023, 0, 5000, 90000, 1), +(34458, 66021, 67939, 8000, 12000, 3), +(34458, 66018, 0, 10000, 90000, 6); + +-- Paladin +DELETE FROM `boss_spell_table` WHERE `entry` IN (34465,34445); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34465, 68757, 0, 25000, 40000, 6), +(34465, 66010, 0, 0, 3600001, 14), +(34465, 66116, 0, 5000, 15000, 14), +(34465, 66113, 68008, 5000, 10000, 14), +(34465, 66112, 68011, 5000, 15000, 14), +(34465, 66009, 0, 0, 3600001, 6), +(34465, 66114, 68015, 6000, 15000, 14), +(34465, 66613, 0, 5000, 15000, 4); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34445, 68757, 0, 25000, 40000, 6), +(34445, 66010, 0, 0, 3600001, 14), +(34445, 66116, 0, 5000, 15000, 14), +(34445, 66113, 68008, 5000, 10000, 14), +(34445, 66112, 68011, 5000, 15000, 14), +(34445, 66009, 0, 0, 3600001, 6), +(34445, 66114, 68015, 6000, 15000, 14), +(34445, 66613, 0, 5000, 15000, 4); + +-- Boomkin (druid in moonkin form) +DELETE FROM `boss_spell_table` WHERE `entry` IN (34469,34459); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34469, 65859, 0, 5000, 40000, 4), +(34469, 65857, 0, 5000, 40000, 3), +(34469, 65863, 0, 10000, 40000, 4), +(34469, 65861, 0, 25000, 40000, 3), +(34469, 65855, 67942, 25000, 40000, 4), +(34469, 65856, 67945, 5000, 40000, 3), +(34469, 65854, 67948, 25000, 40000, 3), +(34469, 65860, 0, 5000, 120000, 1), +(34469, 65862, 67952, 25000, 40000, 3); + +-- Warlock +DELETE FROM `boss_spell_table` WHERE `entry` IN (34474,34450); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34474, 65816, 68146, 15000, 30000, 1), +(34474, 65810, 68134, 15000, 30000, 4), +(34474, 65814, 68137, 15000, 30000, 4), +(34474, 65815, 0, 15000, 30000, 4), +(34474, 65809, 0, 4000, 15000, 4), +(34474, 65819, 68149, 15000, 30000, 3), +(34474, 65821, 68152, 3000, 10000, 3), +(34474, 65812, 68155, 2000, 10000, 4); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_H10`, `timerMin_N10`, `timerMax_N10`, `CastType`) VALUES +(34450, 65816, 68146, 15000, 30000, 1), +(34450, 65810, 68134, 15000, 30000, 4), +(34450, 65814, 68137, 15000, 30000, 4), +(34450, 65815, 0, 15000, 30000, 4), +(34450, 65809, 0, 4000, 15000, 4), +(34450, 65819, 68149, 15000, 30000, 3), +(34450, 65821, 68152, 3000, 10000, 3), +(34450, 65812, 68155, 2000, 10000, 4); diff --git a/sql_mr/mr00002_mangos_oculus.sql b/sql_mr/mr00002_mangos_oculus.sql new file mode 100644 index 0000000..f7b9680 --- /dev/null +++ b/sql_mr/mr00002_mangos_oculus.sql @@ -0,0 +1,135 @@ +-- Oculus instance + +-- ---------------------- Script Names ---------------------- +UPDATE `creature_template` SET `AIName` = '', `vehicle_id` = 70, `ScriptName` = 'mob_oculus_dragon' WHERE `entry` IN (27692,27756,27755); +UPDATE `instance_template` SET `ScriptName` = 'instance_oculus' WHERE `map` = 578; +UPDATE `creature_template` SET `ScriptName` = 'npc_unstable_sphere' WHERE entry = 28166; +UPDATE `creature_template` SET `ScriptName` = 'boss_drakos' WHERE entry = 27654; +UPDATE `creature_template` SET `ScriptName` = 'boss_eregos' WHERE entry = 27656; +UPDATE `creature_template` SET `ScriptName` = 'boss_varos' WHERE entry = 27447; +UPDATE `creature_template` SET `ScriptName` = 'npc_varos_orb' WHERE entry = 28183; +UPDATE `creature_template` SET `ScriptName` = 'npc_varos_beam_target' WHERE entry = 28239; +UPDATE `creature_template` SET `ScriptName` = 'npc_oculus_robot' WHERE entry = 27641; +UPDATE `creature_template` SET `ScriptName` = 'boss_urom' WHERE entry = 27655; +UPDATE `creature_template` SET `ScriptName` = 'npc_planar_anomaly' WHERE entry = 30879; +UPDATE `creature_template` SET `ScriptName` = 'npc_belgar_image' WHERE entry = 28012; +UPDATE `gameobject_template` SET `ScriptName` = 'go_oculus_portal' WHERE `entry` = 188715; + +-- ----------------------- Instance fixes DB ----------------------------- + +-- from traponinet +/* Belgaristrasz and his companions give Drake, after completed quest (13124) */ +UPDATE `creature_template` SET `npcflag` = npcflag|1 WHERE `entry` IN (27657, 27658, 27659); +UPDATE `creature_template` SET `gossip_menu_id` = 27657 WHERE `entry` = 27657; +UPDATE `creature_template` SET `gossip_menu_id` = 27658 WHERE `entry` = 27658; +UPDATE `creature_template` SET `gossip_menu_id` = 27659 WHERE `entry` = 27659; + +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) values +-- (61407, 1, 27447), -- TargetEntry 27447 does not have any implicit target TARGET_SCRIPT(38) or TARGET_SCRIPT_COORDINATES (46) or TARGET_FOCUS_OR_SCRIPTED_GAMEOBJECT (40). +(51024, 1, 28239), +(51022, 1, 28239), +(57963, 1, 27656); + +DELETE FROM `gossip_scripts` WHERE `id` IN (27657, 27658, 27659); +INSERT INTO `gossip_scripts` VALUES (27657,0,17,37815,1,0,0,0,0,0,0,0,0,0,0,0,''),(27658,0,17,37860,1,0,0,0,0,0,0,0,0,0,0,0,''),(27659,0,17,37859,1,0,0,0,0,0,0,0,0,0,0,0,''); + +DELETE FROM `gossip_menu_option` WHERE `menu_id` IN (27657, 27658, 27659); +INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `action_script_id`, `box_coded`, `box_money`, `box_text`, `cond_1`, `cond_1_val_1`, `cond_1_val_2`, `cond_2`, `cond_2_val_1`, `cond_2_val_2`, `cond_3`, `cond_3_val_1`, `cond_3_val_2`) VALUES +(27657,0,0,'What\'s can Emerald Drake?.',1,1,13259,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0), +(27657,1,2,'Take the Emerald Essence if you want to fly on the wings of the Green Flight.',1,1,-1,0,27657,0,0,NULL,16,37859,1,16,37815,1,16,37860,1), +(27659,0,0,'What\'s can Bronze Drake?.',1,1,13255,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0), +(27659,1,2,'Take the Amber Essence if you want to fly on the wings of the Bronze Flight.',1,1,-1,0,27659,0,0,NULL,16,37859,1,16,37815,1,16,37860,1), +(27658,0,0,'What\'s can Ruby Drake?.',1,1,13257,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0), +(27658,1,2,'Take the Ruby Essence if you want to fly on the wings of the Red Flight.',1,1,-1,0,27658,0,0,NULL,16,37859,1,16,37815,1,16,37860,1); +-- (27658,0,0,'GOSSIP_OPTION_QUESTGIVER',2,2,0,0,0,0,0,NULL,0,0,0,0,0,0,0,0,0); + +DELETE FROM `locales_gossip_menu_option` WHERE `menu_id` IN (27657, 27658, 27659); +INSERT INTO `locales_gossip_menu_option` (`menu_id`, `id`, `option_text_loc1`, `option_text_loc2`, `option_text_loc3`, `option_text_loc4`, `option_text_loc5`, `option_text_loc6`, `option_text_loc7`, `option_text_loc8`, `box_text_loc1`, `box_text_loc2`, `box_text_loc3`, `box_text_loc4`, `box_text_loc5`, `box_text_loc6`, `box_text_loc7`, `box_text_loc8`) VALUES +(27657, 0, 'What\'s can Emerald Drake?', NULL, NULL, NULL, NULL, NULL, NULL, 'Что умеет Изумрудный дракон?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(27657, 1, 'Take the Emerald Essence if you want to fly on the wings of the Green Flight.', NULL, NULL, NULL, NULL, NULL, NULL, 'Возьмите Изумрудную эссенцию, если Вы хотите лететь на зеленом драконе.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(27659, 0, 'What\'s can Bronze Drake?', NULL, NULL, NULL, NULL, NULL, NULL, 'Что умеет Бронзовый дракон?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(27659, 1, 'Take the Amber Essence if you want to fly on the wings of the Bronze Flight.', NULL, NULL, NULL, NULL, NULL, NULL, 'Возьмите Янтарную эссенцию, если Вы хотите лететь на бронзовом драконе.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(27658, 0, 'What\'s can Red Drake?', NULL, NULL, NULL, NULL, NULL, NULL, 'Что умеет Красный дракон?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), +(27658, 1, 'Take the Ruby Essence if you want to fly on the wings of the Red Flight.', NULL, NULL, NULL, NULL, NULL, NULL, 'Возьмите Рубиновую эссенцию, если Вы хотите лететь на красном драконе.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); + +DELETE FROM `gossip_menu` WHERE `entry` IN (27657, 27658, 27659); +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (27657,13258),(27658,13254),(27659,13256); +DELETE FROM `gossip_menu` WHERE `entry` IN (13259, 13255, 13257); +INSERT INTO `gossip_menu` (`entry`,`text_id`) VALUES (13259,13259),(13255,13255),(13257,13257); + +-- Fix YTDB bug +UPDATE `npc_text` SET `text0_0` = `text0_1` WHERE `text0_0` = '' AND `ID` IN (13258,13259); +UPDATE `locales_npc_text` SET `Text0_0_loc8` = `Text0_1_loc8` WHERE `Text0_0_loc8` = '' AND `entry` IN (13258,13259); + +UPDATE `creature` SET `spawnMask` = 3 WHERE `map` = 578 AND `spawnMask` = 1; + +-- Eregos chests +UPDATE `gameobject` SET `spawnMask` = 2 WHERE `map` = 578 AND `id` = 193603; +UPDATE `gameobject` SET `spawnMask` = 1 WHERE `map` = 578 AND `id` = 191349; + +UPDATE `creature_template` SET `InhabitType` = 3, spell6 = 0 WHERE `entry` IN (27755,27756,27692); +REPLACE INTO `creature_template_addon` VALUES (27755,0,0,0,0,0,0,'57403'); +REPLACE INTO `creature_template_addon` VALUES (27756,0,0,0,0,0,0,'57403'); +REPLACE INTO `creature_template_addon` VALUES (27692,0,0,0,0,0,0,'57403'); + +/* hack for broken Nexus Portal */ +UPDATE `gameobject_template` SET `data0` = 49665 WHERE `entry` = 189985; +UPDATE `spell_target_position` SET `id` = 49665 WHERE `id` = 49305; + +UPDATE `creature_template` SET `spell6` = 57403, `InhabitType` = 3 WHERE `entry` IN (27692,27755,27756); + +DELETE FROM gameobject_scripts WHERE id IN +(40557,42275); +INSERT INTO gameobject_scripts +(id, delay, command, datalong, datalong2, dataint, x, y, z, o, comments) +VALUES +(42275, 1, 6, 571, 0, '0', 3878.0, 6984.0, 106.0, 0, ''), +(40557, 1, 6, 578, 0, '0', 1001.61, 1051.13, 359.48, 3.1, ''); + +DELETE FROM `spell_script_target` WHERE `entry` IN (49460, 49346, 49464); +INSERT INTO `spell_script_target` VALUES (49460, 1, 27755); +INSERT INTO `spell_script_target` VALUES (49346, 1, 27692); +INSERT INTO `spell_script_target` VALUES (49464, 1, 27756); + +-- from lanc +UPDATE `creature_template` SET + spell1 = 50232, + spell2 = 50248, + spell3 = 50240, + spell4 = 50253, + spell5 = 0 +WHERE `entry` IN (27756); + +UPDATE `creature_template` SET + spell1 = 49840, + spell2 = 49838, + spell3 = 49592, + spell4 = 0, + spell5 = 0 +WHERE `entry` IN (27755); + +UPDATE `creature_template` SET + spell1 = 50328, + spell2 = 50341, + spell3 = 50344, + spell4 = 0, + spell5 = 0 +WHERE `entry` IN (27692); + +DELETE FROM `spell_script_target` WHERE `entry` IN (49460, 49346, 49464); +INSERT INTO `spell_script_target` VALUES (49460, 1, 27755); +INSERT INTO `spell_script_target` VALUES (49346, 1, 27692); +INSERT INTO `spell_script_target` VALUES (49464, 1, 27756); + +-- herbalism flower a ytdb bugs flowers cant wander around lol +UPDATE `creature_template` SET `unit_flags` = 33555204, `dynamicflags` = 8 WHERE `entry` = 29888; +UPDATE `creature_template` SET `speed_walk` = 0, `speed_run` = 0, `movementId` = 0 WHERE `entry` = 29888; + +-- Varos +UPDATE `creature_template` SET `mechanic_immune_mask` = 617299931 WHERE `entry` = 27447; -- added immune to pacify +UPDATE `creature_template` SET `mechanic_immune_mask` = 617299931 WHERE `entry` = 31559; -- added immune to pacify to hard version + +-- Drakos the Interrogator +UPDATE `creature_template` SET `maxhealth` = 431392 WHERE `entry` = 31558; -- Hard Instance Version data from wow.com +UPDATE `creature_template` SET `mechanic_immune_mask` = 617299931 WHERE `entry` = 27654; -- added immune to pacify +UPDATE `creature_template` SET `mechanic_immune_mask` = 617299931 WHERE `entry` = 31558; -- added immune to pacify to hard version diff --git a/sql_mr/mr00022_mangos_obsidian_sanctum.sql b/sql_mr/mr00022_mangos_obsidian_sanctum.sql new file mode 100644 index 0000000..4bc56f7 --- /dev/null +++ b/sql_mr/mr00022_mangos_obsidian_sanctum.sql @@ -0,0 +1,88 @@ +-- Instance Obsidian Sanctum + +-- ScriptNames +UPDATE `creature_template` SET `ScriptName` = "boss_sartharion" WHERE `entry` = 28860; +UPDATE `creature_template` SET `ScriptName` = "mob_vesperon" WHERE `entry` = 30449; +UPDATE `creature_template` SET `ScriptName` = "mob_shadron" WHERE `entry` = 30451; +UPDATE `creature_template` SET `ScriptName` = "mob_tenebron" WHERE `entry` = 30452; +UPDATE `creature_template` SET `ScriptName` = "mob_acolyte_of_shadron" WHERE `entry` IN (30688, 31218); +UPDATE `creature_template` SET `ScriptName` = "mob_acolyte_of_vesperon" WHERE `entry` IN (30858, 31219); +UPDATE `creature_template` SET `ScriptName` = "mob_twilight_eggs" WHERE `entry` = 30882; +UPDATE `creature_template` SET `ScriptName` = "mob_twilight_whelp" WHERE `entry` IN (30890, 31214); +UPDATE `creature_template` SET `ScriptName` = "mob_fire_cyclone" WHERE `entry` = 30648; +UPDATE `creature_template` SET `ScriptName` = "mob_flame_tsunami" WHERE `entry` = 30616; + +-- Drakes' templates - instance binding dependent on instance script; set lootid. +UPDATE `creature_template` SET `lootid` = `entry`, `flags_extra` = `flags_extra`&~1 WHERE `entry` IN (30449, 30451, 30452, 31535, 31520, 31534); + +-- fix speed of tsunami +UPDATE `creature_template` SET speed_walk = 23 WHERE entry = 30616; + +-- fly, walk and chase in lava +UPDATE creature_template SET InhabitType = 7 WHERE entry IN (30451, 31520, 30452, 31534, 30449, 31535); + +-- Shadow Fissure +UPDATE `creature_template` SET `AIName` = "EventAI" WHERE entry = 30641; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30641; +INSERT INTO `creature_ai_scripts`VALUES +(3064101, 30641, 1, 0, 100, 2, 5000, 5000, 0, 0, 11, 57581, 0, 2, 37, 0, 0, 0, 0, 0, 0, 0, "Twilight Fissure - Cast Void Blast (Sartharion)"), +(3064102, 30641, 1, 0, 100, 4, 5000, 5000, 0, 0, 11, 59128, 0, 2, 37, 0, 0, 0, 0, 0, 0, 0, "Twilight Fissure - Cast Void Blast heroic (Sartharion)"); + +-- Warden of The Chamber - make them appear as dead after failing to defend the sanctum +UPDATE `creature` SET `DeathState` = 1 WHERE `guid` IN (131063, 131064); + +-- Hatch Eggs - target Twilight Egg Controller +DELETE FROM `spell_script_target` WHERE `entry` IN (58542, 59189); +INSERT INTO `spell_script_target` VALUES +(58542, 1, 31138), +(59189, 1, 31138); + +-- handling Twilight Eggs +UPDATE `creature_template` SET `ScriptName` = "mob_twilight_eggs" WHERE `entry` = 31204; +UPDATE `creature_template` SET `ScriptName` = "mob_twilight_egg_controller" WHERE `entry` = 31138; + +-- Twilight Portal +UPDATE `gameobject_template` SET `ScriptName` = "obsidian_sanctum_portals" WHERE `entry` = 193988; + +-- Safe Area dummy creature - mark targets in 40yd radius to be not targeted by Sartharion's Pyrobuffet +UPDATE `creature_template` SET `spell1` = 56911 WHERE `entry` = 30494; + +-- TRASH ACID +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '30680'; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '30681'; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '30682'; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '30453'; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (30680, 30681, 30682, 30453); +INSERT INTO `creature_ai_scripts` VALUES +(3068001, 30680, 0, 0, 100, 7, 5000, 10000, 5000, 10000, 11, 13737, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Brood General - Cast Mortal Strike"), +(3068002, 30680, 4, 0, 100, 2, 0, 0, 0, 0, 11, 57740, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Brood General - Cast Devotion Aura (10man)"), +(3068003, 30680, 4, 0, 100, 4, 0, 0, 0, 0, 11, 58944, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Brood General - Cast Devotion Aura (25man)"), +(3068004, 30680, 2, 0, 100, 6, 25, 1, 0, 0, 11, 57742, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Brood General - Cast Avenging Fury at 25% HP"), +(3068005, 30680, 0, 0, 100, 3, 5000, 10000, 15000, 20000, 11, 57733, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Brood General - Cast Draconic Rage (10man)"), +(3068006, 30680, 0, 0, 100, 5, 5000, 10000, 15000, 20000, 11, 58942, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Brood General - Cast Draconic Rage (25man)"), + +(3068101, 30681, 0, 0, 100, 3, 5000, 10000, 10000, 15000, 11, 57757, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Blaze Mistress - Cast Rain of Fire (10man)"), +(3068102, 30681, 0, 0, 100, 5, 5000, 10000, 10000, 15000, 11, 58936, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Blaze Mistress - Cast Rain of Fire (25man)"), +(3068103, 30681, 2, 0, 100, 7, 50, 1, 20000, 25000, 11, 57753, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Blaze Mistress - Cast Conjure Flame Orb at 50% HP"), +(3068104, 30681, 0, 0, 100, 3, 5000, 10000, 10000, 15000, 11, 39529, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Blaze Mistress - Cast Flame Shock (10man)"), +(3068105, 30681, 0, 0, 100, 5, 5000, 10000, 10000, 15000, 11, 58940, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Blaze Mistress - Cast Flame Shock (25man)"), + +(3068201, 30682, 0, 0, 100, 7, 7000, 12000, 7000, 12000, 11, 57759, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Flight Captain - Cast Hammer Drop"), +(3068202, 30682, 0, 0, 100, 7, 5000, 10000, 5000, 10000, 11, 58953, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Flight Captain - Cast Pummel"), + +(3045301, 30453, 0, 0, 100, 3, 5000, 10000, 10000, 15000, 11, 57728, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Sanctum Guardian - Cast Shockwave (10man)"), +(3045302, 30453, 0, 0, 100, 5, 5000, 10000, 10000, 15000, 11, 58947, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Sanctum Guardian - Cast Shockwave (25man)"), +(3045303, 30453, 0, 0, 100, 6, 5000, 7000, 0, 0, 11, 58948, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Sanctum Guardian - Cast Curse of Mending"), +(3045304, 30453, 2, 0, 100, 6, 25, 1, 0, 0, 11, 53801, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Onyx Sanctum Guardian - Cast Frenzy at 25% HP"); + +-- Achievements +DELETE FROM `achievement_criteria_requirement` WHERE `criteria_id` BETWEEN 7326 AND 7333; +INSERT INTO `achievement_criteria_requirement` VALUES +(7326, 18, 0, 0), +(7327, 18, 0, 0), +(7328, 18, 0, 0), +(7331, 18, 0, 0), +(7329, 18, 0, 0), +(7332, 18, 0, 0), +(7330, 18, 0, 0), +(7333, 18, 0, 0); diff --git a/sql_mr/mr00071_mangos_Instance_Nexus.sql b/sql_mr/mr00071_mangos_Instance_Nexus.sql new file mode 100644 index 0000000..f9d03c3 --- /dev/null +++ b/sql_mr/mr00071_mangos_Instance_Nexus.sql @@ -0,0 +1,11 @@ +-- Instance Nexus + +-- set Breath Casters to flying (dummy NPCs near Keristrasza) +UPDATE creature_template SET InhabitType = 4 WHERE entry = 27048; + +UPDATE `creature_template` SET `ScriptName` = 'mob_crystal_spike' WHERE `entry` = '27099'; +UPDATE `creature_template` SET `ScriptName` = 'mob_crystalline_tangler' WHERE `entry` = '32665'; +UPDATE `creature_template` SET `ScriptName` = 'npc_chaotic_rift' WHERE `entry` = '26918'; +UPDATE `creature_template` SET `ScriptName` = 'boss_commander_kolurg' WHERE `entry` = 26798; +UPDATE `creature_template` SET `ScriptName` = 'boss_commander_stoutbeard' WHERE `entry` = 26796; + diff --git a/sql_mr/mr00075_mangos_FactionLeaders.sql b/sql_mr/mr00075_mangos_FactionLeaders.sql new file mode 100644 index 0000000..ebb9222 --- /dev/null +++ b/sql_mr/mr00075_mangos_FactionLeaders.sql @@ -0,0 +1,13 @@ +UPDATE `creature_template` SET `ScriptName`='boss_king_magni_bronzebreard' WHERE `entry`=2784; +UPDATE `creature_template` SET `ScriptName`='boss_high_tinker_mekkatorque' WHERE `entry`=7937; +UPDATE `creature_template` SET `ScriptName`='boss_lorthemar_theron' WHERE `entry`=16802; +UPDATE `creature_template` SET `ScriptName`='boss_king_varian_wrynn' WHERE `entry`=29611; +UPDATE `creature_template` SET `ScriptName`='boss_lady_jaina_proudmoore' WHERE `entry`=4968; +UPDATE `creature_template` SET `ScriptName`='boss_prophet_velen' WHERE `entry`=17468; +UPDATE `creature_template` SET `ScriptName`='boss_voljin' WHERE `entry`=10540; +UPDATE `creature_template` SET `ScriptName`='boss_tyrande_whisperwind' WHERE `entry`=7999; +UPDATE `creature_template` SET `ScriptName`='boss_fandral_staghelm' WHERE `entry`=3516; +UPDATE `creature_template` SET `ScriptName`='generic_creature' WHERE `entry` in (16801, 34986, 1748); +REPLACE INTO spell_target_position VALUES +(20682, 1, -3992.637, -4717.926, 11.006, 0.7); + diff --git a/sql_mr/mr00083_mangos_SotA.sql b/sql_mr/mr00083_mangos_SotA.sql new file mode 100644 index 0000000..222be94 --- /dev/null +++ b/sql_mr/mr00083_mangos_SotA.sql @@ -0,0 +1,7 @@ +-- SotA +UPDATE creature_template SET ScriptName='npc_sa_cannon' WHERE entry = 27894; +UPDATE creature_template SET ScriptName='npc_sa_demolisher' WHERE entry = 28781; +UPDATE creature_template SET ScriptName='npc_sa_vendor' WHERE entry IN (29260, 29262); +UPDATE creature_template SET ScriptName='' WHERE entry = 50000; -- delete this entry about after a mnth +UPDATE gameobject_template SET ScriptName='go_sa_def_portal' WHERE entry = 191575; +UPDATE gameobject_template SET ScriptName='go_sa_bomb' WHERE entry IN (194086, 190753); diff --git a/sql_mr/mr00161_scriptdev2_ebon_hold_dk_quest.sql b/sql_mr/mr00161_scriptdev2_ebon_hold_dk_quest.sql new file mode 100644 index 0000000..6019d27 --- /dev/null +++ b/sql_mr/mr00161_scriptdev2_ebon_hold_dk_quest.sql @@ -0,0 +1,222 @@ +-- ------------------- +-- Eye of Acherus text +-- ------------------- +DELETE FROM script_texts WHERE entry BETWEEN -1666452 AND -1666451; +INSERT INTO script_texts (entry, content_default, content_loc8, sound, type, language, emote, comment) VALUES +('-1666451','The Eye of Acherus launches towards its destination','Око Акеруса вылетело в пункт назначения','0','3','0','0','EOA_LAUNCH'), +('-1666452','The Eye of Acherus is in your control','Око Акеруса под вашим контролем','0','3','0','0','EOA_CONTROL'); + +-- ------------------------------ +-- Quest:: ambush at the overlook +-- ------------------------------ +DELETE FROM `script_texts` WHERE `entry` IN ('-1609531','-1609532'); +INSERT INTO `script_texts` + (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) +VALUES + (-1609531, 'Hrm, what a strange tree. I must investigate.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'Scarlet Courier SAY_TREE1'), + (-1609532, 'What\'s this!? This isn\'t a tree at all! Guards! Guards!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'Scarlet Courier SAY_TREE2'); + +-- ----------------------- +-- Quest The Light of Dawn +-- ----------------------- + +DELETE FROM `script_texts` WHERE entry BETWEEN -1609286 AND -1609201; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES +-- The Light of Dawn +-- pre text + (-1609201, 'Soldiers of the Scourge, stand ready! You will soon be able to unleash your fury upon the Argent Dawn!',14677,1,0,0,'Highlord Darion Mograine'), + (-1609202, 'The sky weeps at the devastation of sister earth! Soon, tears of blood will rain down upon us!',14678,1,0,0,'Highlord Darion Mograine'), + (-1609203, 'Death knights of Acherus, the death march begins!',14681,1,0,0,'Highlord Darion Mograine'), +-- intro + (-1609204, 'Soldiers of the Scourge, death knights of Acherus, minions of the darkness: hear the call of the Highlord!',14679,1,0,22,'Highlord Darion Mograine'), + (-1609205, 'RISE!',14680,1,0,15,'Highlord Darion Mograine'), + (-1609206, 'The skies turn red with the blood of the fallen! The Lich King watches over us, minions! Onward! Leave only ashes and misery in your destructive wake!',14682,1,0,25,'Highlord Darion Mograine'), +-- During the fight + (-1609207, 'Scourge armies approach!',0,1,0,0,'Korfax, Champion of the Light'), + (-1609208, 'Stand fast, brothers and sisters! The Light will prevail!',14487,1,0,0,'Lord Maxwell Tyrosus'), + (-1609209, 'Kneel before the Highlord!',14683,0,0,0,'Highlord Darion Mograine'), + (-1609210, 'You stand no chance!',14684,0,0,0,'Highlord Darion Mograine'), + (-1609211, 'The Scourge will destroy this place!',14685,0,0,0,'Highlord Darion Mograine'), + (-1609212, 'Your life is forfeit.',14686,0,0,0,'Highlord Darion Mograine'), + (-1609213, 'Life is meaningless without suffering.',14687,0,0,0,'Highlord Darion Mograine'), + (-1609214, 'How much longer will your forces hold out?',14688,0,0,0,'Highlord Darion Mograine'), + (-1609215, 'The Argent Dawn is finished!"',14689,0,0,0,'Highlord Darion Mograine'), + (-1609216, 'Spare no one!',14690,0,0,0,'Highlord Darion Mograine'), + (-1609217, 'What is this?! My... I cannot strike...',14691,0,0,0,'Highlord Darion Mograine'), + (-1609218, 'Obey me, blade!',14692,1,0,0,'Highlord Darion Mograine'), + (-1609219, 'You will do as I command! I am in control here!',14693,0,0,0,'Highlord Darion Mograine'), + (-1609220, 'I can not... the blade fights me.',14694,0,0,0,'Highlord Darion Mograine'), + (-1609221, 'What is happening to me?',14695,0,0,0,'Highlord Darion Mograine'), + (-1609222, 'Power...wanes...',14696,0,0,0,'Highlord Darion Mograine'), + (-1609223, 'Ashbringer defies me...',14697,0,0,0,'Highlord Darion Mograine'), + (-1609224, 'Minions, come to my aid!',14698,0,0,0,'Highlord Darion Mograine'), +-- After the fight + (-1609225, 'You cannot win, Darion!',14584,1,0,0,'Highlord Tirion Fordring'), + (-1609226, 'Bring them before the chapel!',14585,1,0,0,'Highlord Tirion Fordring'), + (-1609227, 'Stand down, death knights. We have lost... The Light... This place... No hope...',14699,0,0,68,'Highlord Darion Mograine'), + (-1609228, 'Have you learned nothing, boy? You have become all that your father fought against! Like that coward, Arthas, you allowed yourself to be consumed by the darkness...the hate... Feeding upon the misery of those you tortured and killed!',14586,0,0,378,'Highlord Tirion Fordring'), + (-1609229, 'Your master knows what lies beneath the chapel. It is why he dares not show his face! He\'s sent you and your death knights to meet their doom, Darion.',14587,0,0,25,'Highlord Tirion Fordring'), + (-1609230, 'What you are feeling right now is the anguish of a thousand lost souls! Souls that you and your master brought here! The Light will tear you apart, Darion!',14588,0,0,1,'Highlord Tirion Fordring'), + (-1609231, 'Save your breath, old man. It might be the last you ever draw.',14700,0,0,25,'Highlord Darion Mograine'), + (-1609232, 'My son! My dear, beautiful boy!',14493,0,0,0,'Highlord Alexandros Mograine'), + (-1609233, 'Father!',14701,0,0,5,'Highlord Darion Mograine'), + (-1609234, 'Argh...what...is...',14702,0,0,68,'Highlord Darion Mograine'), + (-1609235, 'Father, you have returned!',14703,0,0,0,'Darion Mograine'), + (-1609236, 'You have been gone a long time, father. I thought...',14704,0,0,0,'Darion Mograine'), + (-1609237, 'Nothing could have kept me away from here, Darion. Not from my home and family.',14494,0,0,1,'Highlord Alexandros Mograine'), + (-1609238, 'Father, I wish to join you in the war against the undead. I want to fight! I can sit idle no longer!',14705,0,0,6,'Darion Mograine'), + (-1609239, 'Darion Mograine, you are barely of age to hold a sword, let alone battle the undead hordes of Lordaeron! I couldn\'t bear losing you. Even the thought...',14495,0,0,1,'Highlord Alexandros Mograine'), + (-1609240, 'If I die, father, I would rather it be on my feet, standing in defiance against the undead legions! If I die, father, I die with you!',14706,0,0,6,'Darion Mograine'), + (-1609241, 'My son, there will come a day when you will command the Ashbringer and, with it, mete justice across this land. I have no doubt that when that day finally comes, you will bring pride to our people and that Lordaeron will be a better place because of you. But, my son, that day is not today.',14496,0,0,1,'Highlord Alexandros Mograine'), + (-1609242, 'Do not forget...',14497,0,0,6,'Highlord Alexandros Mograine'), + (-1609243, 'Touching...',14803,1,0,0,'The Lich King'), + (-1609244, 'You have\'ve betrayed me! You betrayed us all you monster! Face the might of Mograine!',14707,1,0,0,'Highlord Darion Mograine'), + (-1609245, 'He\'s mine now...',14805,0,0,0,'The Lich King'), + (-1609246, 'Pathetic...',14804,0,0,0,'The Lich King'), + (-1609247, 'You\'re a damned monster, Arthas!',14589,0,0,25,'Highlord Tirion Fordring'), + (-1609248, 'You were right, Fordring. I did send them in to die. Their lives are meaningless, but yours...',14806,0,0,1,'The Lich King'), + (-1609249, 'How simple it was to draw the great Tirion Fordring out of hiding. You\'ve left yourself exposed, paladin. Nothing will save you...',14807,0,0,1,'The Lich King'), + (-1609250, 'ATTACK!!!',14488,1,0,0,'Lord Maxwell Tyrosus'), + (-1609251, 'APOCALYPSE!',14808,1,0,0,'The Lich King'), + (-1609252, 'That day is not today...',14708,0,0,0,'Highlord Darion Mograine'), + (-1609253, 'Tirion!',14709,1,0,0,'Highlord Darion Mograine'), + (-1609254, 'ARTHAS!!!!',14591,1,0,0,'Highlord Tirion Fordring'), + (-1609255, 'What is this?',14809,1,0,0,'The Lich King'), + (-1609256, 'Your end.',14592,1,0,0,'Highlord Tirion Fordring'), + (-1609257, 'Impossible...',14810,1,0,0,'The Lich King'), + (-1609258, 'This... isn\'t... over...',14811,1,0,25,'The Lich King'), + (-1609259, 'When next we meet it won\'t be on holy ground, paladin.',14812,1,0,1,'The Lich King'), + (-1609260, 'Rise, Darion, and listen...',14593,0,0,0,'Highlord Tirion Fordring'), + (-1609261, 'We have all been witness to a terrible tragedy. The blood of good men has been shed upon this soil! Honorable knights, slain defending their lives - our lives!',14594,0,0,0,'Highlord Tirion Fordring'), + (-1609262, 'And while such things can never be forgotten, we must remain vigilant in our cause!',14595,0,0,0,'Highlord Tirion Fordring'), + (-1609263, 'The Lich King must answer for what he has done and must not be allowed to cause further destruction to our world.',14596,0,0,0,'Highlord Tirion Fordring'), + (-1609264, 'I make a promise to you now, brothers and sisters: The Lich King will be defeated! On this day, I call for a union.',14597,0,0,0,'Highlord Tirion Fordring'), + (-1609265, 'The Argent Dawn and the Order of the Silver Hand will come together as one! We will succeed where so many before us have failed!',14598,0,0,0,'Highlord Tirion Fordring'), + (-1609266, 'We will take the fight to Arthas and tear down the walls of Icecrown!',14599,0,0,15,'Highlord Tirion Fordring'), + (-1609267, 'The Argent Crusade comes for you, Arthas!',14600,1,0,15,'Highlord Tirion Fordring'), + (-1609268, 'So too do the Knights of the Ebon Blade... While our kind has no place in your world, we will fight to bring an end to the Lich King. This I vow!',14710,0,0,1,'Highlord Darion Mograine'), +-- Emotes + (-1609269, 'Thousands of Scourge rise up at the Highlord\'s command.',0,2,0,0,''), + (-1609270, 'The army marches towards Light\'s Hope Chapel.',0,2,0,0,''), + (-1609271, 'After over a hundred Defenders of the Light fall, Highlord Tirion Fordring arrives.',0,2,0,0,''), + (-1609272, '%s flee',0,2,0,0,'Orbaz'), + (-1609273, '%s kneels in defeat before Tirion Fordring.',0,2,0,0,'Highlord Darion Mograine'), + (-1609274, '%s arrives.',0,2,0,0,'Highlord Alexandros Mograine'), + (-1609275, '%s becomes a shade of his past, and walks up to his father.',0,2,0,0,'Highlord Darion Mograine'), + (-1609276, '%s hugs his father.',0,2,0,0,'Darion Mograine'), + (-1609277, '%s disappears, and the Lich King appears.',0,2,0,0,'Alexandros'), + (-1609278, '%s becomes himself again...and is now angry.',0,2,0,0,'Highlord Darion Mograine'), + (-1609279, '%s casts a spell on Tirion.',0,2,0,0,'The Lich King'), + (-1609280, '%s gasps for air.',0,2,0,0,'Highlord Tirion Fordring'), + (-1609281, '%s casts a powerful spell, killing the Defenders and knocking back the others.',0,2,0,0,'The Lich King'), + (-1609282, '%s throws the Corrupted Ashbringer to Tirion, who catches it. Tirion becomes awash with Light, and the Ashbringer is cleansed.',0,2,0,0,'Highlord Darion Mograine'), + (-1609283, '%s collapses.',0,2,0,0,'Highlord Darion Mograine'), + (-1609284, '%s charges towards the Lich King, Ashbringer in hand and strikes the Lich King.',0,2,0,0,'Highlord Tirion Fordring'), + (-1609285, '%s disappears. Tirion walks over to where Darion lay',0,2,0,0,'The Lich King'), + (-1609286, 'Light washes over the chapel �X the Light of Dawn is uncovered.',0,2,0,0,''); + +DELETE FROM `script_texts` WHERE entry BETWEEN -1609293 AND -1609289; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES +-- Emotes + (-1609289, "Orbaz flees.",0,2,0,0,"Orbaz"), + (-1609290, "Highlord Darion Mograine kneels in defeat before Tirion Fordring.",0,3,0,0,"Highlord Darion Mograine"), + (-1609291, "Darion Mograine hugs his father.",0,2,0,0,"Darion Mograine"), + (-1609292, "Highlord Tirion Fordring gasps for air.",0,2,0,0,"Highlord Tirion Fordring"), + (-1609293, "Highlord Darion Mograine collapses.",0,2,0,0,"Highlord Darion Mograine"); + +-- ---------------------------------------------- +-- Quest how to win friends and influence enemies +-- ---------------------------------------------- +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1609119 AND -1609101; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES + (-1609101, 'I\'ll tear the secrets from your soul! Tell me about the "Crimson Dawn" and your life may be spared!',0,0,0,0,'player SAY_PERSUADE1'), + (-1609102, 'Tell me what you know about "Crimson Dawn" or the beatings will continue!',0,0,0,0,'player SAY_PERSUADE2'), + (-1609103, 'I\'m through being courteous with your kind, human! What is the "Crimson Dawn?"',0,0,0,0,'player SAY_PERSUADE3'), + (-1609104, 'Is your life worth so little? Just tell me what I need to know about "Crimson Dawn" and I\'ll end your suffering quickly.',0,0,0,0,'player SAY_PERSUADE4'), + (-1609105, 'I can keep this up for a very long time, Scarlet dog! Tell me about the "Crimson Dawn!"',0,0,0,0,'player SAY_PERSUADE5'), + (-1609106, 'What is the "Crimson Dawn?"',0,0,0,0,'player SAY_PERSUADE6'), + (-1609107, '"Crimson Dawn!" What is it! Speak!',0,0,0,0,'player SAY_PERSUADE7'), + (-1609108, 'You\'ll be hanging in the gallows shortly, Scourge fiend!',0,0,0,0,'crusader SAY_CRUSADER1'), + (-1609109, 'You\'ll have to kill me, monster! I will tell you NOTHING!',0,0,0,0,'crusader SAY_CRUSADER2'), + (-1609110, 'You hit like a girl. Honestly. Is that the best you can do?',0,0,0,0,'crusader SAY_CRUSADER3'), + (-1609111, 'ARGH! You burned my last good tabard!',0,0,0,0,'crusader SAY_CRUSADER4'), + (-1609112, 'Argh... The pain... The pain is almost as unbearable as the lashings I received in grammar school when I was but a child.',0,0,0,0,'crusader SAY_CRUSADER5'), + (-1609113, 'I used to work for Grand Inquisitor Isillien! Your idea of pain is a normal mid-afternoon for me!',0,0,0,0,'crusader SAY_CRUSADER6'), + (-1609114, 'I\'ll tell you everything! STOP! PLEASE!',0,0,0,20,'break crusader SAY_PERSUADED1'), + (-1609115, 'We... We have only been told that the "Crimson Dawn" is an awakening. You see, the Light speaks to the High General. It is the Light...',0,0,0,20,'break crusader SAY_PERSUADED2'), + (-1609116, 'The Light that guides us. The movement was set in motion before you came... We... We do as we are told. It is what must be done.',0,0,0,20,'break crusader SAY_PERSUADED3'), + (-1609117, 'I know very little else... The High General chooses who may go and who must stay behind. There\'s nothing else... You must believe me!',0,0,0,20,'break crusader SAY_PERSUADED4'), + (-1609118, 'LIES! The pain you are about to endure will be talked about for years to come!',0,0,0,0,'break crusader SAY_PERSUADED5'), + (-1609119, 'NO! PLEASE! There is one more thing that I forgot to mention... A courier comes soon... From Hearthglen. It...',0,0,0,20,'break crusader SAY_PERSUADED6'); + +-- -------------------------------------------------- +-- Quest The Gift That Keeps On Giving - script texts +-- -------------------------------------------------- + +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1609310 AND -1609300; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES +(-1609300, "Smell flesh... close...",0,0,0,0,"SAY_SCARLET_GHOUL_SPAWN1"), +(-1609301, "The grave calls to us all!",0,0,0,0,"SAY_SCARLET_GHOUL_SPAWN2"), +(-1609302, "GIVE ME BRAINS!",0,0,0,0,"SAY_SCARLET_GHOUL_SPAWN3"), +(-1609303, "Poppy!",0,0,0,0,"SAY_SCARLET_GHOUL_SPAWN4"), +(-1609304, "Mommy?",0,0,0,0,"SAY_SCARLET_GHOUL_SPAWN5"), +(-1609305, "So hungry...",0,0,0,0,"SAY_SCARLET_GHOUL_SPAWN6"), +(-1609306, "The pit calls, minion. Go to it, NOW!",0,0,0,0,"SAY_SCARLET_GOTHIK1"), +(-1609307, "GHOUL! PIT! NOW!",0,0,0,0,"SAY_SCARLET_GOTHIK2"), +(-1609308, "Back you mindless wretch! Back to the pit!",0,0,0,0,"SAY_SCARLET_GOTHIK3"), +(-1609309, "It puts the ghoul in the pit or else it gets the lash!",0,0,0,0,"SAY_SCARLET_GOTHIK4"), +(-1609310, "Get in the pit you worthless pile of garbage!",0,0,0,0,"SAY_SCARLET_GOTHIK5"); + +-- --------------------------------------- +-- Waypoints for Massacre at Light's Point +-- --------------------------------------- + +DELETE FROM `script_waypoint` WHERE `entry`='28864'; +INSERT INTO `script_waypoint` + (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`) +VALUES + ('28864', '0', '2199.4602', '-6125.4033', '35.6491', '1000'), + ('28864', '1', '2237.8930', '-6007.2319', '73.6170', '0'), + ('28864', '2', '2292.5766', '-5931.1767', '109.880', '0'), + ('28864', '3', '2337.958496', '-5776.514648', '171.126999', '0'), + ('28864', '4', '2363.8535', '-5715.2338', '153.921', '0'); + +DELETE FROM `script_waypoint` WHERE `entry` = 28841; +INSERT INTO `script_waypoint` + (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`) +VALUES + ('28841', '0', '2389.030000', '-5902.740000', '109.014000', '5000'), + ('28841', '1', '2341.812012', '-5900.484863', '102.619743', '0'), + ('28841', '2', '2306.561279', '-5901.738210', '91.7924190', '0'), + ('28841', '3', '2300.098389', '-5912.618652', '86.0148850', '0'), + ('28841', '4', '2294.142090', '-5927.274414', '75.3168490', '0'), + ('28841', '5', '2286.984375', '-5944.955566', '63.7149660', '0'), + ('28841', '6', '2280.001709', '-5961.186035', '54.2282830', '0'), + ('28841', '7', '2259.389648', '-5974.197754', '42.3593480', '0'), + ('28841', '8', '2242.882812', '-5984.642578', '32.8278500', '0'), + ('28841', '9', '2222.845625', '-6017.849473', '10.153750', '0'), + ('28841', '10', '2202.595947', '-6061.325684', '5.8820180', '0'), + ('28841', '11', '2188.974609', '-6080.866699', '3.3700270', '0'), + ('28841', '12', '2176.483887', '-6110.407227', '1.8551810', '0'), + ('28841', '13', '2172.516602', '-6146.752441', '1.0742350', '0'), + ('28841', '14', '2138.918457', '-6158.920898', '1.3429260', '0'), + ('28841', '15', '2129.866699', '-6174.107910', '4.3807790', '0'), + ('28841', '16', '2122.426270', '-6185.311035', '14.052804', '0'), + ('28841', '17', '2117.739014', '-6193.830079', '13.354200', '10000'); + +-- -------------------- +-- WP for light of dawn +-- -------------------- + +DELETE FROM `script_waypoint` WHERE entry=29173; +INSERT INTO `script_waypoint` VALUES + (29173, 0, 2431.639, -5137.05, 83.843, 0, 'intro'), + (29173, 1, 2319.242, -5266.486, 82.825, 0, 'summon & on hold'), + (29173, 2, 2318.775, -5266.832, 82.783, 0, 'cast light of dawn'), + (29173, 3, 2280.812, -5284.091, 82.608, 0, 'move to here and start'), + (29173, 4, 2280.727, -5286.839, 82.930, 0, 'move forward to talk'), + (29173, 5, 2280.812, -5284.091, 82.608, 0, 'when baba pop'), + (29173, 6, 2281.461, -5263.014, 81.164, 0, 'charge to lich king'), + (29173, 7, 2257.479, -5296.702, 82.165, 0, 'being kicked by Lich King'), + (29173, 8, 2261.237, -5294.983, 82.167, 0, 'throw'), + (29173, 9, 2259.34, -5294.379, 82.167, 0, 'event end'); diff --git a/sql_mr/mr00161_scriptdev2_icecrown.sql b/sql_mr/mr00161_scriptdev2_icecrown.sql new file mode 100644 index 0000000..40ed454 --- /dev/null +++ b/sql_mr/mr00161_scriptdev2_icecrown.sql @@ -0,0 +1,620 @@ +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1631594 AND -1631000; +INSERT INTO `script_texts` (`entry`,`content_loc8`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES + +-- Lord Marrowgar +('-1631000','Это начало и конец, смертные. Никто не может войти в Храм!','This is the beginning AND the end, mortals. None may enter the master\'s sanctum!','16950','6','0','0','marrowgar SAY_INTRO'), +('-1631001','Проклятые несут миру смерть и разрушение!','The Scourge will wash over this world as a swarm of death and destruction!','16941','6','0','0','marrowgar SAY_AGGRO'), +('-1631002','Шторм костей!','BONE STORM!','16946','3','0','0','marrowgar SAY_BONESTORM'), +('-1631003','Проткнут костью!','Bound by bone!','16947','3','0','0','marrowgar SAY_BONESPIKE1'), +('-1631004','Кости вокруг!','Stick Around!','16948','3','0','0','marrowgar SAY_BONESPIKE2'), +('-1631005','Выход - только смерть!','The only escape is death!','16949','6','0','0','marrowgar SAY_BONESPIKE3'), +('-1631006','Больше костей!','More bones for the offering!','16942','6','0','0','marrowgar SAY_KILL1'), +('-1631007','Будьте прокляты!','Languish in damnation!','16943','6','0','0','marrowgar SAY_KILL2'), +('-1631008','ЯРОСТЬ МАСТЕРА ТЕЧЕТ ЧЕРЕЗ МЕНЯ!','THE MASTER\'S RAGE COURSES THROUGH ME!','16945','3','0','0','marrowgar SAY_ENRAGE'), +('-1631009','Я вижу... Только тьму...','I see... only darkness...','16944','6','0','0','marrowgar SAY_DEATH'), + +-- Lady Deathwhisper +('-1631020','Взгляните на ваши мягкие руки! Сухожилия, мясо, кровь! Это слабость! Серьезная ошибка! Шутка создателя со своими творениями! Чем раньше вы поймете что жизнь - это дефект, тем раньше вы сможете преодолеть вашу слабость!','Fix your eyes upon your crude hands! The sinew, the soft meat, the dark blood coursing within! It is a weakness! A crippling flaw! A joke played by the creators upon their own creations! The sooner you come to accept your condition as a defect, the sooner you will find yourselves in a position to transcend it!','16878','6','0','0','deathwhisper SAY_INTRO1'), +('-1631021','Через нашего Мастера все возможно! Его сила не имеет предела, и его воля непреклонна! Те, кто против него будут истреблены! А те, кто служат, которые подчиняются полностью, беспрекословно, с беззаветной преданностью ума и души? Возвышены!','Through our master all things are possible! His power is without limit, and his will unbending! Those who oppose him will be destroyed utterly! And those who serve, who serve wholly, unquestioningly, with utter devotion of mind and soul? Elevated! To heights beyond your ken!','16879','6','0','0','deathwhisper SAY_INTRO2'), +('-1631022','Вы нашли свой путь здесь, потому что вы принадлежите к числу немногих одаренных истинным видением мира, проклятого слепотой! Вы можете видеть сквозь туман, что висит над этим миром, как саван, и понять, где истинная сила лжи!','You have found your way here, because you are among the few gifted with true vision in a world cursed with blindness! You can see through the fog that hangs over this world like a shroud and grasp where true power lies!','16880','6','0','0','deathwhisper SAY_INTRO3'), +('-1631023','Что это за беспорядок?! Вы смеете гадить на этой священной земле? Вот вам и место последнего упокоения!','What is this disturbance?! You dare trespass upon this hallowed ground? This shall be your final resting place.','16868','6','0','0','deathwhisper SAY_AGGRO'), +('-1631024','Однако! Я вижу что пора взять дело в свои руки.','Enough! I see I must take matters into my own hands!','16877','6','0','0','deathwhisper SAY_PHASE2'), +('-1631025','Вы слабы и бессильны против меня!','You are weak, powerless to resist my will!','16876','6','0','0','deathwhisper SAY_DOMINATEMIND'), +('-1631026','Возьмите это благословение и покажите этим злоумышленникам где раки зимуют!','Take this blessing and show these intruders a taste of our master\'s power.','16873','6','0','0','deathwhisper SAY_DARKEMPOWERMENT'), +('-1631027','Мои слуги! Я освобождаю вас от проклятия плоти!','Loyal adherent! I release you from the curse of flesh!','16874','6','0','0','deathwhisper SAY_DARKTRANSFORMATION'), +('-1631028','Встань и предстань в истинном виде!','Arise and exalt in your pure form!','16875','6','0','0','deathwhisper SAY_ANIMATEDEAD'), +('-1631029','Вы еще не осознали бесполезность своих действий?','Do you yet grasp of the futility of your actions?','16869','6','0','0','deathwhisper SAY_KILL1'), +('-1631030','Прими Тьму! Тьма вечна...','Embrace the darkness... Darkness eternal!','16870','6','0','0','deathwhisper SAY_KILL2'), +('-1631031','Это игра продолжается слишком долго!','This charade has gone on long enough.','16872','3','0','0','deathwhisper SAY_BERSERK'), +('-1631032','Все - части плана Мастера! Ваш конец неизбежен...','All part of the masters plan! Your end is... inevitable!','16871','6','0','0','deathwhisper SAY_DEATH'), + +-- Saurfang +('-1631100','Во имя Короля-Лича!','BY THE MIGHT OF THE LICH KING!','16694','6','0','0','saurfang SAY_AGGRO'), +('-1631101','Земля обагрится вашей кровью!','The ground runs red with your blood!','16699','6','0','0','saurfang SAY_FALLENCHAMPION'), +('-1631102','Веселитесь, слуги мои!','Feast, my minions!','16700','3','0','0','saurfang SAY_BLOODBEASTS'), +('-1631103','Ты никто!','You are nothing!','16695','6','0','0','saurfang SAY_KILL1'), +('-1631104','Ваши души не найдут здесь избавления!','Your soul will find no redemption here!','16696','6','0','0','saurfang SAY_KILL2'), +('-1631105','Я вижу приближение смерти!','I have become... death!','16698','3','0','0','saurfang SAY_BERSERK'), +('-1631106','Я... Освободился...','I... Am... Released.','16697','6','0','0','saurfang SAY_DEATH'), +('-1631107','Все павшие воины орды, все дохлые псы альянса - все пополнят армию Короля-Лича! Даже сейчас валькиры воскрешают ваших покойников, чтобы они стали частью Плети!','For every Horde soldier that you killed, for every Alliance dog that fell, the Lich King\'s armies grew. Even now the Val\'kyr work to raise your fallen... As Scourge.','16701','6','0','0','saurfang SAY_INTRO'), +('-1631108','Сейчас все будет еще хуже. Идите сюда, я покажу вам, какой силой меня наделил Король-Лич!','Things are about to get much worse. Come, taste the power that the Lich King has bestowed upon me!','16702','6','0','0','saurfang SAY_BERSERK'), +('-1631109','Ха-ха-ха. Дворфы!','Hahahaha! Dwarves.','16703','6','0','0','saurfang SAY'), + +-- Festergut +('-1631201','Отличные новости народ! Я починил трубы для подачи ядовитой смеси!','Good news, everyone! I\'ve fixed the poison slime pipes!','17123','6','0','0','Putricide Valve01'), +('-1631202','Тухлопуз! Ты всегда был моим любимчиком, как и Гниломорд... Молодец, что оставил столько газа. Я его даже чувствую.','Oh, Festergut. You were always my favorite. Next to Rotface. The good news is you left behind so much gas, I can practically taste it!','17124','6','0','0','Putricide Festergut Dead'), +('-1631203','Повеселимся!','Fun time!','16901','6','0','0','Festergut Aggro'), +('-1631204','Папочка! У меня получилось!','Daddy, I did it!','16902','6','0','0','Festergut Slay 01'), +('-1631205','Мертвец! Мертвец! Мертвец!','Dead, dead, dead!','16903','6','0','0','Festergut Slay 02'), +('-1631206','А-а-а-а-а...','Da ... Ddy...','16904','6','0','0','Festergut Death'), +('-1631207','Веселью конец!','Fun time over!','16905','6','0','0','Festergut Berserk'), +('-1631208','Что-то мне нехорошо...','Gyah! Uhhh, I not feel so good...','16906','6','0','0','Festergut Explunge Blight'), +('-1631209','Нет! Вы убили Вонючку! Сейчас получите!','NOOOO! You kill Stinky! You pay!','16907','6','0','0','Festergut Stinky Death '), +('-1631210','Их-ха!','...','16908','6','0','0','Festergut say '), +('-1631211','Ы-ы-ы!','...','16909','6','0','0','Festergut say '), +('-1631212','(Непереводимо)','...','16910','6','0','0','Festergut say '), +('-1631213','Пук.','...','16911','6','0','0','Festergut brrr '), + +-- Rotface +('-1631220','Отличные новости народ! Слизь снова потекла!','Great news, everyone! The slime is flowing again!','17126','6','0','0','Putricide Slime Flow'), +('-1631221','Й-й-йя-хахаха!','WEEEEEE!','16986','6','0','0','Rotface Aggro'), +('-1631222','Я ЭТО заломал!','I brokes-ded it...','16987','6','0','0','Rotface Slay 01'), +('-1631223','Папочка сделает новые игрушки из тебя!','Daddy make toys out of you!','16988','6','0','0','Rotface Slay 02'), +('-1631224','Папочка, не огорчайся...','Bad news daddy.','16989','6','0','0','Rotface Death'), +('-1631225','Тихий час!','Sleepy Time!','16990','6','0','0','Rotface Berserk'), +('-1631226','Липучка-вонючка!','Icky sticky.','16991','6','0','0','Rotface Infection'), +('-1631227','Я сделал очень злую каку! Сейчас взорвется!','I think I made an angry poo-poo. It gonna blow!','16992','6','0','0','Rotface Unstable Ooze'), +('-1631228','Что? Прелесть? Не-е-е-т!','What? Precious? Noooooooooo!!!','16993','6','0','0','Rotface Precious played when precious dies'), +('-1631229','Й-а-а-а!','...','16994','6','0','0','Rotface say'), +('-1631230','Ах!','...','16995','6','0','0','Rotface say'), +('-1631231','А-а-у!','...','16996','6','0','0','Rotface say'), + +-- Professor Putricide +('-1631240','Отличные новости народ! Я усовершенствовал штамм чумы, которая уничтожит весь Азерот!','Good news, everyone! I think I perfected a plague that will destroy all life on Azeroth!','17114','6','0','0','Putricide Aggro'), +('-1631241','М-м-м. Интересно.','Hmm... Interesting...','17115','6','0','0','Putricide Slay 01'), +('-1631242','О, как неожиданно!','That was unexpected!','17116','6','0','0','Putricide Slay 02'), +('-1631243','Плохие новости, народ... Похоже, у меня ничего не выйдет.','Bad news, everyone! I don\'t think I\'m going to make it.','17117','6','0','0','Putricide Death'), +('-1631244','Прекрасные новости, народ!','Great news, everyone!','17118','6','0','0','Putricide Berserk'), +('-1631245','Это обычное облако газа. Но будьте осторожны, не такое уж оно и обычное...','Just an ordinary gas cloud. But watch out, because that\'s no ordinary gas cloud!','17119','6','0','0','Putricide Gas Explosion'), +('-1631246','Что-то я ничего не чувствую. Что? Это еще откуда?','Hmm. I don\'t feel a thing. Whaa...? Where\'d those come from?','17120','6','0','0','Putricide Transform 01'), +('-1631247','На вкус как вишенка. Ой, извините...','Tastes like... Cherry! Oh! Excuse me!','17121','6','0','0','Putricide Transform 02'), +('-1631248','Два слизнюка в одной комнате? Может получиться что-то любопытное...','Two oozes, one room! So many delightful possibilities...','17122','6','0','0','Putricide Summon Ooze'), +('-1631249','Вы слишком грязные чтобы тут расхаживать! Надо сперва соскрести эту мерзкую плоть.','You can\'t come in here all dirty like that! You need that nasty flesh scrubbed off first!','17125','6','0','0','Putricide Airlock01 Before fight'), + +-- Blood Prince Council +('-1631301','Глупые смертные! Думали, что одолели нас? Санлейн, непобедимые воины Короля-Лича! Теперь наши силы едины!','Foolish mortals. You thought us defeated so easily? The San\'layn are the Lich King\'s immortal soldiers! Now you shall face their might combined!','16795','6','0','0','Lanathel Intro Princes'), +('-1631302','Кушать подано!','Dinner... is served.','16681','6','0','0','Valanar Slay 01'), +('-1631303','Теперь вы видите, насколько мы сильны?','Do you see NOW the power of the Darkfallen?','16682','6','0','0','Valanar Slay 02'), +('-1631304','Охохо...','...why...?','16683','6','0','0','Valanar Death'), +('-1631305','Хорош тянуть время перед Санлейн!','BOW DOWN BEFORE THE SAN\'LAYN!','16684','6','0','0','Valanar Berserk'), +('-1631306','Наксанар был досадным недоразумением! Силы сферы позволят Валанару свершить отмщение!','Naxxanar was merely a setback! With the power of the orb, Valanar will have his vengeance!','16685','6','0','0','Valanar Empower'), +('-1631307','Моя чаша полна','My cup runneth over.','16686','6','0','0','Valanar Special'), +('-1631308','Йих!','...','16687','6','0','0','Princes say'), +('-1631309','Э-эх!','...','16688','6','0','0','Princes say'), +('-1631310','До-хо!','...','16689','6','0','0','Princes say'), +('-1631311','Восстаньте, братья, и уничтожьте наших врагов!','Arise, brothers, and destroy our enemies!','16796','6','0','0','Lanathel resurrect Princes'), + +-- Blood Queen Lana'thel +('-1631321','Это было неразумное решение!','You have made an... unwise... decision.','16782','6','0','0','Lanathel Aggro'), +('-1631322','Я только попробую на вкус...','Just a taste...','16783','6','0','0','Lanathel Bite 01'), +('-1631323','Я голодна!','Know my hunger!','16784','6','0','0','Lanathel Bite 02'), +('-1631324','Смерть вас не спасет!','Death is no escape!','16785','6','0','0','Lanathel Add'), +('-1631325','Страдайте же!','SUFFER!','16786','6','0','0','Lanathel Special 01'), +('-1631326','Как вам такое?','Can you handle this?','16787','6','0','0','Lanathel Special 02'), +('-1631327','Начинаем представление!','Here it comes.','16788','6','0','0','Lanathel Special 03'), +('-1631328','Не повезло...','How... Unfortunate...','16789','6','0','0','Lanathel Reset'), +('-1631329','Нет. Моя прелесть, приятного аппетита!','Yes... feed my precious one! You\'re mine now!','16790','6','0','0','Lanathel Mind Control'), +('-1631330','Вот как... У тебя не получилось?','Really...? Is that all you\'ve got?','16791','6','0','0','Lanathel Slay 01'), +('-1631331','Какая жалость...','Such a pity!','16792','6','0','0','Lanathel Slay 02'), +('-1631332','Сейчас все кончится!','THIS! ENDS! NOW!','16793','6','0','0','Lanathel Berserk'), +('-1631333','Но... Мы ведь так хорошо ладили...','But... we were getting along... so well...','16794','6','0','0','Lanathel Death'), + +-- Valithria Dreamwalker +('-1631401','Герои! Вы должны мне помочь! Мои силы на исходе... Залечите мои раны...','Heroes, lend me your aid! I... I cannot hold them off much longer! You must heal my wounds!','17064','6','0','0','Valithria Aggro'), +('-1631402','Одержимые не знают отдыха...','No rest for the wicked...','17065','6','0','0','Valithria Slay Bad Hostile NPC'), +('-1631403','Прискобная потеря.','A tragic loss...','17066','6','0','0','Valithria Slay Good - Player'), +('-1631404','Неудачники!','FAILURES!','17067','6','0','0','Valithria Berserk'), +('-1631405','Я открыла портал в изумрудный сон. Там вы найдете спасение, герои!','I have opened a portal into the Dream. Your salvation lies within, heroes.','17068','6','0','0','Valithria Dream World Open'), +('-1631406','Я долго не продержусь!','I will not last much longer!','17069','6','0','0','Valithria Health Low'), +('-1631407','Силы возвращаются ко мне! Герои, еще немного!','My strength is returning! Press on, heroes!','17070','6','0','0','Valithria Health High'), +('-1631408','Я излечилась! Изера, даруй мне силу покончить с этими нечестивыми тварями!','I am renewed! Ysera grants me the favor to lay these foul creatures to rest!','17071','6','0','0','Valithria Win'), +('-1631409','Простите меня, я не могу остано... ВСЕ ВО ВЛАСТИ КОШМАРА!','Forgive me for what I do! I... cannot... stop... ONLY NIGHTMARES REMAIN!','17072','6','0','0','Valithria Lose'), + +-- Sindragosa +('-1631420','Глупцы! Зачем вы сюда явились? Ледяные ветра Нордскола унесут ваши души!','You are fools who have come to this place! The icy winds of Northrend will consume your souls!','17007','6','0','0','Sindragosa Aggro'), +('-1631421','Погибни!','Perish!','17008','6','0','0','Sindragosa Slay 01'), +('-1631422','Удел смертных!','A flaw of mortality...','17009','6','0','0','Sindragosa Slay 02'), +('-1631423','Наконец-то! Свободна!','Free...at last...','17010','6','0','0','Sindragosa Death'), +('-1631424','Хватит! Эти игры меня утомляют!','Enough! I tire of these games!','17011','6','0','0','Sindragosa Berserk'), +('-1631425','Здесь ваше вторжение и окончится! Никто не уцелеет!','Your incursion ends here! None shall survive!','17012','6','0','0','Sindragosa Take Off - fly'), +('-1631426','Вы чувствуете, как ледяная ладонь смерти сжимает сердце?','Can you feel the cold hand of death upon your heart?','17013','6','0','0','Sindragosa Freeze'), +('-1631427','Трепещите, смертные! Ибо ваша жалкая магия теперь бессильна!','Suffer, mortals, as your pathetic magic betrays you!','17014','6','0','0','Sindragosa Arcane'), +('-1631428','А-а-а! Жжот! Что это за колдовство?','Suffer, mortals, as your pathetic magic betrays you!','17015','6','0','0','Sindragosa Special'), +('-1631429','А теперь почувствуйте всю мощь Господина и погрузитесь в отчаяние!','Now feel my master\'s limitless power and despair!','17016','6','0','0','Sindragosa Low HP'), + +-- Lich king +('-1631501','Неужели прибыли, наконец, хваленые силы света? Мне бросить Ледяную скорбь и сдаться на твою милость, Фордринг?','So...the Light\'s vaunted justice has finally arrived. Shall I lay down Frostmourne and throw myself at your mercy, Fordring?','17349','6','0','0','Lich King SAY_INTRO1'), +('-1631503','Ты пройдешь через эти мучения сам.','You will learn of that first hand. When my work is complete, you will beg for mercy -- and I will deny you. Your anguished cries will be testament to my unbridled power.','17350','6','0','0','Lich King SAY_INTRO3'), +('-1631505','Я оставлю тебя в живых, чтобы ты увидел финал! Не могу допустить чтобы величайший служитель света пропустил рождение МОЕГО мира!','I\'ll keep you alive to witness the end, Fordring. I would not want the Light\'s greatest champion to miss seeing this wretched world remade in my image.','17351','6','0','0','Lich King SAY_AGGRO'), +('-1631506','Ну же, герои! В вашей ярости - МОЯ сила!','Come then champions, feed me your rage!','17352','6','0','0','Lich King SAY'), +('-1631507','Сомнений нет - вы сильнейшие герои Азерота! Вы преодолели все препятствия, которые я воздвиг перед вами! Сильнейшие из моих слуг пали под вашим натиском, сгорели в пламени вашей ярости!','No question remains unanswered. No doubts linger. You are Azeroth\'s greatest champions! You overcame every challenge I laid before you. My mightiest servants have fallen before your relentless onslaught, your unbridled fury..','17353','6','0','0','Lich King SAY'), +('-1631508','Что движет вами? Праведность? Не знаю...','Is it truly righteousness that drives you? I wonder.','17354','6','0','0','Lich King SAY'), +('-1631509','Ты отлично их обучил, Фордринг! Ты привел сюда лучших воинов, которых знал мир! И отдал их в мои руки. Как я и рассчитывал.','You trained them well, Fordring. You delivered the greatest fighting force this world has ever known... right into my hands -- exactly as I intended. You shall be rewarded for your unwitting sacrifice.','17355','6','0','0','Lich King SAY'), +('-1631510','Смотри как я буду воскрешать их и превращать в воинов Плети! Они повергнут этот мир в пучину хаоса. Азерот падет от их рук. И ты станешь первой жертвой. ','Watch now as I raise them from the dead to become masters of the Scourge. They will shroud this world in chaos and destruction. Azeroth\'s fall will come at their hands -- and you will be the first to die.','17356','6','0','0','Lich King SAY'), +('-1631511','Мне по душе эта ирония!','I delight in the irony.','17357','6','0','0','Lich King SAY'), +('-1631512','Невозможно!','Impossible...','17358','6','0','0','Lich King SAY'), +('-1631513','Да! Вы меня и правда ранили. Я слишком долго с вами играл. Испытайте на себе возмездие Смерти!','You gnats actually hurt me! Perhaps I\'ve toyed with you long enough, now taste the vengeance of the grave!','17359','6','0','0','Lich King SAY'), +('-1631514','А-а-х!','...','17360','6','0','0','Lich King SAY'), +('-1631515','И вот я стою как лев пред агнцами. И не дрожат они.','Now I stand, the lion before the lambs... and they do not fear.','17361','6','0','0','Lich King SAY'), +('-1631516','Им неведом страх!','They cannot fear.','17362','6','0','0','Lich King SAY'), +('-1631517','Надежда тает!','Hope wanes!','17363','6','0','0','Lich King SAY'), +('-1631518','Пришел конец!','The end has come!','17364','6','0','0','Lich King SAY'), +('-1631519','Встречайте трагический финал!','Face now your tragic end!','17365','6','0','0','Lich King SAY_KILL'), +('-1631520','Ледяная скорбь жаждет крови!','Frostmourne hungers...','17366','6','0','0','Lich King SAY'), +('-1631521','Ледяная скорбь, повинуйся мне!','Argh... Frostmourne, obey me!','17367','6','0','0','Lich King SAY'), +('-1631522','Ледяная скорбь поглотит душу вашего товарища!','Frostmourne feeds on the soul of your fallen ally!','17368','6','0','0','Lich King SAY_KILL'), +('-1631523','Я проморожу вас насквозь и вы разлетитесь на ледяные осколки!','I will freeze you from within until all that remains is an icy husk!','17369','6','0','0','Lich King SAY'), +('-1631524','Смотрите, как мир рушится вокруг вас!','Watch as the world around you collapses!','17370','6','0','0','Lich King SAY_WIN'), +('-1631525','Конец света!','Apocalypse!','17371','6','0','0','Lich King SAY'), +('-1631526','Склонись перед своим господином и повелителем!','Bow down before your lord and master!','17372','6','0','0','Lich King SAY'), +('-1631527','Валькирия! Твой господин зовет!','Val\'kyr, your master calls!','17373','6','0','0','Lich King SAY_SUMMON'), +('-1631528','...','...','17374','6','0','0','Lich King SAY_DEATH'), +('-1631531','Оскверняю!','Defile!','0','3','0','0','Lich King SAY'), + +-- Tirion +('-1631552','Мы даруем тебе быструю смерть, Артас! Более быструю чем ты заслуживаешь за то что замучил и погубил десятки тысяч жизней!','We will grant you a swift death, Arthas. More than can be said for the thousands you\'ve tortured and slain.','17390','6','0','0','Tirion SAY_INTRO2'), +('-1631554','Да будет так! Герои, в атаку','So be it. Champions, attack!','17391','6','0','0','Tirion SAY_INTRO4'), +('-1631555','Свет! Даруй мне последнее благословение! Дай мне разбить эти оковы!','LIGHT, GRANT ME ONE FINAL BLESSING. GIVE ME THE STRENGTH... TO SHATTER THESE BONDS!','17392','6','0','0','Tirion SAY'), +('-1631556','Хватит, Артас! Твоя ненависть не заберет больше ни одной жизни!','No more, Arthas! No more lives will be consumed by your hatred!','17393','6','0','0','Tirion SAY'), + +-- Menethil +('-1631557','Вы пришли чтобы вершить суд над Артасом? Чтобы уничтожить короля-лича?','You have come to bring Arthas to justice? To see the Lich King destroyed?','17394','6','0','0','Terenas Menethil II SAY'), +('-1631558','Вы не должны оказаться во власти Ледяной скорби. Иначе, как и я, будете навеки порабощены этим проклятым клинком.','First, you must escape Frostmourne\'s hold, or be damned as I am; trapped within this cursed blade for all eternity.','17395','6','0','0','Terenas Menethil II SAY'), +('-1631559','Помогите мне уничтожить эти истерзанные души. Вместе мы вытянем силу из ледяной скорби и ослабим короля-лича.','Aid me in destroying these tortured souls! Together we will loosen Frostmourne\'s hold and weaken the Lich King from within!','17396','6','0','0','Terenas Menethil II SAY'), +('-1631560','Наконец я свободен. Все кончено, сын мой. Настал час расплаты.','Free at last! It is over, my son. This is the moment of reckoning.','17397','6','0','0','Terenas Menethil II SAY'), +('-1631561','Поднимитесь, воины света!','Rise up, champions of the Light!','17398','6','0','0',' SAY'), + +-- Adds +('-1631590','Р-р-р-рота, подъем!','P-rr-company, the rise of','0','6','0','0','custom message'), +('-1631591','Хилы, не спать!','Heals, do not sleep','0','6','0','0','custom message'), +('-1631592','ДД поднажали!','DD put pressure','0','6','0','0','custom message'), +('-1631593','Лидер, гони лентяев из рейда! А то еще час возиться будете!','Leader, get lazy from a raid! And then another hour to tinker will','0','6','0','0','custom message'), +('-1631594','Ну вот вы и прикончили Артаса. Теперь будем ждать Катаклизм.','Well, you finished off Arthas. Now we wait for the cataclysm','0','6','0','0','custom message'); + +-- Gossips +DELETE FROM `gossip_texts` WHERE `entry` BETWEEN -3631608 AND -3631600; +INSERT INTO `gossip_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `comment`) VALUES +('-3631600', "Light\'s Hammer", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Молот света", "IceCrown citadel teleporter text 1"), +('-3631601', "Oratory of the Damned", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Молельня проклятых", "IceCrown citadel teleporter text 2"), +('-3631602', "Rampart of Skulls", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Черепной вал", "IceCrown citadel teleporter text 3"), +('-3631603', "Deathbringer\'s Rise", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Подъем Смертоносного", "IceCrown citadel teleporter text 4"), +('-3631604', "Icecrown Citadel", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Цитадель Ледяной Короны", "IceCrown citadel teleporter text 5"), +('-3631605', "The Sanctum of Blood", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Святилище крови", "IceCrown citadel teleporter text 6"), +('-3631606', "Frost Queen\'s Lair", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Логово Королевы льда", "IceCrown citadel teleporter text 7"), +('-3631607', "Frozen Throne", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Ледяной трон", "IceCrown citadel teleporter text 8"), +('-3631608', "We are ready, Tirion!", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Всегда готовы, дедуля!", "IceCrown citadel Tirion gossip"); + +-- Icecrown citadel spelltable + +-- Lord Marrowgar +DELETE FROM `boss_spell_table` WHERE `entry` = 36612; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36612, 69055, 70814, 69055, 70814, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0), -- handled by dynamic timer in script +(36612, 69138, 0, 0, 0, 6000, 0, 0, 0, 12000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36612, 71580, 0, 0, 0, 6000, 0, 0, 0, 12000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36612, 69146, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36612, 69057, 0, 0, 0, 17000, 0, 0, 0, 27000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(36612, 69076, 0, 0, 0, 45000, 0, 0, 0, 60000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36612, 69075, 0, 0, 0, 2000, 0, 0, 0, 2000, 0, 0, 0, 5, 0, 0, 12, 0, 0), +(36612, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 1, 0, 0); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36612, 38711, 20000, 40000, 1, 1, 2, 2, 1, 5, 0, 9), +(36612, 36672, 45000, 45000, 1, 1, 2, 2, 75, 100, 0, 9); +-- Cold flame +DELETE FROM `boss_spell_table` WHERE `entry` = 36672; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36672, 69145, 0, 0, 0, 3000, 3000, 8000, 8000, 3000, 3000, 8000, 8000, 15, 15, 15, 15, 0, 0, 0, 1, 0, 0), +(36672, 69147, 0, 0, 0, 700, 0, 0, 0, 700, 0, 0, 0, 15000, 15000, 30000, 30000, 0, 0, 0, 1, 0, 0), +(36672, 69146, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36672, 36672, 30000, 30000, 1, 1, 1, 1, 0, 0, 0, 11); +-- Bone spike +DELETE FROM `boss_spell_table` WHERE `entry` = 38711; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(38711, 46598, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 18, 0, 0), +(38711, 69065, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 6, 0, 0); + +-- Lady Deathwhisper +DELETE FROM `boss_spell_table` WHERE `entry` = 36855; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36855, 70842, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 1, 0, 0), +(36855, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 1, 0, 0), +(36855, 71254, 72008, 72008, 72504, 5000, 0, 0, 0, 8000, 0, 0, 0, 4, 0, 0), +(36855, 71420, 72501, 72007, 72502, 15000, 0, 0, 0, 25000, 0, 0, 0, 4, 0, 0), +(36855, 71001, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 4, 0, 0), +(36855, 71204, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 3, 0, 0), +(36855, 70901, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 6, 0, 0), +(36855, 71289, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 4, 0, 0), +(36855, 71494, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 1, 0, 0); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36855, 37890, 45000, 75000, 1, 1, 2, 2, 75, 100, 0, 11), +(36855, 37949, 45000, 75000, 1, 1, 2, 2, 75, 100, 0, 11), +(36855, 38010, 45000, 45000, 1, 1, 2, 2, 75, 100, 0, 9), +(36855, 38222, 8000, 15000, 1, 1, 1, 1, 75, 100, 0, 9), +(36855, 38009, 45000, 45000, 1, 1, 2, 2, 75, 100, 0, 9); +-- Vengeful shade +DELETE FROM `boss_spell_table` WHERE `entry` = 38222; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(38222, 71494, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 1, 0, 0), +(38222, 71544, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 3, 0, 0); +-- Adherent +DELETE FROM `boss_spell_table` WHERE `entry` = 37949; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37949, 71129, 0, 0, 0, 15000, 0, 0, 0, 20000, 0, 0, 0, 3, 0, 0), +(37949, 70594, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 4, 0, 0), +(37949, 71254, 0, 0, 0, 5000, 0, 0, 0, 15000, 0, 0, 0, 4, 0, 0), +(37949, 70906, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 4, 0, 0), +(37949, 70903, 0, 0, 0, 1000, 0, 0, 0, 2000, 0, 0, 0, 1, 0, 0), +(37949, 71237, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 3, 0, 0), +(37949, 70768, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 4, 0, 0), +(37949, 41236, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 1, 0, 0), +(37949, 71234, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 4, 0, 0); +-- Fanatic +DELETE FROM `boss_spell_table` WHERE `entry` = 37890; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37890, 70659, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 3, 0, 0), +(37890, 70670, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 3, 0, 0), +(37890, 70674, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 1, 0, 0); + +-- Gunship battle +-- Frost wyrm +DELETE FROM `boss_spell_table` WHERE `entry` = 37230; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37230, 70116, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 4, 0, 0), +(37230, 70362, 0, 0, 0, 20000, 0, 0, 0, 25000, 0, 0, 0, 4, 0, 0), +(37230, 70361, 0, 0, 0, 3000, 0, 0, 0, 5000, 0, 0, 0, 3, 0, 0), +(37230, 47008, 0, 0, 0, 180000, 0, 0, 0, 180000, 0, 0, 0, 1, 0, 0); + +-- Rotted frost giant +DELETE FROM `boss_spell_table` WHERE `entry` IN (38490, 38494); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(38490, 64652, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 4, 0, 0), +(38490, 72865, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 4, 0, 0), +(38490, 47008, 0, 0, 0, 300000, 0, 0, 0, 300000, 0, 0, 0, 1, 0, 0); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(38494, 64652, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 4, 0, 0), +(38494, 72865, 0, 0, 0, 25000, 0, 0, 0, 40000, 0, 0, 0, 4, 0, 0), +(38494, 47008, 0, 0, 0, 300000, 0, 0, 0, 300000, 0, 0, 0, 1, 0, 0); + +-- Deathbringer Saurfang +DELETE FROM `boss_spell_table` WHERE `entry` = 37813; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`,`data1`, `data2`, `data3`, `data4`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37813, 72178, 0, 0, 0, 20000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 72371, 0, 0, 0, 3000, 0, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 72256, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 72293, 0, 0, 0, 35000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(37813, 72737, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37813, 72385, 0, 0, 0, 20000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37813, 72380, 0, 0, 0, 25000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37813, 72408, 0, 0, 0, 20000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37813, 72172, 0, 0, 0, 45000, 0, 0, 0, 45000, 0, 0, 0, 2, 5, 2, 5, 1, 0, 0), +(37813, 72173, 0, 0, 0, 45000, 0, 0, 0, 45000, 0, 0, 0, 2, 5, 2, 5, 1, 0, 0), +(37813, 72356, 0, 0, 0, 45000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 72357, 0, 0, 0, 45000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 72358, 0, 0, 0, 45000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 72769, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37813, 72723, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 72242, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37813, 47008, 0, 0, 0, 480000, 0, 0, 0, 480000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(37813, 38508, 45000, 45000, 1, 1, 2, 2, 15, 25, 0, 9); +-- Blood beast +DELETE FROM `boss_spell_table` WHERE `entry` = 38508; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(38508, 72176, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 1, 0, 0), +(38508, 72723, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 1, 0, 0), +(38508, 72769, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 1, 0, 0), +(38508, 21150, 0, 0, 0, 15000, 0, 0, 0, 27000, 0, 0, 0, 1, 0, 0); + + +-- Festergut +DELETE FROM `boss_spell_table` WHERE `entry` = 36626; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +( 36626, 69157, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69162, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69164, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69126, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +( 36626, 69152, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +( 36626, 69154, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +( 36626, 69165, 0, 0, 0, 10000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69195, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69278, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69279, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69290, 0, 0, 0, 20000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 69291, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 6, 0, 1), +( 36626, 72219, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +( 36626, 72227, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 6, 0, 1), +( 36626, 72272, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +( 36626, 69244, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +( 36626, 69248, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +( 36626, 72287, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +( 36626, 71379, 0, 0, 0, 20000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 6, 0, 1), +( 36626, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 1, 0, 0); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36626, 38548, 12000, 12000, 1, 1, 1, 1, 10, 20, 0, 11); + +-- Rotface +DELETE FROM `boss_spell_table` WHERE `entry` = 36627; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`,`data1`, `data2`, `data3`, `data4`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36627, 69508, 0, 0, 0, 15000, 0, 0, 0, 20000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36627, 69674, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(36627, 70003, 0, 0, 0, 15000, 0, 0, 0, 15000, 0, 0, 0, 1, 2, 1, 3, 6, 0, 0), +(36627, 69788, 0, 0, 0, 20000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36627, 69783, 0, 0, 0, 30000, 0, 0, 0, 45000, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(36627, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36627, 69789, 0, 0, 0, 20000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 0, 6, 0, 1); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36627, 36897, 12000, 12000, 1, 1, 1, 1, 1, 5, 0, 9), +(36627, 37986, 15000, 15000, 1, 1, 1, 1, 10, 20, 0, 11), +(36627, 37013, 15000, 15000, 1, 1, 1, 1, 0, 0, 0, 11); +-- Small ooze +DELETE FROM `boss_spell_table` WHERE `entry` = 36897; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36897,69774, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 4, 0, 0), +(36897,69750, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 1, 0, 0), +(36897,69644, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 6, 0, 0), +(36897,69889, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 6, 0, 0); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36897, 36899, 12000, 12000, 1, 1, 1, 1, 1, 5, 0, 9); +-- Big ooze +DELETE FROM `boss_spell_table` WHERE `entry` = 36899; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36899,69774, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 4, 0, 0), +(36899,69839, 0, 0, 0, 6000, 0, 0, 0, 6000, 0, 0, 0, 1, 0, 0), +(36899,69760, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 1, 0, 0), +(36899,69644, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 1, 0, 0), +(36899,69558, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 1, 0, 0), +(36899,69889, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 6, 0, 0); +-- Ooze explode stalker +DELETE FROM `boss_spell_table` WHERE `entry` = 38107; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(38107,69840, 0, 0, 0, 2000, 0, 0, 0, 2000, 0, 0, 0, 1, 0, 0); + +-- Professor Putricide +DELETE FROM `boss_spell_table` WHERE `entry` = 36678; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36678,70351, 0, 0, 0, 40000, 0, 0, 0, 60000, 0, 0, 0, 0, 1, 0, 0), +(36678,71617, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 3, 0, 0), +(36678,71615, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 100, 12, 0, 0), +(36678,71618, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 100, 12, 0, 0), +(36678,71621, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 3, 0, 0), +(36678,71278, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 3, 0, 0), +(36678,71279, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 3, 0, 0), +(36678,71893, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 3, 0, 0), +(36678,71273, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 1, 0, 0), +(36678,71275, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 1, 0, 0), +(36678,71276, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 1, 0, 0), +(36678,71702, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 1, 0, 0), +(36678,71703, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 1, 0, 0), +(36678,71603, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 3, 0, 0), +(36678,70311, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 0, 1, 0, 0), +(36678,47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 1, 0, 0), +(36678,71518, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 6, 0, 1), +(36678,72672, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 3, 0, 0); +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36678,70342, 0, 0, 0, 30000, 0, 0, 0, 60000, 0, 0, 0, 10, 40, 0, 15, 0, 0), +(36678,70852, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 10, 30, 0, 15, 0, 0); + +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36678, 37562, 20000, 40000, 1, 1, 1, 1, 5, 10, 0, 9), +(36678, 38159, 8000, 20000, 1, 1, 1, 1, 20, 40, 0, 9), +(36678, 37690, 40000, 60000, 1, 1, 1, 1, 10, 40, 0, 9), +(36678, 37697, 20000, 40000, 1, 1, 1, 1, 5, 10, 0, 9); +-- Gas cloud +DELETE FROM `boss_spell_table` WHERE `entry` = 37562; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37562,70672, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 0), +(37562,70215, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 0), +(37562,71770, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 1), +(37562,70812, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 1), +(37562,70701, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 0); +-- Volatile ooze +DELETE FROM `boss_spell_table` WHERE `entry` = 37697; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37697,70492, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 1, 0, 0), +(37697,70530, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 1), +(37697,71770, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 1), +(37697,70447, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 6, 0, 0); +-- Mutated abomination (pet?) +DELETE FROM `boss_spell_table` WHERE `entry` = 37672; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37672,70311, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 1, 0, 0), +(37672,72527, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 3, 0, 0), +(37672,72539, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 3, 0, 0), +(37672,70542, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 3, 0, 0), +(37672,70405, 0, 0, 0, 10000, 0, 0, 0, 20000, 0, 0, 0, 1, 0, 0); + +-- Taldaram +DELETE FROM `boss_spell_table` WHERE `entry` = 37973; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37973, 71807, 0, 0, 0, 50000, 0, 0, 0, 10000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(37973, 71718, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37973, 71719, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 15, 0, 0), +(37973, 72040, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37973, 72041, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 15, 0, 0), +(37973, 70952, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37973, 70981, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37973, 70982, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37973, 70983, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37973, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 1, 0, 0); + +-- Valanar +DELETE FROM `boss_spell_table` WHERE `entry` = 37970; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37970, 72053, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37970, 38459, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 11, 0, 0), +(37970, 72037, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37970, 38422, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 11, 0, 0), +(37970, 71945, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(37970, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37970, 70983, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37970, 70981, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37970, 70982, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37970, 70952, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37970, 72039, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0); + +-- Keleseth +DELETE FROM `boss_spell_table` WHERE `entry` = 37972; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37972, 71405, 0, 0, 0, 5000, 0, 0, 0, 8000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(37972, 71815, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(37972, 71943, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37972, 71822, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37972, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37972, 70952, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37972, 70981, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37972, 70982, 0, 0, 0, 30000, 0, 0, 0, 30000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37972, 70983, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 1, 0, 0); + +-- Lanathel +DELETE FROM `boss_spell_table` WHERE `entry` = 37955; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37955, 72981, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37955, 71623, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(37955, 70451, 70451, 71510, 71510, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 6, 0, 1), +(37955, 70445, 70445, 70821, 70821, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(37955, 71726, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37955, 70867, 71473, 71532, 71533, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37955, 70871, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37955, 70923, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37955, 71340, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37955, 71264, 0, 0, 0, 20000, 0, 0, 0, 35000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37955, 71446, 0, 0, 0, 7000, 0, 0, 0, 12000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37955, 71772, 0, 0, 0, 40000, 0, 0, 0, 60000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37955, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37955, 72934, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 6, 0, 1), +(37955, 71952, 0, 0, 0, 5000, 0, 0, 0, 8000, 0, 0, 0, 0, 0, 0, 1, 0, 0); + +-- Valithria +DELETE FROM `boss_spell_table` WHERE `entry` = 36789; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36789, 71977, 0, 0, 0, 30000, 0, 0, 0, 60000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36789, 71987, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 1, 1, 0), +(36789, 72481, 0, 0, 0, 10000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36789, 70873, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36789, 71189, 0, 0, 0, 3000, 0, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36789, 72724, 0, 0, 0, 3000, 0, 0, 0, 3000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36789, 70904, 0, 0, 0, 5000, 0, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 1, 0, 1), +(36789, 71196, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36789, 70702, 0, 0, 0, 15000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 16, 0, 1); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36789, 38429, 30000, 40000, 1, 1, 1, 1, 5, 70, 0, 9), +(36789, 37868, 30000, 45000, 1, 1, 1, 1, 1, 3, 0, 11), +(36789, 37863, 30000, 45000, 1, 1, 1, 1, 1, 3, 0, 11), +(36789, 36791, 30000, 45000, 1, 1, 1, 1, 1, 3, 0, 11), +(36789, 37934, 30000, 45000, 1, 1, 1, 1, 1, 3, 0, 11), +(36789, 37886, 30000, 45000, 1, 1, 1, 1, 1, 3, 0, 11); +-- Nightmare portal +DELETE FROM `boss_spell_table` WHERE `entry` = 38429; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(38429, 70873, 0, 0, 0, 2000, 0, 0, 0, 2000, 0, 0, 0, 0, 0, 0, 1, 0, 1); + +-- Sindragosa +DELETE FROM `boss_spell_table` WHERE `entry` = 36853; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36853, 70084, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36853, 57764, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 1, 0), +(36853, 19983, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(36853, 71077, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36853, 69649, 0, 0, 0, 20000, 0, 0, 0, 35000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36853, 70107, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36853, 69762, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36853, 69766, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(36853, 69846, 0, 0, 0, 15000, 0, 0, 0, 20000, 0, 0, 0, 50.0, 100.0, 0, 15, 0, 0), +(36853, 70117, 0, 0, 0, 30000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36853, 70123, 0, 0, 0, 20000, 0, 0, 0, 35000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36853, 70126, 0, 0, 0, 90000, 0, 0, 0, 90000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36853, 70157, 0, 0, 0, 6000, 0, 0, 0, 6000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(36853, 71665, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(36853, 69845, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36853, 36980, 0, 0, 0, 90000, 0, 0, 0, 90000, 0, 0, 0, 0, 0, 0, 9, 0, 0), +(36853, 47008, 0, 0, 0, 600000, 0, 0, 0, 600000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36853, 72289, 0, 0, 0, 1000, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, 12, 0, 1), +(36853, 70128, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 30.0, 0, 0, 12, 0, 0); + +UPDATE`boss_spell_table` SET `data1` = 2, `data2` = 5, `data3` = 2, `data4` =5 WHERE `entry` = 36853 AND `spellID_N10` = 70126; +UPDATE`boss_spell_table` SET `data1` = 4, `data2` = 4, `data3` = 4, `data4` =4 WHERE `entry` = 36853 AND `spellID_N10` = 69845; + +-- Rimefang +DELETE FROM `boss_spell_table` WHERE `entry` = 37533; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37533, 71387, 0, 0, 0, 0, 0, 0, 0, 3600000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37533, 71386, 0, 0, 0, 5000, 0, 0, 0, 8000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(37533, 71376, 0, 0, 0, 4000, 0, 0, 0, 8000, 0, 0, 0, 0, 0, 0, 4, 0, 0); +-- Spinestalker +DELETE FROM `boss_spell_table` WHERE `entry` = 37534; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37534, 36922, 0, 0, 0, 8000, 0, 0, 0, 24000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(37534, 40505, 0, 0, 0, 5000, 0, 0, 0, 8000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(37534, 71369, 0, 0, 0, 4000, 0, 0, 0, 8000, 0, 0, 0, 0, 0, 0, 4, 0, 0); +-- Ice tomb +DELETE FROM `boss_spell_table` WHERE `entry` = 36980; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36980, 70157, 0, 0, 0, 2000, 0, 0, 0, 2000, 0, 0, 0, 0, 0, 0, 6, 0, 0); + +-- Lich king +DELETE FROM `boss_spell_table` WHERE `entry` = 36597; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36597, 70541, 0, 0, 0, 6000, 0, 0, 0, 12000, 0, 0, 0, 60, 0, 0, 12, 0, 0), +(36597, 70337, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36597, 74074, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36597, 69409, 0, 0, 0, 10000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(36597, 72762, 0, 0, 0, 20000, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36597, 68980, 0, 0, 0, 1500, 0, 0, 0, 25000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36597, 68981, 0, 0, 0, 60000, 0, 0, 0, 60000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 72133, 0, 0, 0, 5000, 0, 0, 0, 10000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 72262, 0, 0, 0, 5000, 0, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 69201, 0, 0, 0, 5000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 1), +(36597, 69200, 0, 0, 0, 5000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 4, 0, 0), +(36597, 69242, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 69103, 0, 0, 0, 3000, 0, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 69099, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 69108, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 70358, 0, 0, 0, 40000, 0, 0, 0, 70000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 70372, 0, 0, 0, 40000, 0, 0, 0, 70000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 72149, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 72143, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 70503, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 69037, 0, 0, 0, 20000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 36609, 0, 0, 0, 20000, 0, 0, 0, 40000, 0, 0, 0, 0, 0, 0, 9, 0, 0), +(36597, 71769, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 70063, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 1), +(36597, 47008, 0, 0, 0, 900000, 0, 0, 0, 900000, 0, 0, 0, 0, 0, 0, 1, 0, 0), +(36597, 74352, 0, 0, 0, 8000, 0, 0, 0, 15000, 0, 0, 0, 0, 0, 0, 1, 0, 0); +-- summons +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `timerMin_N10`, `timerMax_N10`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `CastType` ) VALUES +(36597, 37799, 60000, 60000, 8, 10, 10, 10, 15, 25, 0, 11), +(36597, 70498, 3600001, 3600001, 12, 12, 15, 15, 15, 25, 0, 1); +-- ice sphere +DELETE FROM `boss_spell_table` WHERE `entry` = 36633; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36633, 69099, 0, 0, 0, 2000, 0, 0, 0, 2000, 0, 0, 0, 0, 0, 0, 6, 0, 0), +(36633, 69108, 0, 0, 0, 2000, 0, 0, 0, 2000, 0, 0, 0, 0, 0, 0, 3, 0, 0), +(36633, 69090, 0, 0, 0, 8000, 0, 0, 0, 24000, 0, 0, 0, 0, 0, 0, 1, 0, 0); +-- vile spirit +DELETE FROM `boss_spell_table` WHERE `entry` = 37799; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(37799, 70503, 0, 0, 0, 10000, 0, 0, 0, 10000, 0, 0, 0, 0, 0, 0, 1, 0, 0); +-- raging spirit +DELETE FROM `boss_spell_table` WHERE `entry` = 36701; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `spellID_H10`, `spellID_H25`, `timerMin_N10`, `timerMin_N25`, `timerMin_H10`, `timerMin_H25`, `timerMax_N10`, `timerMax_N25`, `timerMax_H10`, `timerMax_H25`, `locData_x`, `locData_y`, `locData_z`, `CastType`, `isVisualEffect`, `isBugged`) VALUES +(36701, 69242, 0, 0, 0, 2000, 0, 0, 0, 5000, 0, 0, 0, 0, 0, 0, 3, 0, 0); + diff --git a/sql_mr/mr00165_mangos_instance_the_shattered_halls.sql b/sql_mr/mr00165_mangos_instance_the_shattered_halls.sql new file mode 100644 index 0000000..6eb9f40 --- /dev/null +++ b/sql_mr/mr00165_mangos_instance_the_shattered_halls.sql @@ -0,0 +1,24 @@ +-- Instance The Shattered Halls +-- ------------------------ + +-- ------------ +-- Shattered Hand Executioner +-- ------------ +UPDATE `creature_template` SET `unit_flags` = 3 WHERE `entry` = 20585; -- adding not attackable flag, removed by script on boss death + +-- ------------ +-- Prisoner Officers +-- ------------ +UPDATE `creature_template` SET `npcflag` = 2 WHERE `entry` = 17296; -- gossip flag added after death of Shattered Hand Executioner +UPDATE `creature_template` SET `npcflag` = 2 WHERE `entry` = 17290; + +-- adding Shattered Hand Executioner +DELETE FROM creature WHERE id IN (17301); + +-- scripted areatriggers +DELETE FROM scripted_areatrigger WHERE entry IN (4182, 4183, 4524); +INSERT INTO scripted_areatrigger (`entry`, `ScriptName`) VALUES +('4524', 'at_shattered_halls'); +-- --------------------------------------------- +-- InstanceFixes and Related Data -------------- +-- --------------------------------------------- \ No newline at end of file diff --git a/sql_mr/mr00165_scriptdev2_instance_the_shattered_halls.sql b/sql_mr/mr00165_scriptdev2_instance_the_shattered_halls.sql new file mode 100644 index 0000000..1cba17c --- /dev/null +++ b/sql_mr/mr00165_scriptdev2_instance_the_shattered_halls.sql @@ -0,0 +1,8 @@ +-- The Shattered Halls +DELETE FROM script_texts WHERE entry IN (-1540048, -1540049, -1540050); +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +-- common +(-1540048,'Cowards! You\'ll never pull me into the shadows!',0,1,0,0,'kargath SAY_EVADE'), +(-1540049,'The Alliance dares to intrude this far into my fortress? Bring out the Honor Hold prisoners and call for the executioner! They\'ll pay with their lives for this trespass!',0,6,0,0,'kargath SAY_EXECUTE_ALLY'), +(-1540050,'It looks like we have a ranking officer among our captives...how amusing. Execute the green-skinned dog at once!',0,6,0,0,'kargath SAY_EXECUTE_HORDE'); + diff --git a/sql_mr/mr00178_scriptdev2_instance_sunwell_plateau.sql b/sql_mr/mr00178_scriptdev2_instance_sunwell_plateau.sql new file mode 100644 index 0000000..1a2e846 --- /dev/null +++ b/sql_mr/mr00178_scriptdev2_instance_sunwell_plateau.sql @@ -0,0 +1,56 @@ +-- Kil'jaeden +DELETE FROM script_texts WHERE entry BETWEEN -1580080 AND -1580064; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES + (-1580064, 'All my plans have led to this!',12495,1,0,0,'Kil\'jaeden SAY_KJ_OFFCOMBAT1'), + (-1580065, 'Stay on task! Do not waste time!',12496,1,0,0,'Kil\'jaeden SAY_KJ_OFFCOMBAT2'), + (-1580066, 'I have waited long enough!',12497,1,0,0,'Kil\'jaeden SAY_KJ_OFFCOMBAT3'), + (-1580067, 'Fail me and suffer for eternity!',12498,1,0,0,'Kil\'jaeden SAY_KJ_OFFCOMBAT4'), + (-1580068, 'Drain the girl! Drain her power until there is nothing but a vacant shell!',12499,1,0,0,'Kil\'jaeden SAY_KJ_OFFCOMBAT5'), + (-1580069, 'The expendible have perished... So be it! Now I shall succeed where Sargeras could not! I will bleed this wretched world and secure my place as the true master of the Burning Legion. The end has come! Let the unraveling of this world commence!',12500,1,0,0,'Kil\'jaeden SAY_KJ_EMERGE'), + (-1580070, 'Another step towards destruction!',12501,1,0,0,'Kil\'jaeden SAY_KJ_SLAY1'), + (-1580071, 'Anak-ky\'ri!',12502,1,0,0,'Kil\'jaeden SAY_KJ_SLAY2'), + (-1580072, 'Who can you trust?',12503,1,0,0,'Kil\'jaeden SAY_KJ_REFLECTION1'), + (-1580073, 'The enemy is upon you!',12504,1,0,0,'Kil\'jaeden SAY_KJ_REFLECTION2'), + (-1580074, 'Chaos!',12505,1,0,0,'Kil\'jaeden SAY_KJ_DARKNESS1'), + (-1580075, 'Destruction!',12506,1,0,0,'Kil\'jaeden SAY_KJ_DARKNESS2'), + (-1580076, 'Oblivion!',12507,1,0,0,'Kil\'jaeden SAY_KJ_DARKNESS3'), + (-1580077, 'I will not be denied! This world shall fall!',12508,1,0,0,'Kil\'jaeden SAY_KJ_DENINE'), + (-1580078, 'Do not harbor false hope. You cannot win!',12509,1,0,0,'Kil\'jaeden SAY_KJ_CANNOT_WIN'), + (-1580079, 'Aggghh! The powers of the Sunwell... turned... against me! What have you done? WHAT HAVE YOU DONE?',12510,1,0,0,'Kil\'jaeden SAY_KJ_LOST_POWER'), + (-1580080, 'You are not alone. The Blue Dragonflight shall help you vanquish the Deceiver. ',12438,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_INTRO'); +DELETE FROM script_texts WHERE entry BETWEEN -1580089 AND -1580081; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES + (-1580081, 'Anveena, you must awaken, this world needs you!',12445,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_AWAKEN'), + (-1580082, 'I serve only the Master now.',12511,1,0,0,'Kil\'jaeden(Kalecgos) SAY_ANVEENA_IMPRISONED'), + (-1580083, 'You must let go! You must become what you were always meant to be! The time is now, Anveena!',12446,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_LETGO'), + (-1580084, 'But I\'m... lost... I cannot find my way back!',12512,1,0,0,'Kil\'jaeden(Kalecgos) SAY_ANVEENA_LOST'), + (-1580085, 'Anveena, I love you! Focus on my voice, come back for me now! Only you can cleanse the Sunwell!',12447,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_FOCUS'), + (-1580086, 'Kalec... Kalec?',12513,1,0,0,'Kil\'jaeden(Kalecgos) SAY_ANVEENA_KALEC'), + (-1580087, 'Yes, Anveena! Let fate embrace you now!',12448,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_FATE'), + (-1580088, 'The nightmare is over, the spell is broken! Goodbye, Kalec, my love!',12514,1,0,0,'Kil\'jaeden(Kalecgos) SAY_ANVEENA_GOODBYE'), + (-1580089, 'Goodbye, Anveena, my love. Few will remember your name, yet this day you change the course of destiny. What was once corrupt is now pure. Heroes, do not let her sacrifice be in vain.',12450,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_GOODBYE'); +DELETE FROM script_texts WHERE entry BETWEEN -1580097 AND -1580090; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES + (-1580090, 'Strike now, heroes, while he is weakened! Vanquish the Deceiver!',12449,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_ENCOURAGE'), + (-1580091, 'I will channel my power into the orbs, be ready!',12440,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_ORB1'), + (-1580092, 'I have empowered another orb! Use it quickly!',12441,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_ORB2'), + (-1580093, 'Another orb is ready! Make haste!',12442,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_ORB3'), + (-1580094, 'I have channeled all I can! The power is in your hands!',12443,1,0,0,'Kil\'jaeden(Kalecgos) SAY_KALECGOS_ORB4'), +-- Kiljaeden ending + (-1580095,'Mortal heroes - your victory here today was foretold long ago. My brother\'s anguished cry of defeat will echo across the universe - bringing renewed hope to all those who still stand against the Burning Crusade.',12515,1,0,0,'velen_outro1'), + (-1580096,'As the Legion\'s final defeat draws ever-nearer, stand proud in the knowledge that you have saved worlds without number from the flame.',12516,1,0,0,'velen_outro2'), + (-1580097,'Just as this day marks an ending, so too does it herald a new beginning...',12517,1,0,0,'velen_outro3'); +-- (-1580098) ??????? +DELETE FROM script_texts WHERE entry BETWEEN -1580103 AND -1580099; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES + (-1580099,'The creature Entropius, whom you were forced to destroy, was once the noble naaru, M\'uru. In life, M\'uru channeled vast energies of LIGHT and HOPE. For a time, a misguided few sought to steal those energies...',12518,1,0,0,'velen_outro4'), + (-1580100,'Our arrogance was unpardonable. We damned one of the most noble beings of all. We may never atone for this sin.',12524,1,0,0,'liadrin_outro5'), + (-1580101,'Than fortunate it is, that I have reclaimed the noble naaru\'s spark from where it fell! Where faith dwells, hope is never lost, young blood elf.',12519,1,0,0,'velen_outro6'), + (-1580102,'Can it be ?',12525,1,0,0,'liadrin_outro8'), + (-1580103,'Gaz now, mortals - upon the HEART OF M\'URU! Umblemished. Bathed by the light of Creation - just as it was at the Dawn.',12520,1,0,0,'velen_outro9'); +DELETE FROM script_texts WHERE entry BETWEEN -1580107 AND -1580104; +INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES + (-1580104,'In time, the light and hope held within - will rebirth more than this mere fount of power... Mayhap, they will rebirth the soul of a nation.',12521,1,0,0,'velen_outro10'), + (-1580105,'Blessed ancestors! I feel it... so much love... so much grace... there are... no words... impossible to describe...',12526,1,0,0,'liadrin_outro11'), + (-1580106,'Salvation, young one. It waits for us all.',12522,1,0,0,'velen_outro12'), + (-1580107,'Farewell...!',12523,1,0,0,'velen_outro13'); diff --git a/sql_mr/mr00183_mangos_icecrown.sql b/sql_mr/mr00183_mangos_icecrown.sql new file mode 100644 index 0000000..95042e6 --- /dev/null +++ b/sql_mr/mr00183_mangos_icecrown.sql @@ -0,0 +1,365 @@ +-- -------- +-- Entrance +-- -------- +UPDATE `areatrigger_teleport` SET `required_level` = '80' WHERE `areatrigger_teleport`.`id` =5670; + +UPDATE `creature` SET `spawntimesecs` = 7200 WHERE `map` = 631 AND (`spawntimesecs` BETWEEN 200 AND 7100 ); + +DELETE FROM `gameobject` WHERE `guid` = 913334; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(913334, 202244, 631, 3, 1, -209.5, 2211.91, 199.97, 3.07661, 0, 0, 0.999472, 0.0324833, 0, 0, 1); + +UPDATE `gameobject_template` SET `flags` = 0, `ScriptName` = 'go_icecrown_teleporter' WHERE `entry` IN (202242,202243,202244,202245,202235,202223,202246); +UPDATE `gameobject` SET `phaseMask` = 1 WHERE `id` IN (202242,202243,202244,202245,202235,202223,202246); +DELETE FROM `areatrigger_teleport` WHERE `id` = 5718 AND `target_map` = 631; + +DELETE FROM `creature` WHERE `id` = 99322; +DELETE FROM `creature_template` WHERE `entry` = 99322; +DELETE FROM `locales_npc_text` WHERE `entry` = 99322; +DELETE FROM `npc_text` WHERE `ID` = 99322; +DELETE FROM `locales_npc_text` WHERE `entry` = 99323; +DELETE FROM `npc_text` WHERE `ID` = 99323; +DELETE FROM `gameobject` WHERE `guid` IN (913334); + +UPDATE `instance_template` SET `ScriptName`='instance_icecrown_spire' WHERE `map`=631; + +-- fix for ytdb data on frostwing door/puddle + +DELETE FROM `gameobject` WHERE `id`=201919; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(7807, 201919, 631, 1, 128, 4356.52, 2651.74, 351.1, 1.61378, 0, 0, 0.722138, 0.691749, 25, 255, 1); + +-- -------- +-- Saurfang +-- -------- + +UPDATE `creature_template` SET `vehicle_id` = 639, `AIName`='', `PowerType` = 3, `ScriptName`='boss_deathbringer_saurfang' WHERE `entry`=37813; +UPDATE `creature_template` SET `vehicle_id` = 639, `AIName`='', `PowerType` = 3 WHERE `entry` IN (38402,38582,38583); +UPDATE `creature` SET `position_x` = -476.621,`position_y` = 2211.11,`position_z` = 541.197, `spawntimesecs` = 604800 WHERE `id` = 37813; +UPDATE `creature_template` SET `ScriptName`='mob_blood_beast', `AIName`='' WHERE `entry`= 38508; +DELETE FROM `spell_script_target` WHERE `entry` IN (72260, 72202, 72278,72279,72280); +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES +('72260', '1', '37813'), +('72278', '1', '37813'), +('72279', '1', '37813'), +('72280', '1', '37813'), +('72202', '1', '37813'); + +DELETE FROM `spell_proc_event` WHERE entry IN (72176,72178, 72256); +INSERT INTO `spell_proc_event` VALUES +(72256, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), +(72178, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), +(72176, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); + +-- ------------ +-- Deathwhisper +-- ------------ + +UPDATE `creature_template` SET `ScriptName`='boss_lady_deathwhisper', `AIName`='' WHERE `entry`=36855; +UPDATE `creature_template` SET `faction_A`=14, `faction_H`=14,`ScriptName`='mob_vengeful_shade', `AIName`='' WHERE `entry`= 38222; +UPDATE `creature_template` SET `ScriptName`='mob_cult_adherent', `AIName`='' WHERE `entry`= 37949; +UPDATE `creature_template` SET `ScriptName`='mob_cult_fanatic', `AIName`='' WHERE `entry`= 37890; + +-- --------- +-- Marrowgar +-- --------- + +UPDATE `creature_template` SET `ScriptName`='boss_lord_marrowgar', `AIName`='' WHERE `entry`= 36612; +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201910,201911); +UPDATE `gameobject` SET `state` = '1' WHERE `guid` IN (72526,72525); +UPDATE `creature_template` SET `ScriptName`='mob_coldflame', `minlevel` = 82, `maxlevel` = 82, `modelid_1` = 11686, `modelid_2` = 11686, `modelid_3` = 11686, `modelid_4` = 11686, `faction_A` = 14, `faction_H` = 14, `AIName`='' WHERE `entry`= 36672; +UPDATE `creature_template` SET `ScriptName`='mob_bone_spike', `AIName`='' WHERE `entry`= 38711; + +-- -------------- +-- Gunship battle +-- -------------- + +UPDATE `creature_template` SET `ScriptName`='mob_spire_frostwyrm', `AIName`='' WHERE `entry`= 37230; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 37230; +UPDATE `creature_template` SET `ScriptName`='mob_frost_giant', `AIName`='' WHERE `entry` IN (38490, 38494) ; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (38490, 38494); +DELETE FROM `creature` WHERE `guid` = 94094 AND `id` = 38490; + +-- ------------------------- +-- Gunship armory (override) +-- ------------------------- +DELETE FROM `gameobject` WHERE `id` IN (201872,201873,201874,201875,202177,202178,202179,202180); +UPDATE `gameobject_template` SET `flags` = 0 WHERE `gameobject_template`.`entry` IN (201872,201873,201874,201875,202177,202178,202179,202180); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(972541, 201872, 631, 1, 1, -428.141, 2421.34, 191.233, 3.10389, 0, 0, 0.999822, 0.0188489, -604800, 100, 1), +(972543, 201873, 631, 2, 1, -428.141, 2421.34, 191.233, 3.10389, 0, 0, 0.999822, 0.0188489, -604800, 100, 1), +(972545, 201874, 631, 4, 1, -428.141, 2421.34, 191.233, 3.10389, 0, 0, 0.999822, 0.0188489, -604800, 100, 1), +(972547, 201875, 631, 8, 1, -428.141, 2421.34, 191.233, 3.10389, 0, 0, 0.999822, 0.0188489, -604800, 100, 1), +(972551, 202177, 631, 1, 1, -447.493, 2003.5, 191.235, 0.153939, 0, 0, 0.0768933, 0.997039, -604800, 100, 1), +(972553, 202178, 631, 2, 1, -447.493, 2003.5, 191.235, 0.153939, 0, 0, 0.0768933, 0.997039, -604800, 100, 1), +(972555, 202179, 631, 4, 1, -447.493, 2003.5, 191.235, 0.153939, 0, 0, 0.0768933, 0.997039, -604800, 100, 1), +(972557, 202180, 631, 8, 1, -447.493, 2003.5, 191.235, 0.153939, 0, 0, 0.0768933, 0.997039, -604800, 100, 1); + +-- ----------- +-- Plague wing +-- ----------- + +-- ------- +-- Rotface +-- ------- + +UPDATE `creature_template` SET `ScriptName`='boss_rotface', `AIName`='' WHERE `entry`= 36627; +UPDATE `gameobject_template` SET `faction` = '114' WHERE `gameobject_template`.`entry` IN (201370); +UPDATE `gameobject` SET `state` = '0' WHERE `id` IN (201370); +UPDATE `creature_template` SET `ScriptName`='mob_small_ooze', `AIName`='' WHERE `entry`= 36897; +UPDATE `creature_template` SET `ScriptName`='mob_big_ooze', `AIName`='' WHERE `entry`= 36899; +UPDATE `creature_template` SET `ScriptName`='mob_ooze_spray_stalker', `AIName`='' WHERE `entry`= 37986; +UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80, `AIName` ='', `faction_A`= 14, `faction_H` = 14, `ScriptName`='mob_sticky_ooze', `AIName`='' WHERE `entry`= 37006; +UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80, `AIName` ='', `faction_A`= 14, `faction_H` = 14, `ScriptName`='', `AIName`='' WHERE `entry` IN (37013); +UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80, `AIName` ='', `faction_A`= 14, `faction_H` = 14, `ScriptName`='mob_ooze_explode_stalker', `AIName`='' WHERE `entry` = 38107; +DELETE FROM `spell_script_target` WHERE `entry` = 69783; +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69783', '1', '37013'); +DELETE FROM `spell_script_target` WHERE `entry` = 69508; +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69508', '1', '37986'); + +-- fix rotface combat reach was set to 40 he could hit u from across the room +DELETE FROM `creature_model_info` WHERE (`modelid`=31005); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (31005, 5, 4, 2, 0, 0); + +-- fix stinky modelID info +DELETE FROM `creature_model_info` WHERE (`modelid`=30483); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (30483, 5, 1, 2, 0, 0); + +-- --------- +-- Festergut +-- --------- + +UPDATE `creature_template` SET `ScriptName`='boss_festergut', `AIName`='' WHERE `entry`= 36626; +UPDATE `gameobject_template` SET `faction` = '114' WHERE `gameobject_template`.`entry` IN (201371); +UPDATE `gameobject` SET `state` = '0' WHERE `id` IN (201371); +UPDATE `creature_template` SET `ScriptName`='mob_vile_gas_stalker', `AIName`='' WHERE `entry`= 38548; +UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14, `ScriptName`='mob_orange_gas_stalker', `AIName`='' WHERE `entry`= 36659; +-- original auras from YTDB +-- INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `emote`, `moveflags`, `auras`) VALUES +-- (36659, 0, 0, 1, 0, 0, '69126 69152 69154'); +-- DELETE FROM `creature_template_addon` WHERE `entry` = 36659; +-- Visual effect mobs from Timmit +UPDATE `creature` SET `spawnMask` = 15, `modelid` = 11686, `spawntimesecs` = 300 WHERE `id`=37013; + +-- fixed modelID info +DELETE FROM `creature_model_info` WHERE (`modelid`=31006); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (31006, 5, 4, 2, 0, 0); + +-- fix peroicus modelID info +DELETE FROM `creature_model_info` WHERE (`modelid`=30483); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (30483, 5, 1, 2, 0, 0); + +-- ------------------- +-- Professor putricide +-- ------------------- + +UPDATE `creature_template` SET `ScriptName`='boss_professor_putricide', `AIName`='' WHERE `entry`= 36678; +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201372,201614,201613, 201612); +UPDATE `gameobject` SET `state` = '1' WHERE `id` IN (201612,201614,201613); +UPDATE `gameobject` SET `state` = '0' WHERE `id` IN (201372); +UPDATE `creature_template` SET `ScriptName`='mob_icc_gas_cloud', `AIName`='' WHERE `entry`= 37562; +UPDATE `creature_template` SET `ScriptName`='mob_icc_volatile_ooze', `AIName`='' WHERE `entry`= 37697; +UPDATE `creature_template` SET `ScriptName`='mob_choking_gas_bomb', `AIName`='',`minlevel` = 82, `maxlevel` = 82, `faction_A` = 14, `faction_H` = 14, `scale` = 0.5 WHERE `entry`= 38159; +UPDATE `creature_template` SET `ScriptName`='mob_ooze_puddle',`scale` = '1.0', `AIName`='', `minlevel` = 82, `maxlevel` = 82, `modelid_1` = 11686, `modelid_2` = 11686, `modelid_3` = 11686, `modelid_4` = 11686, `faction_A` = 14, `faction_H` = 14 WHERE `entry`= 37690; +UPDATE `gameobject_template` SET `faction` = '0', `ScriptName` = 'go_plague_sigil' WHERE `gameobject_template`.`entry` IN (202182); + +-- ----------- +-- Abomination +-- ----------- + +DELETE FROM `creature_template_addon` WHERE (`entry`=37672); +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES (37672, '70385 70405'); +UPDATE `creature_template` SET `vehicle_id`=587 WHERE `entry` in (36678,38431,38585,38586); +UPDATE `creature_template` SET `vehicle_id`=591 WHERE `entry` in (37672,38605,38786,38787); +DELETE FROM `spell_script_target` WHERE `entry` IN (70360); +INSERT INTO `spell_script_target` VALUES (70360,1,37690); + +-- ---------- +-- Blood wing +-- ---------- + +UPDATE `gameobject_template` SET `faction` = '0', `ScriptName` = 'go_bloodwing_sigil' WHERE `gameobject_template`.`entry` IN (202183); +DELETE FROM `spell_script_target` WHERE `entry` IN (70952, 70981, 70982); +INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES +('70952', '1', '37970'), +('70981', '1', '37972'), +('70982', '1', '37973'); +-- -------------- +-- Lanathel intro +-- -------------- + +UPDATE `creature_template` SET `ScriptName`='boss_blood_queen_lanathel_intro', `AIName`='' WHERE `entry`= 38004; +-- UPDATE `creature_template` SET `ScriptName`='npc_blood_orb_control', `AIName`='' WHERE `entry`= 38008; + +-- -------- +-- Taldaram +-- -------- + +UPDATE `creature_template` SET `ScriptName`='boss_taldaram_icc', `AIName`='' WHERE `entry`= 37973; +UPDATE `creature_template` SET `ScriptName`='mob_ball_of_flames', `AIName`='',`minlevel` = 82, `maxlevel` = 82, `faction_A` = 14, `faction_H` = 14 WHERE `entry` IN (38332,38451); + +-- ------- +-- Valanar +-- ------- + +UPDATE `creature_template` SET `ScriptName`='boss_valanar_icc', `AIName`='' WHERE `entry`= 37970; +UPDATE `creature_template` SET `ScriptName`='mob_kinetic_bomb', `AIName`='',`minlevel` = 82, `maxlevel` = 82, `faction_A` = 14, `faction_H` = 14 WHERE `entry`= 38454; +UPDATE `creature_template` SET `ScriptName`='mob_shock_vortex', `AIName`='',`minlevel` = 82, `maxlevel` = 82, `faction_A` = 14, `faction_H` = 14 WHERE `entry`= 38422; +UPDATE `creature_template` SET `ScriptName`='mob_kinetic_bomb_target', `AIName`='' WHERE `entry`= 38458; + +-- -------- +-- Keleseth +-- -------- + +UPDATE `creature_template` SET `ScriptName`='boss_keleseth_icc', `AIName`='' WHERE `entry`= 37972; +UPDATE `creature_template` SET `ScriptName`='mob_dark_nucleus', `AIName`='',`minlevel` = 82, `maxlevel` = 82, `faction_A` = 14, `faction_H` = 14 WHERE `entry`= 38369; + +DELETE FROM `creature_template_addon` WHERE `entry` IN (37972,37973,37970,38401,38784,38785,38399,38769,38770,38400,38771,38772); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `emote`, `moveflags`, `auras`) VALUES +(37970, 0, 0, 0, 0, '71598'), +(37972, 0, 0, 0, 0, '71598'), +(37973, 0, 0, 0, 0, '71598'), +(38401, 0, 0, 0, 0, '71598'), +(38784, 0, 0, 0, 0, '71598'), +(38785, 0, 0, 0, 0, '71598'), +(38399, 0, 0, 0, 0, '71598'), +(38769, 0, 0, 0, 0, '71598'), +(38770, 0, 0, 0, 0, '71598'), +(38400, 0, 0, 0, 0, '71598'), +(38771, 0, 0, 0, 0, '71598'), +(38772, 0, 0, 0, 0, '71598'); + +-- ----------------- +-- Loot and deathstate for blood council (correct YTDB bugs, flags - from already killed princes) +-- ----------------- + +UPDATE `creature_template` SET `unit_flags` = '0' WHERE `entry` IN (37972,37973,37970,38401,38784,38785,38399,38769,38770,38400,38771,38772); + +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201920,201377,201378); +UPDATE `gameobject` SET `state` = '1' WHERE `id` IN (201920,201377,201378); +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201376); +UPDATE `gameobject` SET `state` = '0' WHERE `id` IN (201376); + +-- --------------- +-- Queen Lana'thel +-- --------------- + +UPDATE `creature_template` SET `ScriptName`='boss_blood_queen_lanathel', `AIName`='' WHERE `entry`= 37955; +UPDATE `creature_template` SET `minlevel` = 80, `maxlevel` = 80, `AIName` ='', `faction_A`= 14, `faction_H` = 14,`ScriptName`='mob_swarming_shadows' WHERE `entry`= 38163; +UPDATE `gameobject_template` SET `faction` = '0', `ScriptName` = 'go_frostwing_sigil' WHERE `gameobject_template`.`entry` IN (202181); +DELETE FROM `spell_proc_event` WHERE entry IN (70871); +INSERT INTO `spell_proc_event` VALUES +(70871, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); + +DELETE FROM `creature_model_info` WHERE (`modelid`=31165); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (31165, 3, 2, 2, 0, 0); + +DELETE FROM `creature_model_info` WHERE (`modelid`=31093); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (31093, 1.24, 2, 1, 0, 0); +-- --------------------- +-- Valithria dreamwalker +-- --------------------- + +UPDATE `creature_template` SET `faction_A` = 35, `faction_H` = 35, `AIName` = '', `ScriptName` = 'boss_valithria_dreamwalker' WHERE `entry` = 36789; +UPDATE `creature_template` SET `faction_A` = 35, `faction_H` = 35 WHERE `entry`= 38174; +UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14, `ScriptName`='mob_nightmare_portal', `AIName`='' WHERE `entry`= 38429; +UPDATE `creature_template` SET `ScriptName`='mob_mana_void', `AIName`='' WHERE `entry`= 38068; +DELETE FROM `creature` WHERE `guid` = 47738 AND `id` = 38589; +DELETE FROM `pool_creature` WHERE `guid`=47738; + +UPDATE `gameobject_template` SET `faction` = '0',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201375,201373); +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201374); +UPDATE `gameobject` SET `state` = '1' WHERE `id` IN (201374); +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201380,201381,201382,201383); +UPDATE `gameobject_template` SET `faction` = '0' WHERE `entry` IN (201380,201381,201382,201383); +UPDATE `gameobject` SET `state` = '1' WHERE `id` IN (201380,201381,201382,201383); + +-- ---------- +-- Sindragosa +-- ---------- +UPDATE `creature_template` SET `ScriptName`='boss_sindragosa', `AIName`='' WHERE `entry`= 36853; +UPDATE `creature_template` SET `ScriptName`='mob_rimefang', `AIName`='' WHERE `entry`= 37533; +UPDATE `creature_template` SET `ScriptName`='mob_spinestalker', `AIName`='' WHERE `entry`= 37534; + +UPDATE `creature_template` SET `ScriptName`='mob_ice_tomb', `AIName`='' WHERE `entry`= 36980; +UPDATE `creature_template` SET `ScriptName`='mob_frost_bomb', `AIName`='' WHERE `entry`= 37186; +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (201369,201379); +UPDATE `gameobject` SET `state` = '1' WHERE `id` IN (201369,201379); + +-- ------------------------------- +-- frost bomb target from Lordronn +-- ------------------------------- +DELETE FROM `creature_template_addon` WHERE `entry` = 37186; +INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES (37186, 70022); + +-- --------- +-- Lich King +-- --------- + +UPDATE `creature_template` SET `ScriptName`='boss_the_lich_king_icc', `AIName`='' WHERE `entry`= 36597; +UPDATE `creature_template` SET `ScriptName`='boss_tirion_icc', `npcflag`=1, `AIName`='' WHERE `entry`= 38995; +INSERT IGNORE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('71614', '1', '38995'); + +UPDATE `creature_template` SET `ScriptName`='mob_ice_sphere_icc', `AIName`='' WHERE `entry`= 36633; +UPDATE `creature_template` SET `ScriptName`='mob_defiler_icc', `AIName`='' WHERE `entry`= 38757; +UPDATE `creature_template` SET `ScriptName`='mob_strangulate_vehicle', `AIName`='' WHERE `entry`= 36598; +UPDATE `creature_template` SET `ScriptName`='mob_vile_spirit', `AIName`='' WHERE `entry`= 37799; +UPDATE `creature_template` SET `ScriptName`='mob_raging_spirit', `AIName`='' WHERE `entry`= 36701; + +DELETE FROM `npc_text` WHERE `ID` IN (721001,721002); +INSERT INTO `npc_text` (`ID`, `Text0_0`) VALUES +(721001, 'Greetings $N! Are you ready to battle with Lich King?'), +(721002, 'Instance script designed by /dev/rsa especially for\n http://wow.teletoria.ru\n Thanks to:\n Vladimir Mangos\n Insider42\n Wowka321\n Selector\n and many other !\n'); + +DELETE FROM `locales_npc_text` WHERE `entry` IN (721001,721002); +INSERT INTO `locales_npc_text` (`entry`, `Text0_0_loc1`, `Text0_0_loc2`, `Text0_0_loc3`, `Text0_0_loc4`, `Text0_0_loc5`, `Text0_0_loc6`, `Text0_0_loc7`, `Text0_0_loc8`) VALUES +(721001, 'Greetings $N! Are you ready to battle with Lich King?', NULL, NULL, NULL, NULL, NULL, NULL, 'Приветствую, $N! Поможешь мне прихлопнуть главного засранца WOW?'), +(721002, 'Instance script designed by /dev/rsa especially for\n http://wow.teletoria.ru\n Thanks to:\n Vladimir Mangos\n Insider42\n Wowka321\n Selector\n and many other !\n', NULL, NULL, NULL, NULL, NULL, NULL, 'Скрипт инстанса разработан специально для\n http://wow.teletoria.ru\n Благодарности:\n Vladimir Mangos\n Insider42\n Wowka321\n Selector\n и многим другим!\n (c) /dev/rsa 2010 год'); + +-- ----------------- +-- EAI YTDB CLEAN UP +-- ----------------- +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=37973); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=37972); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=37970); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=38004); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=38112); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=37813); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36627); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36723); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36789); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36612); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=36855); + +-- ----------------------------------------------------------------------------------------------- +-- Instance Fixes -------------------------------------------------------------------------------- +-- ----------------------------------------------------------------------------------------------- + +-- The Following had the auras ' permanet Fegien death, be undead and some other retarded aura + +DELETE FROM `creature_template_addon` WHERE (`entry`=37122); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`) VALUES (37122, 0, 0, 1, 0, 333, 0); + +DELETE FROM `creature_template_addon` WHERE (`entry`=37123); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`) VALUES (37123, 0, 0, 1, 0, 333, 0); + +DELETE FROM `creature_template_addon` WHERE (`entry`=37124); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`) VALUES (37124, 0, 0, 1, 0, 333, 0); + +DELETE FROM `creature_template_addon` WHERE (`entry`=37125); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`) VALUES (37125, 0, 0, 1, 0, 333, 0); + +DELETE FROM `creature_template_addon` WHERE (`entry`=37132); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`) VALUES (37132, 0, 0, 0, 0, 333, 0); + +DELETE FROM `creature_template_addon` WHERE (`entry`=37134); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`) VALUES (37134, 0, 0, 0, 0, 333, 0); + +DELETE FROM `creature_template_addon` WHERE (`entry`=37133); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`) VALUES (37133, 0, 0, 0, 0, 333, 0); +-- end of weird addon fix + +-- fix double spawn of dream dragon +DELETE FROM `creature` WHERE `id`=37950; + +-- ------ diff --git a/sql_mr/mr00191_mangos_ebon_hold_dk_quest.sql b/sql_mr/mr00191_mangos_ebon_hold_dk_quest.sql new file mode 100644 index 0000000..0d6545f --- /dev/null +++ b/sql_mr/mr00191_mangos_ebon_hold_dk_quest.sql @@ -0,0 +1,397 @@ +-- first clean +-- YTDB cleanup +DELETE FROM `creature` WHERE `map` = 609 AND `guid` IN (116863); +DELETE FROM `creature` WHERE `map` = 609 AND `id` IN (29219,29206,29190); +UPDATE `creature_template` SET `unit_flags`=0,`type_flags`=8 WHERE entry IN (29174,29182,29186,29190,29206,29176,29177,29181); +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'generic_creature' WHERE `entry` = 29178; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'generic_creature' WHERE `entry` = 29179; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'generic_creature' WHERE `entry` = 29180; + +-- ------------ +-- Special npcs +-- ------------ + +UPDATE `creature_template` SET `ScriptName` = 'npc_valkyr_battle_maiden' WHERE `entry` = '28534'; + +-- ------------------------ +-- QUEST::DAWN OF THE LIGHT +-- ------------------------ +-- remove the four static uneeded spawn around chapel -- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29174; + +-- remove static rayne-- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29181; + +-- remove static rimblat-- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29182; + +-- remove static krofax-- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29176; + +-- remove static eligor-- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29177; + +-- remove static tyrosus-- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29178; + +-- remove static leon-- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29179; + +-- remove stativ duke-- spawned during event not static plus they respawn during event +DELETE FROM `creature` WHERE `id`=29180; + +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_highlord_darion_mograine' WHERE `entry`='29173'; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_the_lich_king_tirion_dawn' WHERE `entry` in (29183,29175); +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_minibosses_dawn_of_light' WHERE `entry` IN (29199,29204,29200); +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='mob_acherus_ghoul' WHERE `entry`='29219'; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='mob_warrior_of_the_frozen_wastes' WHERE `entry`='29206'; + +DELETE FROM `spell_script_target` WHERE `entry` in (53658, 53679, 53701, 53705, 53706, 53677, 53685); +INSERT INTO `spell_script_target` VALUES (53679, 1, 29183); +INSERT INTO `spell_script_target` VALUES (53701, 1, 29175); +INSERT INTO `spell_script_target` VALUES (53705, 1, 29183); +INSERT INTO `spell_script_target` VALUES (53706, 1, 29183); +INSERT INTO `spell_script_target` VALUES (53677, 1, 29227); +INSERT INTO `spell_script_target` VALUES (53685, 1, 29175); + +-- ---------------------------- +-- Quest:: An End To All Things +-- ---------------------------- + +-- Frostbrood Vanquisher +UPDATE creature_template SET + spell1 = 53114, + spell2 = 53110, + spell3 = 0, + spell4 = 0, + spell5 = 0, + spell6 = 0, + vehicle_id = 156 +WHERE entry IN (28670); + +UPDATE creature_template SET maxhealth = 133525, minhealth = 133525, maxmana = 51360, minmana = 51360, InhabitType = 3 WHERE entry = 28670; + +REPLACE INTO creature_template_addon (entry, mount, bytes1, b2_0_sheath, emote, moveflags, auras) VALUES +(28670, 0, 50331648, 1, 0, 1024, '53112'); + +-- ----------------------------- +-- Quest::Ambush at the overlook +-- ----------------------------- +UPDATE `creature_template` SET `ScriptName`='mob_scarlet_courier' WHERE `entry`='29076'; + +-- ---------------------- +-- Quest::Bloody Breakout +-- ---------------------- + +UPDATE `creature_template` SET `mechanic_immune_mask` = 12582928 WHERE `entry` = 28912; +UPDATE `creature_template` SET `mechanic_immune_mask` = 12582928 WHERE `entry` = 28447; + +-- tweak Valroth EAI +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '29001'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2900112'); +INSERT INTO `creature_ai_scripts` VALUES ('2900112', '29001', '0', '0', '100', '1', '2000', '10000', '7500', '10000', '11', '52922', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'High Inquisitor Valroth - Cast Inquisitor_penance'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '29001'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2900101'); +INSERT INTO `creature_ai_scripts` VALUES ('2900101', '29001', '1', '0', '100', '0', '0', '0', '0', '0', '21', '1', '1', '0', '22', '0', '0', '0', '0', '0', '0', '0', 'High Inquisitor Valroth - Set Phase to 0 on Spawn'); + +UPDATE `gameobject_template` SET `castBarCaption` = 'Valroth\'s Remains' WHERE `entry` = 191092; -- caption bar message when looting remains + +UPDATE `creature_template` SET `equipment_id` = 0 WHERE `entry` = 28912; -- tabled half dead version shouldnt be carrying a axe +UPDATE `creature_template` SET `equipment_id` = 488 WHERE `entry` = 28447; -- this is model with axe + +DELETE FROM `creature_equip_template` WHERE (`entry`=488); +INSERT INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (488, 38633, 0, 0); -- make sure axe is right + +DELETE FROM `creature_template_addon` WHERE (`entry`=28912); -- spawned entry should nt have anti zone magic field +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES (28912, 0, 7, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template_addon` WHERE (`entry`=28447); -- this entry is the one that needs antimagic zone +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES (28447, 0, 0, 1, 0, 0, 0, 52894); + +-- tweaked crimsons EAIs +DELETE FROM `creature` WHERE `id`=29007; +UPDATE `creature_template` SET `AIName`='EventAI',minmana=1020,maxmana=1058,unit_flags=32768 WHERE (`entry`='29007'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '29007'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2900702'); +INSERT INTO `creature_ai_scripts` VALUES ('2900702', '29007', '0', '0', '100', '1', '1000', '4000', '1000', '4000', '11', '15498', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', ''); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '29007'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2900701'); +INSERT INTO `creature_ai_scripts` VALUES ('2900701', '29007', '4', '0', '100', '0', '0', '0', '0', '0', '11', '15498', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', ''); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '29007'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2900703'); +INSERT INTO `creature_ai_scripts` VALUES ('2900703', '29007', '11', '0', '100', '1', '0', '0', '0', '0', '11', '34809', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', ''); + +-- ----------------------------------------------------- +-- Quest how to win friends and how to influence enemies +-- ----------------------------------------------------- +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_crusade_persuaded' WHERE `entry` IN (28939,28610); -- 28640 scarlet crusader needs to be added + +-- --------------------------------------------------------------- +-- Quest Death comes From a High +-- --------------------------------------------------------------- +-- Eye of acherus +UPDATE `creature_template` SET `InhabitType` = 3, `ScriptName` = 'npc_eye_of_acherus' WHERE `entry` = 28511; +REPLACE INTO `creature_template_addon` (`entry`,`moveflags`,`auras`) VALUES (28511,33562624,''),(28525,0,'64328'),(28542,0,'64328'),(28543,0,'64328'),(28544,0,'64328'); +REPLACE INTO `spell_script_target` (`entry`,`type`,`targetEntry`) VALUES (51859,1,28525),(51859,1,28542),(51859,1,28543),(51859,1,28544); +DELETE FROM `creature_addon` WHERE `guid` IN (SELECT guid FROM `creature` WHERE `id` IN (28511,28525,28542,28543,28544)); +UPDATE `npc_spellclick_spells` SET `quest_start` = 0, `quest_start_active` = 0 WHERE `npc_entry` = 29501; + +UPDATE `quest_template` SET `ReqSpellCast1` = 0, `ReqSpellCast2` = 0, `ReqSpellCast3` = 0, `ReqSpellCast4` = 0 WHERE `entry` = 12641; + +DELETE FROM `creature_template` WHERE (`entry`=28511); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (28511, 0, 0, 0, 0, 0, 26320, 25499, 0, 0, 'Eye of Acherus', '', '', 0, 55, 55, 2614, 2614, 0, 0, 9730, 35, 35, 0, 1, 1.14286, 1, 0, 420, 630, 0, 157, 1, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 336, 504, 126, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52694, 52006, 51859, 51904, 0, 0, 0, '', 0, 4, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 'npc_eye_of_acherus'); +-- ----------------------------------------------------------------------------- +-- Quest Death's Changelle -- +-- ----------------------------------------------------------------------------- + +-- bug olrun - is out of interaction reach for smaller races -- +UPDATE `creature` SET `position_x` = 2371.77, `position_y` = -5788.7, `position_z` = 155.61 WHERE `guid` = 96309; + +-- Flying to high for smaller races to interact with olrun during -- +DELETE FROM `creature_movement` WHERE `id`=96309; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`waittime`,`script_id`,`textid1`,`textid2`,`textid3`,`textid4`,`textid5`,`emote`,`spell`,`wpguid`,`orientation`,`model1`,`model2`) VALUES +(96309, 1, 2376.5, -5781.67, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 2, 2372.28, -5788.87, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 3, 2364.96, -5780.4, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 4, 2360.76, -5774.66, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 5, 2365.82, -5770.87, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 6, 2371.81, -5767.54, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 7, 2371.6, -5775.58, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 8, 2376.5, -5781.67, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 9, 2372.28, -5788.87, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), +(96309, 10, 2364.96, -5780.4, 155.667, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); + +-- -------------------------------------------------------------------- +-- Quest Fix Noth Special Brew (dk starting area quest fix 12716/12717 +-- --------------------------------------------------------------------- +DELETE FROM `creature_questrelation` WHERE `quest` = 12716; +DELETE FROM `gameobject_questrelation` WHERE `quest` = 12716; +UPDATE `item_template` SET `StartQuest`=0 WHERE `StartQuest` = 12716; +INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28919, 12716); +UPDATE `creature_template` SET `npcflag`=`npcflag`|2 WHERE `entry` = 28919; +DELETE FROM `creature_involvedrelation` WHERE `quest` = 12716; +DELETE FROM `gameobject_involvedrelation` WHERE `quest` = 12716; +INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28919, 12716); +UPDATE `creature_template` SET `npcflag`=`npcflag`|2 WHERE `entry`=28919; +UPDATE `quest_template` SET `ExclusiveGroup` = 12716 WHERE `entry` = 12716; +UPDATE `quest_template` SET `SpecialFlags` = 0 WHERE `entry` = 12717; + +-- ------------------------------- +-- Quest Into the Realm of Shadows +-- ------------------------------- +UPDATE creature_template SET IconName = 'vehichleCursor', +unit_flags = 0, +spell1 = 52362 +WHERE entry =28782; + +UPDATE quest_template SET +SrcSpell = 52359, +SpecialFlags = 2, +ReqCreatureOrGOId1 = 28768, +ReqCreatureOrGOCount1 = 1, +ReqSpellCast1 = 0, +RewItemId1 = 39208, +RewItemCount1 = 1 WHERE entry = 12687; + +DELETE FROM creature_involvedrelation WHERE quest IN (12687); +INSERT INTO creature_involvedrelation (id, quest) VALUES (28788, 12687); +UPDATE creature_template SET npcflag = 2 WHERE entry = 28788; + +DELETE FROM spell_script_target WHERE entry = 52349; + +-- original YTDB scripts here +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 28768; +INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`) VALUES +(2876803, 28768, 0, 0, 100, 1, 3000, 7000, 6000, 9000, 11, 50688, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Dark Rider of Acherus - Cast Plague Strike'), +(2876806, 28768, 6, 0, 100, 0, 0, 0, 0, 0, 12, 28782, 0, 10000, 15, 12687, 6, 0, 43, 0, 0, 0, 'Dark Rider of Acherus - Spawn Deathcharger of Acherus and Set Quest Event Complete and Dismount on Death'), +(2876801, 28768, 4, 0, 100, 0, 0, 0, 0, 0, 1, -780, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Dark Rider of Acherus - Yell on Aggro'), +(2876804, 28768, 0, 0, 100, 1, 6000, 10000, 6000, 9000, 11, 52374, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Dark Rider of Acherus - Cast Blood Strike'), +(2876802, 28768, 0, 0, 100, 1, 0, 1500, 6000, 9000, 11, 52372, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Dark Rider of Acherus - Cast Icy Touch'), +(2876805, 28768, 9, 0, 100, 1, 5, 30, 2000, 2000, 11, 52356, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Dark Rider of Acherus - Cast Throw'); + +-- replace for one action +UPDATE creature_ai_scripts SET +action1_type = '11', +action1_param1 = '52361', +action1_param2 = '6', +action1_param3 = '16', +action2_type = '11', +action2_param1 = '52357', +action2_param2 = '6', +action2_param3 = '16', +action3_type = '0' +WHERE id = 2876806; + +DELETE FROM creature WHERE id = 28782; + +DELETE FROM creature_template_addon WHERE entry = 28782; + +DELETE FROM npc_spellclick_spells WHERE npc_entry IN (28782); +INSERT INTO npc_spellclick_spells VALUES +(28782, 46598, 0, 0, 0, 1); + +-- ----------------------------------- +-- Quest The Gift That Keeps On Giving +-- ----------------------------------- + +-- item spell script targets (Scarlet Miners) +DELETE FROM spell_script_target WHERE entry = 52479; +INSERT INTO spell_script_target VALUES +(52479, 1, 28819), +(52479, 1, 28822), +(52479, 1, 28891); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 28846; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'mob_scarlet_ghoul' WHERE `entry` = 28845; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'mob_scarlet_miner' WHERE `entry` = 28822; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'mob_scarlet_miner' WHERE `entry` = 28819; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'mob_scarlet_miner' WHERE `entry` = 28891; +UPDATE `item_template` SET `ScriptName` = 'mob_scarlet_miner' WHERE `entry` = 39253; + +-- EventAI for ghost needs tweaked and double checked +DELETE FROM `creature_ai_texts` WHERE `entry` IN (-286102, -286101, -286100); +INSERT INTO `creature_ai_texts` VALUES +(-286100, "Die, Scourge filth!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Ghost SAY1"), +(-286101, "It won't be that easy, friend!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Ghost SAY2"), +(-286102, "I'll take you with me!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Ghost SAY3"); + +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 28846; +INSERT INTO `creature_ai_scripts` VALUES +(2884601, 28846, 11, 0, 100, 0, 0, 0, 0, 0, 1, -286100, -286101, -286102, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Ghost - Random say at spawn"); + +-- fix to take Quest Item Away at end of quest +UPDATE `quest_template` SET `ReqItemId1` = 39253, `ReqItemCount1` = 1 WHERE `entry` = 12698; + +-- ------------------------------------- +-- -- Massacre at Light's point quest 12701 +-- ------------------------------------- + +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_scarlet_miner' WHERE `entry` = 28841; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_mine_car' WHERE `entry` = 28817; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_scourge_gryphon' WHERE `entry` = 28864; +UPDATE `gameobject_template` SET `ScriptName` = 'go_inconspicous_mine_car' WHERE `entry` = 190767; +UPDATE `creature_template` SET `mechanic_immune_mask` = 0, `flags_extra` = 0 WHERE `entry` = 28864; + +-- fixed dispaly of mine cart +UPDATE `creature_template` SET `modelid_2` = 25703 WHERE `entry` = 28817; + +/* Scourge Gryphon */ +UPDATE creature_template SET vehicle_id = 143, speed_run = 2 WHERE entry = 28864; + +DELETE FROM `creature_template_addon` WHERE (`entry`=28864); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES (28864, 0, 0, 0, 0, 0, 0, 61453); + +UPDATE creature_template SET +spell1 = 52435, +spell2 = 52576, +spell3 = 0, +spell4 = 0, +spell5 = 52588, +spell6 = 0, +vehicle_id = 79 +WHERE entry IN (28833); + +UPDATE creature_template SET +spell1 = 52435, +spell2 = 52576, +spell3 = 0, +spell4 = 0, +spell5 = 52588, +spell6 = 0, +vehicle_id = 68 +WHERE entry IN (28887); + +INSERT INTO npc_spellclick_spells VALUES ('28833', '52447', '12701', '1', '12701', '1'); +INSERT INTO npc_spellclick_spells VALUES ('28887', '52447', '12701', '1', '12701', '1'); +UPDATE creature_template SET minhealth = 26140, maxhealth = 26140, dynamicflags = 0, minmana = 2117, maxmana = 2117, unit_flags = 772, minlevel = 55, maxlevel = 55, unk16 = 10, unk17 = 1, InhabitType = 3, scale = 1, mindmg = 685, maxdmg = 715, armor = 3232, attackpower = 214, unit_class = 2, TYPE = 10 WHERE entry = 28833; +UPDATE creature_template SET minhealth = 26140, maxhealth = 26140, dynamicflags = 0, minmana = 0, maxmana = 0, unit_flags = 772, minlevel = 55, maxlevel = 55, unk16 = 10, unk17 = 1, InhabitType = 3, scale = 1, mindmg = 685, maxdmg = 715, armor = 3232, attackpower = 214, unit_class = 2, TYPE = 10 WHERE entry = 28887; +INSERT IGNORE INTO spell_script_target VALUES (52576, 1, 28834); +INSERT IGNORE INTO spell_script_target VALUES (52576, 1, 28886); +INSERT IGNORE INTO spell_script_target VALUES (52576, 1, 28850); + +DELETE FROM spell_target_position WHERE id = 52462; +INSERT INTO spell_target_position +(id,target_map,target_position_x,target_position_y,target_position_z,target_orientation) VALUES +(52462, 609, 2390.193115, -5900.238281, 108.967354, 3.894099); + + +-- ------------------------------------- +-- ACID scripts for Scarlet Enclave mobs +-- ------------------------------------- + +-- EventAI scripts name set +UPDATE `creature_template` SET `AIName` = "EventAI", `scriptname` = "" WHERE entry IN (28834, 28892, 28856, 28936, 28850, 29104, 28941, 28942, 28577, 28576, 28557); + +-- script_texts +DELETE FROM `creature_ai_texts` WHERE `entry` BETWEEN -286099 AND -286092; +INSERT INTO `creature_ai_texts` VALUES +(-286099, "You don't have to do this! Nobody has to die!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Say Fear01"), +(-286098, "Let me live! I'll do whatever you say!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Say Fear02"), +(-286097, "Ugh... I... I think I pooped...", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Say Fear03"), +(-286096, "I picked the wrong day to quit drinkin'!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Say Fear04"), +(-286095, "Don't kill me! I only took this job for benefits!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Say Fear05"), +(-286094, "Have mercy, sir!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Citizen of Heavenshire - Say Aggro1"), +(-286093, "You may take my life, but you won't take my freedom!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Citizen of Heavenshire - Say Enrage1"), +(-286092, "DIE!", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Citizen of Heavenshire - Say Enrage2"); + +-- EVENTAI scripts +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (28834, 28856, 28936, 28850, 29104, 28941, 28942, 28577, 28576, 28557, 28892); +INSERT INTO `creature_ai_scripts` VALUES + +-- Scarlet Defender +(2883401, 28834, 0, 0, 100, 1, 0, 0, 3000, 3000, 11, 52566, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Defender - Cast Shoot"), +-- Scarlet Guardian +(2885601, 28856, 4, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 0, "Scarlet Guardian - Stop moving and set Phase 2 on aggro"), +(2885602, 28856, 9, 1, 100, 0, 10, 150, 0, 0, 21, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 0, "Scarlet Guardian - Stop moving and set Phase 2 at 10yd range"), +(2885603, 28856, 0, 1, 100, 1, 3000, 3000, 3000, 3000, 11, 25710, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Guardian - Cast Heroic Strike(Phase 1)"), +(2885604, 28856, 0, 2, 100, 1, 0, 0, 3000, 3000, 11, 52566, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Guardian - Cast Shoot(Phase 2)"), +(2885605, 28856, 9, 2, 100, 0, 0, 10, 0, 0, 21, 1, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, "Scarlet Guardian - Set Phase 1 at less then 10yd (Phase 2)"), +(2885606, 28856, 9, 0, 100, 0, 150, 300, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Guardian - Evade 150yd"), +-- Scarlet Commander +(2893601, 28936, 4, 0, 100, 0, 0, 0, 0, 0, 21, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 0, "Scarlet Commander - Stop moving and set Phase 2 on aggro"), +(2893602, 28936, 9, 1, 100, 0, 10, 150, 0, 0, 21, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 0, "Scarlet Commander - Stop moving and set Phase 2 at 10yd range"), +(2893603, 28936, 0, 1, 100, 1, 3000, 3000, 3000, 3000, 11, 25710, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Commander - Cast Heroic Strike(Phase 1)"), +(2893604, 28936, 0, 2, 100, 1, 0, 0, 3000, 3000, 11, 52566, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Commander - Cast Shoot(Phase 2)"), +(2893605, 28936, 9, 2, 100, 0, 0, 10, 0, 0, 21, 1, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, "Scarlet Commander - Set Phase 1 at less then 10yd (Phase 2)"), +(2893606, 28936, 9, 0, 100, 0, 150, 300, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Commander - Evade 150yd"), +-- Scarlet Land Cannon +(2885001, 28850, 0, 0, 100, 1, 0, 0, 3000, 3000, 11, 52539, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Cannon - Cast Cannonball"), +(2885002, 28850, 9, 0, 100, 0, 150, 300, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Cannon - Evade 150yd"), +-- Scarlet Balista +(2910401, 29104, 0, 0, 100, 1, 0, 0, 3000, 3000, 11, 53117, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Balista - Cast Ballista assault"), +(2910402, 29104, 9, 0, 100, 0, 150, 300, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Balista - Evade 150yd"), +-- Citizens of New Avalon -- needs tweaked +(2894101, 28941, 11, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - Spawn set Phase 1"), +(2894102, 28941, 0, 0, 80, 1, 0, 0, 10000, 10000, 11, 52716, 1, 1, 22, 2, 0, 0, 1, -286094, -286099, -286095, "Citizen of New Avalon - On Aggro: Escape in fear and set Phase 2"), +(2894103, 28941, 0, 0, 20, 1, 0, 0, 10000, 10000, 11, 52262, 1, 1, 22, 2, 0, 0, 1, -286093, -286092, 0, "Citizens of New Avalon - On Aggro: Enrage and set Phase 2"), +(2894201, 28942, 11, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Avalon - Spawn set Phase 1"), +(2894202, 28942, 0, 0, 80, 1, 0, 0, 10000, 10000, 11, 52716, 1, 1, 22, 2, 0, 0, 1, -286094, -286099, -286096, "Citizen of New Avalon - On Aggro: Escape in fear and set Phase 2"), +(2894203, 28942, 0, 0, 20, 1, 0, 0, 10000, 10000, 11, 52262, 1, 1, 22, 2, 0, 0, 1, -286093, -286092, 0, "Citizens of New Avalon - On Aggro: Enrage and set Phase 2"), +-- Citizens of Havenshire -- needs tweaked +(2857601, 28576, 11, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Citizen of New Havenshire - Spawn set Phase 1"), +(2857602, 28576, 4, 0, 80, 0, 0, 0, 0, 0, 11, 52716, 1, 1, 1, -286094, -286099, -286096, 0, 0, 0, 0, "Citizen of Havenshire - On Aggro: Beg for mercy"), +(2857603, 28576, 0, 0, 100, 1, 0, 0, 1000, 1000, 20, 0, 0, 0, 21, 0, 0, 0, 5, 20, 0, 0, "Citizen of Havenshire - Cower (Phase 3)"), +(2857604, 28576, 4, 0, 20, 0, 0, 0, 0, 0, 11, 52262, 1, 1, 1, -286093, -286092, 0, 0, 0, 0, 0, "Citizens of Havenshire - On Aggro: Enrage"), +(2857605, 28576, 7, 0, 100, 0, 0, 0, 0, 0, 5, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, "Citizens of Havenshire - Reset State"), + +(2857701, 28577, 11, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Citizen of Havenshire - Spawn set Phase 1"), +(2857702, 28577, 4, 0, 80, 0, 0, 0, 0, 0, 11, 52716, 1, 1, 1, -286094, -286099, -286095, 22, 3, 0, 0, "Citizen of Havenshire - On Aggro: Beg for mercy"), +(2857703, 28577, 0, 0, 100, 1, 0, 0, 1000, 1000, 20, 0, 0, 0, 5, 431, 0, 0, 21, 0, 0, 0, "Citizen of Havenshire - Cower (Phase 3)"), +(2857704, 28577, 4, 0, 20, 0, 0, 0, 0, 0, 11, 52262, 1, 1, 1, -286093, -286092, 0, 0, 0, 0, 0, "Citizens of Havenshire - On Aggro: Enrage"), +(2857705, 28577, 7, 0, 100, 0, 0, 0, 0, 0, 5, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, "Citizens of Havenshire - Reset State"), +-- Scarlet Peasant -- needs tweaked +(2855701, 28557, 11, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Spawn set Phase 1"), +(2855702, 28557, 4, 1, 80, 0, 0, 0, 0, 0, 11, 52716, 1, 1, 1, -286099, -286098, -286097, 22, 2, 0, 0, "Scarlet Peasant - On Aggro: Beg for mercy"), +(2855703, 28557, 0, 0, 100, 1, 0, 0, 1000, 1000, 20, 0, 0, 0, 5, 20, 0, 0, 21, 0, 0, 0, "Scarlet Peasant - Cower (Phase 2)"), +(2855704, 28557, 7, 0, 100, 0, 0, 0, 0, 0, 5, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Reset State"), +(2889201, 28892, 11, 0, 100, 1, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Spawn set Phase 1"), +(2889202, 28892, 4, 1, 80, 0, 0, 0, 0, 0, 11, 52716, 1, 1, 1, -286099, -286098, -286097, 22, 2, 0, 0, "Scarlet Peasant - On Aggro: Beg for mercy"), +(2889203, 28892, 0, 0, 100, 1, 0, 0, 1000, 1000, 20, 0, 0, 0, 5, 20, 0, 0, 21, 0, 0, 0, "Scarlet Peasant - Cower (Phase 2)"), +(2889204, 28892, 7, 0, 100, 0, 0, 0, 0, 0, 5, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 0, "Scarlet Peasant - Reset State"); + +-- end of EventAI +-- ----------------------------------------------------------------------------------------------------------------------------------------------------- \ No newline at end of file diff --git a/sql_mr/mr00205_mangos_ulduar_raid.sql b/sql_mr/mr00205_mangos_ulduar_raid.sql new file mode 100644 index 0000000..0924a8b --- /dev/null +++ b/sql_mr/mr00205_mangos_ulduar_raid.sql @@ -0,0 +1,480 @@ +/* ULDUAR from Xfurry*/ + +-- Flame Leviathan +UPDATE creature_template SET ScriptName = 'boss_flame_leviathan' WHERE entry = 33113; +UPDATE creature_template SET ScriptName = 'mob_defense_turret' WHERE entry = 33142; + +-- Ignis +UPDATE creature_template SET mechanic_immune_mask=617299803, scriptname='boss_ignis' WHERE entry=33118; +UPDATE creature_template SET ScriptName = 'mob_iron_construct' WHERE entry = 33121; +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('64474', '1', '33118'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('64475', '1', '33118'); +-- this may not be correct +UPDATE creature_template SET minlevel=80, maxlevel=80, faction_h=1925, faction_a=1925, scale=0.5, scriptname='mob_scorch_target' WHERE entry=33221; + +-- Razorscale +UPDATE creature_template SET mechanic_immune_mask=617299803, scriptname='boss_razorscale' WHERE entry=33186; +-- original x=587.547, y= -174.927, z = 391.517; make the boss fly before encounter starts +UPDATE creature SET position_x = 590.346741, position_y = -226.947647, position_z = 442.897583 WHERE id = 33186; +UPDATE gameobject_template SET flags= 6553648, ScriptName='go_broken_harpoon' WHERE entry = 194565; +-- only 2 harpoons for 10 man +UPDATE gameobject SET spawnMask = 2 WHERE guid IN (73595, 73592); +-- mole machines & adds +UPDATE creature_template SET ScriptName = 'mob_mole_machine' WHERE entry = 33245; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_watcher' WHERE entry = 33453; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_sentinel' WHERE entry = 33846; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_guardian' WHERE entry = 33388; +UPDATE creature_template SET ScriptName = 'npc_expedition_commander' WHERE entry = 33210; +UPDATE creature_template SET ScriptName = 'mob_devouring_flame_target' WHERE entry = 34188; + +-- XT002 +UPDATE creature_template SET mechanic_immune_mask=617299803, scriptname='boss_xt002' WHERE entry=33293; +UPDATE creature_template SET ScriptName = 'mob_pummeler' WHERE entry = 33344; +UPDATE creature_template SET speed_run=0.5, faction_a=1925, faction_h=1925, scriptname='mob_boombot' WHERE entry=33346; +UPDATE creature_template SET speed_run=0.5 WHERE entry=33343; +UPDATE creature_template SET mechanic_immune_mask=652951551, scriptname='mob_xtheart' WHERE entry=33329; +UPDATE creature_template SET ScriptName = 'mob_voidzone' WHERE entry = 34001; +UPDATE creature_template SET minhealth = 176400, maxhealth = 176400, minlevel = 80, maxlevel = 80, faction_a = 14, faction_h = 14, ScriptName = 'mob_lifespark' WHERE entry = 34004; +UPDATE creature SET spawnMask = 0 WHERE id IN (34004); + +-- THIS IS A WORKAROUND FOR THE HARD MODE LOOT, PLEASE REMOVE IF YOU DON'T WANT TO USE IT! +-- hard loot for the heart +UPDATE creature_template SET lootid = 33329 WHERE entry = 33329; +UPDATE creature_template SET lootid = 33995 WHERE entry = 33995; +-- rewrite loot for XT to support hard mode: moved hard mode loot to XT heart +-- 10 man: +-- hard mode loot for the heart +DELETE FROM `creature_loot_template` WHERE (`entry`=33329); +INSERT INTO `creature_loot_template` VALUES +(33329, 45867, 0, 1, 1, 1, 0, 0, 0), +(33329, 45868, 0, 1, 1, 1, 0, 0, 0), +(33329, 45869, 0, 1, 1, 1, 0, 0, 0), +(33329, 45870, 0, 1, 1, 1, 0, 0, 0), +(33329, 45871, 0, 1, 1, 1, 0, 0, 0); +-- 25 man: +-- no hard loot on xt so moving to the heart +DELETE FROM `creature_loot_template` WHERE (`entry`=33995); +INSERT INTO `creature_loot_template` VALUES +(33995, 45445, 0, 1, 1, 1, 0, 0, 0), +(33995, 45443, 0, 1, 1, 1, 0, 0, 0), +(33995, 45444, 0, 1, 1, 1, 0, 0, 0), +(33995, 45446, 0, 1, 1, 1, 0, 0, 0), +(33995, 45442, 0, 1, 1, 1, 0, 0, 0); + +-- Iron council +UPDATE creature_template SET mechanic_immune_mask=619395071, scriptname='boss_brundir' WHERE entry=32857; +UPDATE creature_template SET mechanic_immune_mask=617299803, scriptname='boss_molgeim' WHERE entry=32927; +UPDATE creature_template SET mechanic_immune_mask=617299803, scriptname='boss_steelbreaker' WHERE entry=32867; +UPDATE creature_template SET ScriptName = 'mob_rune_of_power' WHERE entry = 33705; +UPDATE creature_template SET ScriptName = 'mob_rune_of_summoning' WHERE entry = 33051; +UPDATE creature_template SET ScriptName = 'mob_ulduar_lightning_elemental' WHERE entry = 32958; +UPDATE `creature_template` SET `mechanic_immune_mask` = 619397115 WHERE `entry` IN (32857, 33694); + +-- LOOT FOR THESE THREE SHOUDL BE PROGRESSIVE, MAYBE THIS IS NOT THE RIGHT WAY TO DO IT +-- update loot id: +-- brundir +UPDATE `creature_template` SET `lootid` = 32857 WHERE `entry` = 32857; +UPDATE `creature_template` SET `lootid` = 33694 WHERE `entry` = 33694; +-- molgeim = steelbreaker (I dont know exactly which items are missing from molgeim's loot so i'm leaving it the same for now); +UPDATE `creature_template` SET `lootid` = 32867 WHERE `entry` = 32927; +UPDATE `creature_template` SET `lootid` = 33693 WHERE `entry` = 33692; +-- Rewrite loot for council: this will allow us to use hard mode loot because only the last killed boss will be lootable +-- 10 man version +-- Brundir: +DELETE FROM `creature_loot_template` WHERE (`entry`=32857); +INSERT INTO `creature_loot_template` VALUES +(32857, 45322, 0, 2, 1, 1, 0, 0, 0), +(32857, 45324, 0, 1, 1, 1, 0, 0, 0), +(32857, 45329, 0, 2, 1, 1, 0, 0, 0), +(32857, 45330, 0, 1, 1, 1, 0, 0, 0), +(32857, 45331, 0, 2, 1, 1, 0, 0, 0), +(32857, 45332, 0, 1, 1, 1, 0, 0, 0), +(32857, 45333, 0, 2, 1, 1, 0, 0, 0), +(32857, 45378, 0, 2, 1, 1, 0, 0, 0), +(32857, 45418, 0, 1, 1, 1, 0, 0, 0), +(32857, 45423, 0, 1, 1, 1, 0, 0, 0), +-- emblem 100% drop +(32857, 47241, 100, 0, 1, 1, 0, 0, 0); +-- 25 man version +-- Brundir: +DELETE FROM `creature_loot_template` WHERE (`entry`=33694); +INSERT INTO `creature_loot_template` VALUES +(33694, 45224, 0, 3, 1, 1, 0, 0, 0), +(33694, 45228, 0, 3, 1, 1, 0, 0, 0), +(33694, 45233, 0, 3, 1, 1, 0, 0, 0), +(33694, 45234, 0, 3, 1, 1, 0, 0, 0), +(33694, 45236, 0, 3, 1, 1, 0, 0, 0), +(33694, 45226, 0, 2, 1, 1, 0, 0, 0), +(33694, 45235, 0, 2, 1, 1, 0, 0, 0), +(33694, 45237, 0, 2, 1, 1, 0, 0, 0), +(33694, 45238, 0, 2, 1, 1, 0, 0, 0), +(33694, 45239, 0, 2, 1, 1, 0, 0, 0), +(33694, 45193, 0, 1, 1, 1, 0, 0, 0), +(33694, 45225, 0, 1, 1, 1, 0, 0, 0), +(33694, 45227, 0, 1, 1, 1, 0, 0, 0), +(33694, 45232, 0, 1, 1, 1, 0, 0, 0), +(33694, 45240, 0, 1, 1, 1, 0, 0, 0), +(33694, 45038, 10, 0, 1, 1, 0, 0, 0), +(33694, 45087, 33, 0, 1, 2, 0, 0, 0), +(33694, 45089, 5, 0, -45089, 1, 0, 0, 0), +-- emblem 100% drop +(33694, 47241, 100, 0, 1, 1, 0, 0, 0); + +-- Kologarn +DELETE FROM creature WHERE id IN (32933, 32934); +-- fix arms position because of the missing vehicles +INSERT INTO creature (guid, id, map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, DeathState, MovementType) VALUES (600123, 32933, 603, 3, 1, 0, 0, 1799.68, -24.3599, 452.227, 3.14747, 604800, 0, 0, 543855, 0, 0, 0); +INSERT INTO creature (guid, id, map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, DeathState, MovementType) VALUES (600124, 32934, 603, 3, 1, 0, 0, 1799.68, -24.3599, 452.227, 3.14747, 604800, 0, 0, 543855, 0, 0, 0); +UPDATE creature_model_info SET bounding_radius=15, combat_reach=15 WHERE modelid IN (28638, 28822, 28821); +UPDATE creature_template SET mechanic_immune_mask=617299803, unit_flags = 0, scriptname='boss_kologarn' WHERE entry=32930; +UPDATE creature_template SET mechanic_immune_mask=652951551, scriptname='boss_right_arm' WHERE entry=32934; +UPDATE creature_template SET mechanic_immune_mask=652951551, scriptname='boss_left_arm' WHERE entry=32933; +UPDATE creature_template SET ScriptName = 'mob_ulduar_rubble' WHERE entry IN (33768, 33809); +UPDATE `gameobject` SET `position_y` = -35.6824, `position_x` = 1837.59 WHERE `id` IN (195047); +UPDATE `creature_template` SET `RegenHealth` = 1 WHERE `entry` = 33910; +UPDATE `creature_template` SET `RegenHealth` = 1 WHERE `entry` = 33911; + +-- Auriaya +UPDATE creature_template SET mechanic_immune_mask=583745371, equipment_id = 103000, scriptname='boss_auriaya' WHERE entry=33515; +UPDATE creature_template SET mechanic_immune_mask=619395071, scriptname='mob_feral_defender' WHERE entry=34035; +UPDATE creature_template SET minlevel=80, maxlevel=80, faction_h=14, faction_a=14, scriptname='mob_seeping_feral_essence' WHERE entry=34098; +UPDATE creature_template SET ScriptName = 'mob_sanctum_sentry' WHERE entry = 34014; +UPDATE `creature_template` SET `mechanic_immune_mask` = 619397115 WHERE `entry` IN (33515, 34175); +DELETE FROM creature_equip_template WHERE entry = 103000; +INSERT INTO creature_equip_template values (103000, 45315, 0, 0); +-- 2 more defenders for 25 man +DELETE FROM creature WHERE guid IN (800010, 800011); +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(800010, 34014, 603, 2, 65535, 0, 0, 1945.2, 37.2442, 411.356, 3.62107, 7200, 0, 0, 334680, 0, 0, 0), +(800011, 34014, 603, 2, 65535, 0, 0, 1936.11, 49.8233, 411.352, 3.85276, 7200, 0, 0, 334680, 0, 0, 0); +DELETE FROM `creature_movement` WHERE `id`=94378; +INSERT INTO `creature_movement` (`id`,`point`,`position_x`,`position_y`,`position_z`,`waittime`,`textid1`,`textid2`,`textid3`,`textid4`,`textid5`,`emote`,`spell`,`wpguid`,`orientation`,`model1`,`model2`) VALUES +-- UPDATED CREATURE MOVEMENT FOR AURIAYA, SHOULD MOVE AROUND THE CENTER SPIRE +#(94378, 4, 1916.56, -69.9669, 417.718, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.2268, 0, 0), -- after hodir up +#(94378, 3, 1900.26, -24.0211, 417.722, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.15909, 0, 0), -- center kolgoran +#(94378, 2, 1916.97, 21.1583, 417.748, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.86988, 0, 0), -- before yogg up + +(94378, 1, 1925.012, 30.0067, 411.356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.69685, 0, 0), -- before yogg down +(94378, 2, 1957.04, 49.3067, 411.355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.37071, 0, 0), -- after yogg down +(94378, 3, 1967.38, 51.4931, 417.561, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.09545, 0, 0), -- after yogg up +(94378, 4, 2013.07, 44.3788, 417.715, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.71365, 0, 0), -- before mimiron up +(94378, 5, 2021.35, 37.9771, 411.387, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.25205, 0, 0), -- before mimiron down +(94378, 6, 2046.36, 8.56725, 411.524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.203, 0, 0), -- after mimiron down +(94378, 7, 2053.32, -7.1366, 421.78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.85107, 0, 0), -- before freya up +(94378, 8, 2052.87, -40.8556, 421.706, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.4223, 0, 0), -- after freya up +(94378, 9, 2045.00, -56.79369, 411.359, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.20538, 0, 0), -- before thorim down +(94378, 10, 2022.18, -86.5468, 411.355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.60096, 0, 0), -- after thorim down +(94378, 11, 2012.94, -92.7106, 417.717, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.28968, 0, 0), -- after thorim up +(94378, 12, 1968.83, -101.0946, 417.722, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.662873, 0, 0),-- before hodir up +(94378, 13, 1958.08, -96.7855, 411.864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.763719, 0, 0), -- before hodir down +(94378, 14, 1924.12, -78.5404, 411.488, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.210024, 0, 0), -- after hodir down + +(94378, 15, 1958.08, -96.7855, 411.864, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.763719, 0, 0), -- before hodir down +(94378, 16, 1968.83, -101.0946, 417.722, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.662873, 0, 0),-- before hodir up +(94378, 17, 2012.94, -92.7106, 417.717, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.28968, 0, 0), -- after thorim up +(94378, 18, 2022.18, -86.5468, 411.355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.60096, 0, 0), -- after thorim down +(94378, 19, 2045.00, -56.79369, 411.359, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.20538, 0, 0), -- before thorim down +(94378, 20, 2052.87, -40.8556, 421.706, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.4223, 0, 0), -- after freya up +(94378, 21, 2053.32, -7.1366, 421.78, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.85107, 0, 0), -- before freya up +(94378, 22, 2046.36, 8.56725, 411.524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.203, 0, 0), -- after mimiron down +(94378, 23, 2021.35, 37.9771, 411.387, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.25205, 0, 0), -- before mimiron down +(94378, 24, 2013.07, 44.3788, 417.715, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.71365, 0, 0), -- before mimiron up +(94378, 25, 1967.38, 51.4931, 417.561, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.09545, 0, 0), -- after yogg up +(94378, 26, 1957.04, 49.3067, 411.355, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.37071, 0, 0); -- after yogg down + +-- Freya +UPDATE creature_template SET ScriptName = 'boss_freya' WHERE entry = 32906; +UPDATE creature_template SET ScriptName = 'boss_elder_brightleaf' WHERE entry = 32915; +UPDATE creature_template SET ScriptName = 'boss_elder_ironbranch' WHERE entry = 32913; +UPDATE creature_template SET ScriptName = 'boss_elder_stonebark' WHERE entry = 32914; +UPDATE creature_template SET ScriptName = 'mob_iron_roots' WHERE entry IN (33088, 33168); +UPDATE creature_template SET ScriptName = 'mob_freya_ground' WHERE entry IN (33215, 33228, 33170, 33050, 34129); +UPDATE creature_template SET ScriptName = 'mob_freya_spawned' WHERE entry IN (32916, 32919, 33202, 33203, 32918); +-- some aura fixes, this may be wrong +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62525', '1', '32906'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62524', '1', '32906'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62521', '1', '32906'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62385', '1', '32906'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62387', '1', '32906'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62386', '1', '32906'); + +-- Added hack for Freya's gift +DELETE FROM `gameobject` WHERE `id` IN (194324, 194325,194326,194327,194328,194329,194330,194331); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(733324, 194324, 603, 1, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1), +(733325, 194325, 603, 1, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1), +(733326, 194326, 603, 1, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1), +(733327, 194327, 603, 1, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1), +(733328, 194328, 603, 2, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1), +(733329, 194329, 603, 2, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1), +(733330, 194330, 603, 2, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1), +(733331, 194331, 603, 2, 65535, 2374.876221, -78.512665, 425.073608, 3.260976, 0, 0, 0.706026, 0.708186, -604800, 100, 1); +-- Delete bugged spell from mobs +DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (33430,33732) AND `action1_param1` = 63007; + +-- Hodir +UPDATE creature_template SET ScriptName = 'boss_hodir' WHERE entry = 32845; +UPDATE creature_template SET ScriptName = 'mob_toasty_fire' WHERE entry = 33342; +UPDATE creature_template SET ScriptName = 'mob_flashFreeze' WHERE entry IN (32926); +UPDATE `creature_template` SET `modelid_1` = 15880 WHERE `entry` = 33174; +UPDATE `creature_template` SET `modelid_2` = 28470, ScriptName = 'mob_icicle' WHERE `entry` = 33169; +-- flash freeze that will lock the npcs IN iceblock +UPDATE creature_template SET `modelid_1` = 25865 WHERE entry IN (32938, 33353); +UPDATE creature_template SET ScriptName = 'mob_npc_flashFreeze' WHERE entry IN (32938); +UPDATE creature SET spawnMask = 3 WHERE id IN (32938); +UPDATE creature SET spawnMask = 2 WHERE id IN (32901, 32900, 32950, 32946,33333, 33330, 33326); +UPDATE `creature_template` SET `minhealth` = 5647 WHERE `entry` = 32938; + +UPDATE creature_template SET ScriptName = 'npc_hodir_priest' WHERE entry IN (32897, 33326, 32948, 33330); +UPDATE creature_template SET ScriptName = 'npc_hodir_druid' WHERE entry IN (33325, 32901, 32941, 33333); +UPDATE creature_template SET ScriptName = 'npc_hodir_shaman' WHERE entry IN (33328, 32900, 33332, 32950); +UPDATE creature_template SET ScriptName = 'npc_hodir_mage' WHERE entry IN (32893, 33327, 33331, 32946); + +-- FIXED SOME POSITIONING FOR THE FRIENDLY NPCS, Besides this the freeze aura should also be fixed. +-- fixed npc positioning and added 4 extra flashfreeze for them. +-- 10 man: +-- mage +UPDATE creature SET position_x = 2000.9, position_y = -231.232 WHERE guid = 131930; +-- priest +UPDATE creature SET position_x = 2009.06, position_y = -244.058 WHERE guid = 131933; +DELETE FROM creature WHERE guid IN (800005); +INSERT INTO creature (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(800005, 32897, 603, 3, 128,0,0, 2009.06, -244.058, 432.687, 1.68485, 7200,0,0, 5647, 0, 0, 0); -- ally priest +-- shaman +UPDATE creature SET position_x = 1983.75, position_y = -243.358 WHERE id = 33328; +UPDATE creature SET position_x = 1983.75, position_y = -243.358 WHERE id = 33332; +-- druid +UPDATE creature SET position_x = 2021.12, position_y = -236.648 WHERE id = 32941; +UPDATE creature SET position_x = 2021.12, position_y = -236.648 WHERE id = 33325; +-- 25 man: +-- druid +UPDATE creature SET position_x = 2013.5, position_y = -240.338 WHERE id = 32901; +DELETE FROM creature WHERE guid IN (800006); +INSERT INTO creature (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(800006, 32938, 603, 2, 1,0,0, 2013.5, -240.338, 432.687, 1.68485, 7200,0,0, 5647, 0, 0, 0); +-- shaman: +UPDATE creature SET position_x = 2011.48, position_y = -232.79 WHERE id = 32900; +UPDATE creature SET position_x = 2011.48, position_y = -232.79 WHERE id = 32950; +DELETE FROM creature WHERE guid IN (800007); +INSERT INTO creature (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(800007, 32938, 603, 2, 1,0,0, 2011.48, -232.79, 432.687, 1.68485, 7200,0,0, 5647, 0, 0, 0); +-- mage: +DELETE FROM creature WHERE guid IN (800008, 800010); +INSERT INTO creature (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(800008, 33327, 603, 2, 128,0,0, 1978.49, -241.476, 432.687, 1.68485, 7200,0,0, 5647, 0, 0, 0), -- aly mage +(800010, 32938, 603, 2, 1,0,0, 1978.49, -241.476, 432.687, 1.68485, 7200,0,0, 5647, 0, 0, 0); +-- priest +UPDATE creature SET position_x = 1997.88, position_y = -239.394 WHERE id = 33330; +DELETE FROM creature WHERE guid IN (800009); +INSERT INTO creature (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(800009, 32938, 603, 2, 1,0,0, 1997.88, -239.394, 432.687, 1.68485, 7200,0,0, 5647, 0, 0, 0); + +-- Mimiron +UPDATE `gameobject_template` SET `data0` = '60000' WHERE `entry` =194675; +UPDATE creature_template SET ScriptName = 'boss_mimiron' WHERE entry = 33350; +UPDATE creature_template SET `RegenHealth`= 0, ScriptName = 'boss_leviathan_mk' WHERE entry = 33432; +UPDATE creature_template SET ScriptName = 'leviathan_turret' WHERE entry = 34071; +UPDATE creature_template SET ScriptName = 'mob_mimiron_flames' WHERE entry IN (34363, 34121); +UPDATE creature_template SET `RegenHealth`= 0, ScriptName = 'boss_vx001' WHERE entry = 33651; +UPDATE creature_template SET `RegenHealth`= 0, ScriptName = 'boss_aerial_command_unit' WHERE entry = 33670; +UPDATE creature SET position_x = 2784.35, position_y = 2578.03, orientation = 3.2 WHERE id = 33350; +UPDATE creature SET position_x = 2794.86, position_y = 2597.83, orientation = 3.57, spawnMask = 3 WHERE id = 33432; +UPDATE gameobject_template SET flags = 6553632, data2 = 2000, ScriptName='go_red_button' WHERE entry = 194739; +UPDATE creature_template SET ScriptName = 'mob_proximity_mine' WHERE entry = 34362; +UPDATE creature_template SET ScriptName = 'mob_bomb_bot' WHERE entry IN (33836, 34192); +UPDATE creature_template SET `faction_A` = 14, `faction_H` = 14, `minlevel` = 80, `maxlevel` = 80, ScriptName = 'mob_emergency_bot' WHERE entry = 34147; +UPDATE creature_template SET ScriptName = 'mob_frost_bomb_ulduar' WHERE entry = 34149; +UPDATE creature_template SET ScriptName = 'mob_mimiron_inferno' WHERE entry = 33370; +UPDATE creature_template SET ScriptName = 'mob_assault_bot' WHERE entry = 34057; +UPDATE creature_template SET ScriptName = 'mob_magnetic_core' WHERE entry = 34068; +UPDATE `gameobject` SET `position_x` = 2734.73 WHERE `id` IN (194789, 194956); +-- spells, may not be correct +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('64444', '1', '33670'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('63414', '1', '33651'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('65101', '1', '33350'); +-- REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62909', '1', '33350'); + +-- SOME MIMIRON LOOT BOXES ARE MISSING IN YTDB, THIS IS THE FIX FOR IT! +-- mimiron loot fix: +-- INSERT two new boxes +DELETE FROM `gameobject` WHERE `id` IN (194957, 194958); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(110004, 194957, 603, 1, 65535, 2734.73, 2568.98, 364.314, 0.0139475, 0, 0, 0.00697369, 0.999976, -604800, 100, 1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(110005, 194958, 603, 2, 65535, 2734.73, 2568.98, 364.314, 0.0139475, 0, 0, 0.00697369, 0.999976, -604800, 100, 1); +-- 10 man hard: +DELETE FROM `gameobject_loot_template` WHERE (`entry`=194957); +INSERT INTO `gameobject_loot_template` VALUES +(194957, 45089, 5, 0, -45089, 1, 0, 0, 0), +(194957, 45095, 2.0408, 0, 1, 1, 0, 0, 0), +(194957, 45649, 100, 0, -45649, 1, 0, 0, 0), +(194957, 45663, 0.4028, 0, 1, 1, 0, 0, 0), +(194957, 45787, -100, 0, 1, 1, 0, 0, 0), +(194957, 47241, 100, 0, 1, 1, 0, 0, 0), +(194957, 45972, 0, 1, 1, 1, 0, 0, 0), +(194957, 45973, 0, 1, 1, 1, 0, 0, 0), +(194957, 45974, 0, 1, 1, 1, 0, 0, 0), +(194957, 45975, 0, 1, 1, 1, 0, 0, 0), +(194957, 45976, 0, 1, 1, 1, 0, 0, 0), +(194957, 45982, 0, 2, 1, 1, 0, 0, 0), +(194957, 45988, 0, 2, 1, 1, 0, 0, 0), +(194957, 45989, 0, 2, 1, 1, 0, 0, 0), +(194957, 45990, 0, 2, 1, 1, 0, 0, 0), +(194957, 45993, 0, 2, 1, 1, 0, 0, 0); +-- 25 man hard: +DELETE FROM `gameobject_loot_template` WHERE (`entry`=194958); +INSERT INTO `gameobject_loot_template` VALUES +(194958, 45038, 10, 0, 1, 1, 0, 0, 0), +(194958, 45087, 33, 0, 1, 1, 0, 0, 0), +(194958, 45089, 5, 0, -45089, 1, 0, 0, 0), +(194958, 45643, 100, 0, -45643, 1, 0, 0, 0), +(194958, 45816, -100, 0, 1, 1, 0, 0, 0), +(194958, 47241, 100, 0, 1, 1, 0, 0, 0), +(194958, 45489, 0, 1, 1, 1, 0, 0, 0), +(194958, 45490, 0, 1, 1, 1, 0, 0, 0), +(194958, 45491, 0, 1, 1, 1, 0, 0, 0), +(194958, 45492, 0, 1, 1, 1, 0, 0, 0), +(194958, 45493, 0, 1, 1, 1, 0, 0, 0), +(194958, 45494, 0, 2, 1, 1, 0, 0, 0), +(194958, 45495, 0, 2, 1, 1, 0, 0, 0), +(194958, 45496, 0, 2, 1, 1, 0, 0, 0), +(194958, 45497, 0, 2, 1, 1, 0, 0, 0), +(194958, 45663, 0, 2, 1, 1, 0, 0, 0); + +-- Thorim +UPDATE creature_template SET ScriptName = 'boss_thorim' WHERE entry = 32865; +UPDATE creature_template SET ScriptName = 'boss_runic_colossus' WHERE entry = 32872; +UPDATE creature_template SET ScriptName = 'boss_ancient_rune_giant' WHERE entry = 32873; +UPDATE creature_template SET ScriptName = 'npc_lightning_orb' WHERE entry = 33138; +UPDATE creature_template SET ScriptName = 'mob_thorim_trap_bunny' WHERE entry IN (33725, 33054); +UPDATE creature_template SET ScriptName = 'mob_thorim_preadds' WHERE entry IN (32885, 32883, 32907, 32908, 32882); +UPDATE creature SET spawnMask = 3 WHERE id = 32873; +UPDATE creature_template SET ScriptName = 'npc_sif' WHERE entry = 33196; +UPDATE `gameobject` SET `position_y` = -286.67, `position_z` = 419.50 WHERE `id` IN (194312, 194313, 194314, 194315); +-- UPDATE gameobject_template SET flags = 6553632, ScriptName='go_thorim_lever' WHERE entry = 194264; -- script doesnt existance +-- adds +UPDATE creature_template SET ScriptName = 'mob_dark_rune_acolyte' WHERE entry = 33110; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_champion' WHERE entry = 32876; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_commoner' WHERE entry = 32904; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_warbringer' WHERE entry = 32877; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_ring_guard' WHERE entry = 32874; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_honor_guard' WHERE entry = 33125; +UPDATE creature_template SET ScriptName = 'mob_dark_rune_evoker' WHERE entry = 32878; + +#DELETE FROM gameobject WHERE id = 194264; +#INSERT INTO gameobject VALUES (110010,194264,603,3,65535,2173.276, -252.805, 420.146, 3.027,0,0,0,0,604800,0,1); +UPDATE `creature` SET `phaseMask` = 128 WHERE `id` IN (32907, 32883); -- horde soldiers: phase 128 for aly: 65535 +UPDATE `creature` SET `phaseMask` = 64 WHERE `id` IN (32885, 32908); -- alliance soldiers: phase 64 for horde +-- reset pos to some creatures +-- SOME POSITION ADJUSTMENTS, CHECK YOUR DB FOR THIS +/* +UPDATE creature SET spawnMask = 0 WHERE guid IN (129413, 129412, 129856, 129857); +UPDATE `creature` SET `position_x` = 2222.69 WHERE `guid` = 129413; +UPDATE `creature` SET `position_x` = 2222.69 WHERE `guid` = 129412; +UPDATE `creature` SET `position_x` = 2227.34 WHERE `guid` = 129856; +UPDATE `creature` SET `position_x` = 2227.34 WHERE `guid` = 129857; + +UPDATE `creature` SET `position_y` = -437.73 WHERE `guid` = 129860; +UPDATE `creature` SET `position_y` = -437.73 WHERE `guid` = 129861; +UPDATE `creature` SET `position_y` = -434.64 WHERE `guid` = 129862; +UPDATE `creature` SET `position_y` = -434.64 WHERE `guid` = 129863; +UPDATE `creature` SET `position_y` = -434.64 WHERE `guid` = 129391; +*/ +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('62565', '1', '32865'); + +-- Vezax +UPDATE creature_template SET unit_flags = 0, ScriptName = 'boss_vezax' WHERE entry = 33271; +UPDATE creature_template SET MinHealth = 23009250, MaxHealth = 23009250 WHERE entry = 33449; +UPDATE `creature_template` SET `mechanic_immune_mask` = 619397115 WHERE `entry` IN (33271, 33449); +UPDATE creature_template SET ScriptName = 'mob_saronite_animus' WHERE entry = 33524; +UPDATE creature_template SET ScriptName = 'mob_saronite_vapor', movementType = 1 WHERE entry = 33488; + +-- official sd2 sql clean up for ulduar +DELETE FROM scripted_event_id WHERE id=9735; + +-- Yogg +UPDATE creature_template SET ScriptName = 'boss_yogg_saron' WHERE entry = 33288; +UPDATE creature_template SET `RegenHealth`= 0, `flags_extra` = 1,`type_flags` = 108, ScriptName = 'boss_sara' WHERE entry = 33134; +UPDATE creature SET spawnMask = 3, MovementType = 0 WHERE id = 33134; +UPDATE creature_template SET `RegenHealth`= 0, ScriptName = 'boss_brain_of_yogg_saron' WHERE entry = 33890; +UPDATE creature SET `spawntimesecs` = 604800 WHERE `id` = 33134; +UPDATE creature_template SET ScriptName = 'mob_corruptor_tentacle' WHERE entry = 33985; +UPDATE creature_template SET ScriptName = 'mob_constrictor_tentacle' WHERE entry = 33983; +UPDATE creature_template SET MinHealth = 40000, MaxHealth = 40000, minLevel = 80, maxLevel = 80, ScriptName = 'mob_vision_tentacle' WHERE entry = 33943; +UPDATE creature_template SET MinHealth = 400000, MaxHealth = 400000, ScriptName = 'mob_crusher_tentacle' WHERE entry = 33966; +UPDATE creature_template SET MinHealth = 220000, MaxHealth = 220000, ScriptName = 'mob_guardian_of_yogg_saron' WHERE entry = 33136; +UPDATE creature_template SET ScriptName = 'mob_immortal_guardian' WHERE entry = 33988; +UPDATE creature_template SET `faction_A` = 14, `faction_H` = 14, ScriptName = 'mob_death_orb' WHERE entry = 33882; +UPDATE creature_template SET ScriptName = 'mob_sanity_well' WHERE entry = 33991; +UPDATE creature_template SET scriptname='mob_madness_portal' WHERE `entry`=34072; +UPDATE creature_template SET scriptname='mob_laughing_skull' WHERE `entry`=33990; +UPDATE creature_template SET scriptname='mob_ominous_cloud' WHERE `entry`=33292; +UPDATE creature SET spawnMask = 3 WHERE id = 33292; +-- spells +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('63886', '1', '33882'); +-- Keepers +UPDATE creature_template SET ScriptName = 'keeper_hodir' WHERE entry = 33213; +UPDATE creature_template SET ScriptName = 'keeper_freya' WHERE entry = 33241; +UPDATE creature_template SET ScriptName = 'keeper_thorim' WHERE entry = 33242; +UPDATE creature_template SET ScriptName = 'keeper_mimiron' WHERE entry = 33244; +-- INSERT doors & yoggs brain INTO the brain room +DELETE FROM gameobject WHERE id IN (194635); +INSERT INTO gameobject VALUES (110000,194635,603,3,65535,2022.490,-25.389,261.961,0,0,0,0,0,604800,0,1); +DELETE FROM gameobject WHERE guid = 110001; +INSERT INTO gameobject VALUES (110001,194462,603,3,65535,2104.555, -25.635,242.646,0,0,0,0,0,604800,100,1); +DELETE FROM creature WHERE id IN (33890); +INSERT INTO creature (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES (800000,33890,603,3,65535,0,0,1981.422,-22.442,255.011,0,604800,0,0,1371428,0,0,0); + +-- Algalon +UPDATE creature_template SET ScriptName = 'boss_algalon' WHERE entry = 32871; +UPDATE creature_template SET ScriptName = 'mob_collapsing_star' WHERE entry = 32955; +UPDATE creature_template SET ScriptName = 'mob_living_constellation' WHERE entry = 33052; +UPDATE creature_template SET ScriptName = 'mob_black_hole' WHERE entry = 32953; +UPDATE creature_template SET ScriptName = 'mob_cosmic_smash_target' WHERE entry IN (33105, 33104); +UPDATE creature_template SET minhealth = 39099, maxhealth = 39099 WHERE entry = 33089; +UPDATE gameobject_template SET flags= 6553632, ScriptName='go_celestial_acces' WHERE entry IN (194628, 194752); + +-- Teleporter +UPDATE `gameobject_template` SET `flags` = 0, `ScriptName` = 'go_ulduar_teleporter' WHERE `entry` IN (194569); + +-- Keepers +-- Keepers images +UPDATE creature_template SET `npcflag` = 1, `unit_flags` = 2, ScriptName = 'hodir_image' WHERE entry = 33411; +UPDATE creature_template SET `npcflag` = 1, `unit_flags` = 2, ScriptName = 'freya_image' WHERE entry = 33410; +UPDATE creature_template SET `npcflag` = 1, `unit_flags` = 2, ScriptName = 'thorim_image' WHERE entry = 33413; +UPDATE creature_template SET `npcflag` = 1, `unit_flags` = 2, ScriptName = 'mimiron_image' WHERE entry = 33412; +-- INSERT keepers imagees INTO the db +DELETE FROM creature WHERE guid IN (800001, 800002, 800003, 800004); +INSERT INTO creature (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +(800001, 33410, 603, 3, 65535,0,0, 2036.892, 25.621, 411.358, 3.83, 604800,0,0, 5647, 0, 0, 0), -- Freya +(800002, 33412, 603, 3, 65535,0,0, 1939.215, 42.677, 411.355, 5.31, 604800,0,0, 5647, 0, 0, 0), -- Mimiron +(800003, 33411, 603, 3, 65535,0,0, 1939.195, -90.662, 411.357, 1.06, 604800,0,0, 5647, 0, 0, 0), -- Hodir +(800004, 33413, 603, 3, 65535,0,0, 2036.674, -73.814, 411.355, 2.51, 604800,0,0, 5647, 0, 0, 0); -- Thorim + +UPDATE `creature_template` SET `minhealth` = 5647 WHERE `entry` = 33410; + +-- Doors +UPDATE gameobject_template SET faction = 114 WHERE entry IN (194553, 194554, 194556, 194148, 194634, 194635, 194905, 194441, +194442, 194416, 194774, 194775, 194776, 194560, 194557, 194558, 194750, 194910, 194559, 194635, 194636, 194637, 194631, 194255, 194630, 194767); +UPDATE gameobject_template SET faction = 114, `flags` = 4 WHERE entry IN (192075, 194173); -- snowdrifts +-- consoles +UPDATE gameobject_template SET faction = 0 WHERE entry IN (194555, 194628); + +-- loot chests +UPDATE gameobject_template SET faction = 0, data15 = 1 WHERE entry IN (195046, 195047, 194307, 194308, 194200, 194201, 194312, 194313, 194314, 194315, 194821, +194822, 194823, 194324, 194325, 194326, 194327, 194328, 194329, 194330, 194331, 194789, 194956, 194957, 194958); +UPDATE gameobject SET spawntimesecs = -604800 WHERE id IN (195046, 195047, 194307, 194308, 194200, 194201, 194312, 194313, 194314, 194315, 194821, +194822, 194823, 194324, 194325, 194326, 194327, 194328, 194329, 194330, 194331, 194789, 194956); + +-- NOT SURE IF THE TRASH MOBS ARE SCRIPTED BY EVENTAI +-- Mobs +UPDATE creature_template SET ScriptName = 'generic_creature' WHERE entry IN (34086, 34085, 34069, 33237, 34234, 33236, 33264, 34164, 34196, 34199, 34198, +34190, 34197, 33699, 34134, 34135, 34133, 33430, 33528, 33431, 33527, 33526, 33525, 33355, 33354, 34193, 34183, +33822, 33818, 33824, 33823, 33772, 33838, 33819, 33820, 32875); + +UPDATE `creature_template` SET `minhealth` = 50400 WHERE `entry` = 34004; +UPDATE `creature_template` SET `minhealth` = 5647 WHERE `entry` = 33413; +UPDATE `creature_template` SET `minhealth` = 5647 WHERE `entry` = 33411; +UPDATE `creature_template` SET `minhealth` = 5647 WHERE `entry` = 33412; +UPDATE `creature_template` SET `minhealth` = 5647, `minmana` = 0 WHERE `entry` = 33327; +UPDATE `creature_template` SET `minhealth` = 5647, `minmana` = 0 WHERE `entry` = 32897; \ No newline at end of file diff --git a/sql_mr/mr00224_scriptdev2_the_violet_hold.sql b/sql_mr/mr00224_scriptdev2_the_violet_hold.sql new file mode 100644 index 0000000..fb668d1 --- /dev/null +++ b/sql_mr/mr00224_scriptdev2_the_violet_hold.sql @@ -0,0 +1,70 @@ +-- -1 608 000 VIOLET HOLD +DELETE FROM `script_texts` WHERE entry BETWEEN -1608065 AND -1608008; +INSERT IGNORE INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`comment`) VALUES +-- common +(-1608008,'Ichoron\'s Protective Bubble shatters!',0,3,0,'EMOTE_ICHORON_PROTECTIVE_BUBBLE'), +-- Lieutenant Sinclari (30658) +(-1608009,'You did it! You held the Blue Dragonblight back and defeated their commander. Amazing work!',0,1,0,'sinclair SAY_END'), +-- Erekem +(-1608010, 'Notcawwget in way ofrrak-rrakflee!', 14219, 1, 0, 'erekem SAY_AGGRO'), +(-1608011, '...', 14222, 1, 0, 'erekem SAY_SLAY_1'), +(-1608012, 'Precious life ... wasted.', 14223, 1, 0, 'erekem SAY_SLAY_2'), +(-1608013, 'Only strong ... survive.', 14224, 1, 0, 'erekem SAY_SLAY_3'), +(-1608014, 'Nokaw, kawflee...', 14225, 1, 0, 'erekem SAY_DEATH'), +(-1608015, 'Free tommfly onw. Ra-aak... Not find usekh-ekh! Escape!', 14218, 1, 0, 'erekem SAY_SPAWN'), +(-1608016, 'My-raaakfavorite! Awk awk awk! Raa-kaa!', 14220, 1, 0, 'erekem SAY_ADD_KILLED'), +(-1608017, 'Nasty little...A-ak, kaw! Kill! Yes, kill you!', 14221, 1, 0, 'erekem SAY_BOTH_ADDS_KILLED'), +-- Ichoron +(-1608018, 'Stand aside, mortals!', 14230, 1, 0, 'ichoron SAY_AGGRO'), +(-1608019, 'I am a force of nature!', 14234, 1, 0, 'ichoron SAY_SLAY_1'), +(-1608020, 'I shall pass!', 14235, 1, 0, 'ichoron SAY_SLAY_2'), +(-1608021, 'You can not stop the tide!', 14236, 1, 0, 'ichoron SAY_SLAY_3'), +(-1608022, 'I... recede.', 14237, 1, 0, 'ichoron SAY_DEATH'), +(-1608023, 'I... am fury... unrestrained!', 14239, 1, 0, 'ichoron SAY_SPAWN'), +(-1608024, 'I shall consume, decimate, devastate, and destroy! Yield now to the wrath of the pounding sea!', 14231, 1, 0, 'ichoron SAY_ENRAGE'), +(-1608025, 'I will not be contained! Ngyah!!', 14233, 1, 0, 'ichoron SAY_SHATTER'), +(-1608026, 'Water can hold any form, take any shape... overcome any obstacle.', 14232, 1, 0, 'ichoron SAY_BUBBLE'), +-- Xevozz +(-1608027, 'It seems my freedom must be bought with blood...', 14499, 1, 0, 'xevozz SAY_AGGRO'), +(-1608028, 'Nothing personal.', 14504, 1, 0, 'xevozz SAY_SLAY_1'), +(-1608029, 'Business concluded.', 14505, 1, 0, 'xevozz SAY_SLAY_2'), +(-1608030, 'Profit!', 14506, 1, 0, 'xevozz SAY_SLAY_3'), +(-1608031, 'This is an... unrecoverable... loss.', 14507, 1, 0, 'xevozz SAY_DEATH'), +(-1608032, 'Back in business! Now to execute an exit strategy.', 14498, 1, 0, 'xevozz SAY_SPAWNED'), +(-1608033, 'It would seem that a renegotiation is in order.', 14503, 1, 0, 'xevozz SAY_CHARGED'), +(-1608034, 'The air teems with latent energy... quite the harvest!', 14501, 1, 0, 'xevozz SAY_REPEAT_SUMMON_1'), +(-1608035, 'Plentiful, exploitable resources... primed for acquisition!', 14502, 1, 0, 'xevozz SAY_REPEAT_SUMMON_2'), +(-1608036, 'Intriguing... a high quantity of arcane energy is near. Time for some prospecting...', 14500, 1, 0, 'xevozz SAY_SUMMON_ENERGY'), +-- Zuramat +(-1608037, 'Eradicate.', 13996, 1, 0, 'zuramat SAY_AGGRO'), +(-1608038, 'More... energy.', 13999, 1, 0, 'zuramat SAY_SLAY_1'), +(-1608039, 'Relinquish.', 14000, 1, 0, 'zuramat SAY_SLAY_2'), +(-1608040, 'Fall... to shadow.', 14001, 1, 0, 'zuramat SAY_SLAY_3'), +(-1608041, 'Disperse.', 14002, 1, 0, 'zuramat SAY_DEATH'), +(-1608042, 'I am... renewed.', 13995, 1, 0, 'zuramat SAY_SPAWN'), +(-1608043, 'Know... my... pain.', 13997, 1, 0, 'zuramat SAY_SHIELD'), +(-1608044, 'Gaze... into the void.', 13998, 1, 0, 'zuramat SAY_WHISPER'), +-- Cyanigosa +(-1608045,'A valiant defense, but this city must be razed. I will fulfill Malygos wishes myself!', 13946, 1, 0,'A_VH_Cyanigosa_Spawn'), +(-1608046,'We finish this now, champions of Kirin Tor!',13947,1,0,'A_VH_Cyanigosa_Aggro'), +(-1608047,'Shiver and die!',13948,1,0,'A_VH_Cyanigosa_BreathAttack'), +(-1608048,'The world has forgotten what true magic is! Let this be a reminder!',13949,1,0,'A_VH_Cyanigosa_SpecialAttack01'), +(-1608049,'Who among you can withstand my power?',13950,1,0,'A_VH_Cyanigosa_SpecialAttack02'), +(-1608050,'Am I interrupting?',13951,1,0,'A_VH_Cyanigosa_Disruption'), +(-1608051,'I will end the Kirin Tor!',13952,1,0,'A_VH_Cyanigosa_Slay01'), +(-1608052,'Dalaran will fall!',13953,1,0,'A_VH_Cyanigosa_Slay02'), +(-1608053,'So ends your defiance of the Spell-Weaver!',13954,1,0,'A_VH_Cyanigosa_Slay03'), +(-1608054,'Perhaps... we have... underestimated... you.',13955,1,0,'A_VH_Cyanigosa_Death01'), +-- Azures +(-1608055,'The Kirin Tor must be stopped!',0,0,0,'AZURE_SAY_AGGRO_1'), +(-1608056,'Dalaran must fall!',0,0,0,'AZURE_SAY_AGGRO_2'), +(-1608057,'The Nexus War will not be stopped!',0,0,0,'AZURE_SAY_AGGRO_3'), +(-1608058,'For the Spellweaver!',0,0,0,'AZURE_SAY_AGGRO_4'), +(-1608059,'The destruction of Dalaran is inevitable!',0,1,0,'Portal Keeper/Guardian AGGRO_1'), +(-1608060,'The portal has stabilized! Attack!',0,1,0,'Portal Keeper/Guardian AGGRO_2'), +(-1608064,'The way into Dalaran has been opened!',0,1,0,'Portal Guardian AGGRO_3'), +(-1608061,'More portals will take this one\'s place!',0,1,0,'Portal Keeper/Guardian DEATH_1'), +(-1608062,'Why do you defend the Kirin Tor...',0,1,0,'Portal Keeper/Guardian DEATH_2'), +(-1608063,'My death will not stop the invasion!',0,1,0,'Portal Keeper/Guardian DEATH_2'), +(-1608065,'Destroy all who stand against us!',0,0,0,'Azure Captain AGGRO_1'); + diff --git a/sql_mr/mr00227_scriptdev2_game_event_stuff.sql b/sql_mr/mr00227_scriptdev2_game_event_stuff.sql new file mode 100644 index 0000000..579ed44 --- /dev/null +++ b/sql_mr/mr00227_scriptdev2_game_event_stuff.sql @@ -0,0 +1,33 @@ +-- ----------------------------------- +-- Boss fight HeadlessHorseman Texts - +-- ----------------------------------- + +DELETE FROM script_texts WHERE entry BETWEEN -1189034 AND -1189022; +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1189022,'It is over, your search is done! Let fate choose now, the righteous one.',11961,1,0,0,'horseman SAY_ENTRANCE'), +(-1189023,'Here\'s my body, fit and pure! Now, your blackened souls I\'ll cure!',12567,1,0,0,'horseman SAY_REJOINED'), +(-1189024,'So eager you are for my blood to spill, yet to vanquish me this my head you must kill!',11969,1,0,0,'horseman SAY_BODY_DEFEAT'), +(-1189025,'Get Over here, you idiot!',12569,1,0,0,'horseman SAY_LOST_HEAD'), +(-1189026,'Harken, cur! Tis you I spurn! Now, $N, feel the burn!',12573,1,0,0,'horseman SAY_CONFLAGRATION'), +(-1189027,'Soldiers arise, stand and fight! Bring victory at last to this fallen knight!',11963,1,0,0,'horseman SAY_SPROUTING_PUMPKINS'), +(-1189028,'Your body lies beaten, battered and broken. Let my curse be your own, fate has spoken.',11962,1,0,0,'horseman SAY_SLAY'), +(-1189029,'This end have I reached before. What new adventure lies in store?',11964,1,0,0,'horseman SAY_DEATH'), +(-1189030,'%s laughs.',0,2,0,0,'horseman EMOTE_LAUGH'), +(-1189031,'Horseman rise...',0,0,0,0,'horseman SAY_PLAYER1'), +(-1189032,'Your time is night...',0,0,0,0,'horseman SAY_PLAYER2'), +(-1189033,'You felt death once...',0,0,0,0,'horseman SAY_PLAYER3'), +(-1189034,'Now, know demise!',0,0,0,0,'horseman SAY_PLAYER4'); + +-- ------------------------------- +-- headless horseman event texts - +-- ------------------------------- + +DELETE FROM script_texts WHERE entry BETWEEN -1110006 AND -1110001; +INSERT INTO script_texts (entry, content_default, TYPE, sound) VALUES +(-1110001, "Prepare yourselves, the bells have tolled! Shelter your weak, your young and your old! Each of you shall pay the final sum. Cry for mercy, the reckoning has come!",1,11966), +(-1110002, "The sky is dark. The fire burns. You strive in vain as Fate's wheel turns.",1,12570), +(-1110003, "The town still burns, a cleansing fire! Time is short, I'll soon retire!",1,12571), + +(-1110004, "Fire consumes! You've tried and failed. Let there be no doubt, justice prevailed!",1,11967), +(-1110005, "My flames have died, left not a spark. I shall send you myself, to the lifeless dark.",1,11968), +(-1110006, "Harken, cur! Tis you I spurn! Now feel... the burn!",1,12573); \ No newline at end of file diff --git a/sql_mr/mr00243_mangos_odpvp_cleanup.sql b/sql_mr/mr00243_mangos_odpvp_cleanup.sql new file mode 100644 index 0000000..3949ad6 --- /dev/null +++ b/sql_mr/mr00243_mangos_odpvp_cleanup.sql @@ -0,0 +1,17 @@ +-- Old odpvp removal +DELETE FROM `world_template` WHERE `map` = 0; +DELETE FROM `world_template` WHERE `map` = 1; +DELETE FROM `world_template` WHERE `map` = 530; +DELETE FROM `world_template` WHERE `map` = 571; + +UPDATE gameobject_template SET ScriptName='' WHERE entry IN (181597,181598); +DELETE FROM scripted_areatrigger WHERE entry IN (4162, 4168); + +-- restore off sd2 world_map_scripts + +DELETE FROM world_template WHERE map IN (0, 1, 530, 571); +INSERT INTO world_template VALUES +(0, 'world_map_eastern_kingdoms'), +(1, 'world_map_kalimdor'), +(530, 'world_map_outland'), +(571, 'world_map_northrend'); \ No newline at end of file diff --git a/sql_mr/mr00244_mangos_instance_sunwell_plateau.sql b/sql_mr/mr00244_mangos_instance_sunwell_plateau.sql new file mode 100644 index 0000000..fc1d793 --- /dev/null +++ b/sql_mr/mr00244_mangos_instance_sunwell_plateau.sql @@ -0,0 +1,246 @@ +-- Instance Sunwell Plateau +-- ------------------------ + +-- ------------ +-- Kalegcos --- +-- ------------ +UPDATE `creature_template` SET `flags_extra` = 128 WHERE `entry` = 25795; -- make normal realm bunnie invis to players and ect +UPDATE `creature_template` SET `flags_extra` = 128 WHERE `entry` = 25796; -- make spectral realm bunnies invis to players and ect + +UPDATE `creature_template` SET `modelid_1` = 20577 WHERE `entry` in (25796, 25795); + +-- correct spawn of kalegcos spawn +DELETE FROM `creature` WHERE `id`=24891; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(102510, 24891, 580, 1, 1, 0, 3001, 1704.49, 925.522, -74.5584, 4.72577, 604800, 0, 0, 828555, 169350, 0, 0); + +-- Sathrovarr the Corruptor +DELETE FROM `creature` WHERE `id`=24892; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(100698, 24892, 580, 1, 1, 0, 0, 1704.63, 916.777, -74.5584, 1.68785, 604800, 0, 0, 2018275, 1693500, 0, 0); + +UPDATE `creature_template` SET `modelid_2` = 26628 WHERE `entry` = 24892; -- missing dispaly id for horde for sathrovarr + +-- ------------ +-- Brutallus -- +-- ------------ + +-- madrigosa fixes +DELETE FROM `creature` WHERE `id`=24895; -- origanl YTDB Data +-- INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +-- (80778, 24895, 580, 1, 1, 0, 0, 1459.35, 636.81, 19.9428, 4.93474, 604800, 0, 0, 424900, 3387, 0, 0); + +DELETE FROM `creature` WHERE `id`=25160; -- new data for madrigosa +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(600114, 25160, 580, 1, 1, 0, 0, 1461.27, 647.103, 38.6641, 5.05014, 60000, 0, 0, 424900, 3387, 0, 0), +(100738, 25160, 530, 1, 1, 0, 0, 12164.9, -7066.29, 72.0305, 1.32201, 14400, 0, 0, 424900, 3387, 0, 0); + +-- he was damging brutallus to much during intro 8P +UPDATE `creature_template` SET `mindmg` = 1, `maxdmg` = 1, `attackpower` = 1, `dmg_multiplier` = 1 WHERE `entry` = 25160; +-- UPDATE `creature_template` SET `mindmg` = 226, `maxdmg` = 339, `attackpower` = 85, `dmg_multiplier` = 4.1 WHERE `entry` = 25160; -- Restore what YTDB(605) had + +-- not sure if these are needed +-- spell_scripts for burn and stomp +-- scripts for 'burn' and 'stomp' +-- DELETE FROM `spell_scripts` WHERE `id` IN (45141, 45185); +-- INSERT INTO `spell_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`,`comments`) VALUES +-- ('45141', '0', '15', '46394', '2', '0', '0', '0', '0', '0',""), +-- ('45185', '0', '14', '46394', '1', '0', '0', '0', '0', '0',""); + +UPDATE `creature_template` SET `InhabitType` = 1 WHERE `entry` = 24882; -- brutallus should be a ground only walker + +-- ------------- +-- Felmyst ----- +-- ------------- + +DELETE FROM `creature` WHERE `id`=25038; -- remove static spawn as she is summoned when needed ,,,, below to orignal YTDB Data +-- INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +-- (57715, 25038, 580, 1, 1, 0, 0, 1459.35, 636.81, 19.9428, 4.93474, 604800, 0, 0, 4903346, 3387, 0, 0); + +UPDATE `creature_template` SET `faction_A` = 7, `faction_H` = 7 WHERE `entry` = 25038; -- Felmyst doesnt attack til attacked +UPDATE creature_template SET `ScriptName` = 'boss_felmyst', `modelid_2` = 22838 WHERE `entry` = 25038; +UPDATE creature_template SET `ScriptName` = 'npc_felmyst_vapor' WHERE `entry` = 25265; -- npc thats spawns randomly along the beam and spawn unyielding death if players get to close ( gonna use interact_distance might need more ) +UPDATE creature_template SET `ScriptName` = 'npc_fog_of_corruption' WHERE `entry` = 25703; -- DeathCloud/breath attack +UPDATE `creature_template` SET `ScriptName` = 'npc_felmyst_vapor_cloud', `AIName` = '' WHERE `entry` = 25267; -- invis beam npc that chases player + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName`="" WHERE `entry` = 25268; + +-- - +-- scipt targets +-- - + +-- DELETE FROM `spell_script_target` WHERE `entry` IN (45388); +-- INSERT INTO `spell_script_target` (`entry` ,`type` ,`targetEntry`)VALUES +-- ('45388', '1', '25038'); +-- REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('44883', '1', '24882'); -- cast at brutallus +-- REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('45063', '1', '24882'); -- cast at brutallus +-- REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('44885', '1', '25038'); -- +-- REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('46350', '1', '25038'); -- + + +-- - +-- Demonic Vapor :: unit flags (not attackable, pacified, not selectable), bosslevel, factions, speed, spawn/dmg aura +-- - + +UPDATE `creature_template` SET `modelid_2` = 11686, `minlevel` = 73, `maxlevel` = 73, `faction_A` = 16, `faction_H` = 16, `unit_flags` = 33685506 WHERE `entry` = 25265; +DELETE FROM `creature_template_addon` WHERE `entry` = '25265'; +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES +(25265, 0, 0, 0, 0, 0, 0, '45411'); + +-- - +-- Demonic Vapor Cloud :: unit flags (not attackable, pacified, not selectable), bosslevel, factions, dmg auras +-- - + +UPDATE `creature_template` SET `modelid_2` = 11686, `minlevel` = 73, `maxlevel` = 73, `faction_A` = 16, `faction_H` = 16, `unit_flags` = 33685506 WHERE `entry` = 25267; +DELETE FROM `creature_template_addon` WHERE `entry` = '25267'; +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES +(25267, 0, 0, 0, 0, 0, 0, '45399'); + +-- - +-- Death cloud +-- - + +UPDATE `creature_template` SET `modelid_1` = 11686, `modelid_2` = 11686, `faction_A` = 14, `faction_H` = 14, `unit_flags` = 33554434 WHERE `entry` = 25703; + +-- - +-- Unyielding Death: - EventAI (Combat Pulse), and Aura +-- - + +DELETE FROM `creature_template_addon` WHERE (`entry` = 25268); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES +(25268, 0, 0, 0, 0, 0, 0, '45415'); + +DELETE FROM `creature_ai_scripts` WHERE `id` = 2526801; +INSERT INTO `creature_ai_scripts` (`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `comment`) VALUES +('2526801', '25268', '1', '0', '100', '2', '500', '500', '10000', '10000', '38', '0', '0', '0', 'R2 - Unyielding Death - zone combat pulse if ooc'); + +-- - +-- The Twins +-- - + +-- go 187366 Blaze fix +UPDATE `gameobject_template` SET `data5` = 0, `data7` = 0 WHERE `entry` = 187366; + +-- Shadowy Image fixes +UPDATE `creature_template` SET `minlevel` = 73, `maxlevel` = 73, `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 25214; + +-- ------ +-- M'uru- +-- ------ +UPDATE `creature_template` SET `ScriptName` = 'boss_muru', `AIName` = '' WHERE `entry` = 25741; +UPDATE `creature_template` SET `ScriptName` = 'boss_entropius', `modelid_2` = 23428, `modelid_3` = 23428, `modelid_4` = 23428 , `AIName` = '' WHERE `entry` = 25840; +UPDATE `creature_template` SET `ScriptName` = 'mob_dark_fiend', `AIName` = '' WHERE `entry` = 25744; +UPDATE `creature_template` SET `ScriptName` = 'mob_voidsentinel', `AIName` = '' WHERE `entry` = 25772; + +-- ---------------- +-- Dark fiend fixes +UPDATE `creature_template` SET `speed_walk` = 0.7, `speed_run` = 0.7 WHERE `entry` = 25744; -- move slower then the player they are suppose run away from then 8) + +-- shorter attack range ( needs to be for chase explode ) +DELETE FROM `creature_model_info` WHERE (`modelid`=1126); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (1126, 2, 0.5, 2, 0, 0); +DELETE FROM `creature_model_info` WHERE (`modelid`=23842); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (23842, 2, 0.5, 2, 0, 0); + +-- ----------- +-- Singularity +UPDATE `creature_template` SET `faction_A` = 14, `faction_H` = 14, `speed_walk` = 0.7, `speed_run` = 0.7 WHERE `entry` = 25855; -- move slower then the player they are suppose run away from then 8) +UPDATE `creature_template` SET `unit_flags` = 33554434, `ScriptName` = 'mob_singularity' WHERE `entry` = 25855; -- non attackable and selectable +UPDATE `creature_template` SET `modelid_1` = 25206, `modelid_2` = 25206 WHERE `entry` = 25855; + +-- added throw character aura if they get to close and acrance form aura +DELETE FROM `creature_template_addon` WHERE (`entry`=25855); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES (25855, 0, 0, 0, 0, 0, 0, '46228 48019'); + +-- short their attack range to they have to be close before effect iss triggered +DELETE FROM `creature_model_info` WHERE (`modelid`=25206); +INSERT INTO `creature_model_info` (`modelid`, `bounding_radius`, `combat_reach`, `gender`, `modelid_other_gender`, `modelid_alternative`) VALUES (25206, 0.75, 0.5, 2, 0, 0); + +-- --------------------------- +-- fixes to the portal targets + +-- added no movement to template as well +UPDATE `creature_template` SET `unit_flags` = 33554692 WHERE `entry` = 25770; + +DELETE FROM `creature` WHERE `id`=25770; -- so far only movement ( there not suppose to needs somes twinks to a few locs ) +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(81074, 25770, 580, 1, 1, 0, 0, 1802.91, 591.566, 78.5747, 1.25664, 604800, 0, 0, 1, 0, 0, 0), +(81075, 25770, 580, 1, 1, 0, 0, 1803.18, 657.192, 78.5476, 4.06662, 604800, 0, 0, 1, 0, 0, 0), +(81076, 25770, 580, 1, 1, 0, 0, 1775.98, 635.201, 78.5586, 0.069813, 604800, 0, 0, 1, 0, 0, 0), +(81077, 25770, 580, 1, 1, 0, 0, 1849.18, 641.002, 78.6183, 3.56047, 604800, 0, 0, 1, 0, 0, 0), +(81089, 25770, 580, 1, 1, 0, 0, 1852.49, 623.461, 78.6198, 3.03687, 604800, 0, 0, 1, 0, 0, 0), +(81090, 25770, 580, 1, 1, 0, 0, 1839.93, 652.875, 78.5929, 3.9619, 604800, 0, 0, 1, 0, 0, 0), +(81091, 25770, 580, 1, 1, 0, 0, 1824.05, 653.748, 78.5587, 5.044, 604800, 0, 0, 1, 0, 0, 0), +(81092, 25770, 580, 1, 1, 0, 0, 1794.84, 604.343, 78.549, 0.087266, 604800, 0, 0, 1, 0, 0, 0), +(81093, 25770, 580, 1, 1, 0, 0, 1824.17, 588.977, 78.621, 1.79769, 604800, 0, 0, 1, 0, 0, 0), +(81094, 25770, 580, 1, 1, 0, 0, 1781.65, 621.09, 78.5541, 1.15192, 604800, 0, 0, 1, 0, 0, 0); + +-- ---------------------- +-- clean up of M'uru ACID +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 25741; + +-- ----------------------- +-- clean up of Entrop ACID +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 25840; + +-- ----------------------- +-- trash ACID clean up +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 25744; -- dark fiend +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 25772; -- void sentinel + + +-- -------------------------------- +-- kil jaeden +-- -------------------------------- + +UPDATE `creature_template` SET `ScriptName` = 'boss_kiljaeden', `unit_flags` = 4 WHERE `entry` = 25315; +UPDATE `creature_template` SET `ScriptName` = 'mob_deceiver' WHERE `entry` = 25588; +UPDATE `creature_template` SET `ScriptName` = 'mob_shield_orb' WHERE `entry` = 25502; +UPDATE `creature_template` SET `ScriptName` = 'mob_felfire_portal' WHERE `entry` = 25603; +-- UPDATE `creature_template` SET `ScriptName` = 'mob_armagedon_target' WHERE `entry` = 25735; +UPDATE `creature_template` SET `ScriptName` = 'mob_felfire_fiend' WHERE `entry` = 25598; +-- UPDATE `creature_template` SET `ScriptName` = 'mob_kiljaeden_controller' WHERE `entry` = 25608; +UPDATE `creature_template` SET `unit_flags` = 33554438 WHERE `entry` = 25603; +UPDATE creature set position_z = 60.0 where id = 26046; +UPDATE `gameobject_template` SET `type` = 10 WHERE `entry` = 188415; +-- UPDATE `gameobject_template` set `flags` = 6553648, `ScriptName` = 'go_orb_of_the_blue_flight' where `entry` = 188415; +-- Controller +delete from creature where id = 25608; +insert into creature values (800110,25608,580,1,1,0,0,1698.61,628.414,27.5395,3.99799,604800,0,0,9347800,1693500,0,0); + +-- --------------------------------------------- +-- InstanceFixes and Related Data -------------- +-- --------------------------------------------- + +-- Some missing doors and ect +DELETE FROM `gameobject` WHERE `id`=188118; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(20935, 188118, 585, 3, 1, -71.2025, -523.017, 0.144581, 3.13287, 0, 0, 0.99999, 0.00436133, 180, 100, 0), +(400000, 188118, 580, 1, 1, 1777.03, 674.714, 71.1903, 2.31614, 0, 0, 0.916031, 0.401107, 25, 255, 1); + +DELETE FROM `gameobject` WHERE `id`=187990; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(43416, 187990, 585, 3, 1, 3.43601, -448.192, -5.71188, -2.27765, 0, 0, -0.908142, 0.418662, 180, 100, 0), +(400001, 187990, 580, 1, 1, 1849.54, 597.848, 81.9718, 5.59911, 0, 0, 0.335408, -0.942073, 25, 255, 1); + +-- fix to Agamath, The First Gate +UPDATE `gameobject_template` SET `flags` = 32 WHERE `entry` = 187766; + +DELETE FROM `gameobject` WHERE `id`=187766; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(43450, 187766, 585, 3, 1, 72.4223, -587.322, 1.59501, 2.69653, 0, 0, 0.975342, 0.220699, 180, 100, 1), +(400002, 187766, 580, 1, 1, 1710.29, 531.319, 93.3079, 4.30948, 0, 0, 0.834295, -0.551318, 25, 255, 1); + +-- fix to Rohendor, The Second +UPDATE `gameobject_template` SET `flags` = 32 WHERE `entry` = 187764; + +DELETE FROM `gameobject` WHERE `id`=187764; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(43428, 187764, 585, 3, 1, -15.9065, -421.996, -47.1748, 3.0456, 0, 0, 0.998848, 0.0479779, 180, 100, 1), +(400003, 187764, 580, 1, 1, 1832.99, 671.026, 42.7647, 4.45321, 0, 0, 0.792556, -0.609799, 25, 255, 1); + +UPDATE `gameobject_template` SET `flags` = 32 WHERE `entry` = 187765; + +-- i forgot where the third gate was placed 8P + + diff --git a/sql_mr/mr00249_mangos_alterac_valley.sql b/sql_mr/mr00249_mangos_alterac_valley.sql new file mode 100644 index 0000000..bac4651 --- /dev/null +++ b/sql_mr/mr00249_mangos_alterac_valley.sql @@ -0,0 +1,484 @@ +-- Alterac Valley: Stats (by lanc) +UPDATE creature_template SET KillCredit1 = 11946, minlevel = 75, rangeattacktime = 2000 WHERE entry = 31819; +UPDATE creature_template SET difficulty_entry_3 = 37283, rangeattacktime = 2000 WHERE entry = 11946; +UPDATE creature_template SET KillCredit1 = 11946, minlevel = 83, maxlevel = 83, minhealth = 471835, maxhealth = 471835, armor = 10627, faction_A = 1214, faction_H = 1214, npcflag = 1, mindmg = 468, maxdmg = 702, attackpower = 175, dmg_multiplier = 63.4, baseattacktime = 2000, rangeattacktime = 2000, unit_class = 1, unit_flags = 4096, minrangedmg = 374, maxrangedmg = 562, rangedattackpower = 140, pickpocketloot = 11946, equipment_id = 2153, mechanic_immune_mask = 650854235 WHERE entry = 37283; +UPDATE creature_template SET KillCredit1 = 11947, minlevel = 75, rangeattacktime = 2000 WHERE entry = 31055; +UPDATE creature_template SET difficulty_entry_3 = 37244, rangeattacktime = 2000 WHERE entry = 11947; +UPDATE creature_template SET KillCredit1 = 11947, minlevel = 83, maxlevel = 83, minhealth = 456155, maxhealth = 456155, armor = 10627, faction_A = 1214, faction_H = 1214, mindmg = 468, maxdmg = 702, attackpower = 175, dmg_multiplier = 38, baseattacktime = 2000, rangeattacktime = 2000, unit_class = 1, unit_flags = 4160, minrangedmg = 374, maxrangedmg = 562, rangedattackpower = 140, lootid = 11947, pickpocketloot = 11947, mingold = 1918, maxgold = 1918, mechanic_immune_mask = 650854235, flags_extra = 1 WHERE entry = 37244; +UPDATE creature_template SET KillCredit1 = 11948, minhealth = 825966, minlevel = 75, rangeattacktime = 2000, pickpocketloot = 11948 WHERE entry = 31818; +UPDATE creature_template SET difficulty_entry_3 = 37444, rangeattacktime = 1500 WHERE entry = 11948; +UPDATE creature_template SET KillCredit1 = 11948, minlevel = 83, maxlevel = 83, minhealth = 684582, maxhealth = 684582, armor = 10627, faction_A = 1216, faction_H = 1216, mindmg = 468, maxdmg = 702, attackpower = 175, dmg_multiplier = 65, baseattacktime = 2000, rangeattacktime = 2000, unit_class = 1, minrangedmg = 374, maxrangedmg = 562, rangedattackpower = 140, pickpocketloot = 11948, equipment_id = 2154, mechanic_immune_mask = 650854235 WHERE entry = 37444; +UPDATE creature_template SET KillCredit1 = 11949, minlevel = 75, rangeattacktime = 2000, lootid = 11949, pickpocketloot = 11949, flags_extra = 1 WHERE entry = 31820; +UPDATE creature_template SET difficulty_entry_3 = 37243, rangeattacktime = 2000 WHERE entry = 11949; +UPDATE creature_template SET minlevel = 83, maxlevel = 83, minhealth = 521320, maxhealth = 521320, armor = 10521, faction_A = 1216, faction_H = 1216, mindmg = 435, maxdmg = 653, attackpower = 163, dmg_multiplier = 40.9, baseattacktime = 2000, rangeattacktime = 2000, unit_class = 2, unit_flags = 4096, minrangedmg = 348, maxrangedmg = 522, rangedattackpower = 130, lootid = 11949, pickpocketloot = 11949, mingold = 1917, maxgold = 1917, equipment_id = 325, mechanic_immune_mask = 650854235, flags_extra = 1 WHERE entry = 37243; +UPDATE creature_template SET KillCredit1 = 12050, minlevel = 75, rangeattacktime = 1500, lootid = 12050, pickpocketloot = 12050, spell1 = 12169, spell2 = 19130 WHERE entry = 32091; +UPDATE creature_template SET difficulty_entry_3 = 37412, rangeattacktime = 1500, spell1 = 12169, spell2 = 19130 WHERE entry = 12050; +UPDATE creature_template SET KillCredit1 = 12050, minlevel = 80, maxlevel = 80, minhealth = 6120, maxhealth = 6120, armor = 9730, faction_A = 1216, faction_H = 1216, mindmg = 367, maxdmg = 546, attackpower = 118, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 268, maxrangedmg = 412, rangedattackpower = 94, lootid = 12050, pickpocketloot = 12050, spell1 = 12169, spell2 = 19130, mingold = 547, maxgold = 547, equipment_id = 2156 WHERE entry = 37412; +UPDATE creature_template SET KillCredit1 = 12051, minlevel = 75, rangeattacktime = 1500, lootid = 12051, pickpocketloot = 12051 WHERE entry = 31983; +UPDATE creature_template SET difficulty_entry_3 = 37302, rangeattacktime = 1500 WHERE entry = 12051; +UPDATE creature_template SET KillCredit1 = 12051, minlevel = 80, maxlevel = 80, minhealth = 6614, maxhealth = 6614, armor = 9730, faction_A = 1214, faction_H = 1214, mindmg = 315, maxdmg = 472, attackpower = 118, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 252, maxrangedmg = 378, rangedattackpower = 94, lootid = 12051, pickpocketloot = 12051, spell1 = 11977, mingold = 524, maxgold = 524, equipment_id = 2157 WHERE entry = 37302; +UPDATE creature_template SET KillCredit1 = 12053, minlevel = 75, rangeattacktime = 1500, lootid = 12053, pickpocketloot = 12053, spell1 = 12169, spell2 = 19130 WHERE entry = 31981; +UPDATE creature_template SET difficulty_entry_3 = 37300, rangeattacktime = 1500, spell1 = 12169, spell2 = 19130 WHERE entry = 12053; +UPDATE creature_template SET KillCredit1 = 12053, minlevel = 80, maxlevel = 80, minhealth = 6120, maxhealth = 6120, armor = 9730, faction_A = 1214, faction_H = 1214, mindmg = 367, maxdmg = 502, attackpower = 118, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 252, maxrangedmg = 378, rangedattackpower = 94, lootid = 12053, pickpocketloot = 12053, spell1 = 12169, spell2 = 19130, mingold = 543, maxgold = 543, MovementType = 1, equipment_id = 2158 WHERE entry = 37300; +UPDATE creature_template SET KillCredit1 = 12121, minlevel = 75, rangeattacktime = 1500, unit_flags = 4096, lootid = 12121, skinloot = 12121, spell1 = 8599, mechanic_immune_mask = 1 WHERE entry = 31964; +UPDATE creature_template SET difficulty_entry_3 = 37282, rangeattacktime = 1500, spell1 = 8599, mechanic_immune_mask = 1 WHERE entry = 12121; +UPDATE creature_template SET KillCredit1 = 12121, minlevel = 81, maxlevel = 81, minhealth = 35938, maxhealth = 35938, armor = 10029, faction_A = 1214, faction_H = 1214, mindmg = 218, maxdmg = 327, attackpower = 82, dmg_multiplier = 7.5, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 174, maxrangedmg = 262, rangedattackpower = 66, lootid = 12121, skinloot = 12121, spell1 = 8599, MovementType = 1, mechanic_immune_mask = 1 WHERE entry = 37282; +UPDATE creature_template SET KillCredit1 = 12122, minlevel = 75, rangeattacktime = 1500, unit_flags = 4096, lootid = 12122, skinloot = 12122, spell1 = 8599, mechanic_immune_mask = 1 WHERE entry = 31970; +UPDATE creature_template SET difficulty_entry_3 = 37289, rangeattacktime = 1500 WHERE entry = 12122; +UPDATE creature_template SET KillCredit1 = 12122, minlevel = 81, maxlevel = 81, minhealth = 35938, maxhealth = 35938, armor = 10029, faction_A = 1214, faction_H = 1214, mindmg = 218, maxdmg = 327, attackpower = 82, dmg_multiplier = 7.5, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 174, maxrangedmg = 262, rangedattackpower = 66, lootid = 12122, skinloot = 12122, spell1 = 8599, mechanic_immune_mask = 1 WHERE entry = 37289; +UPDATE creature_template SET KillCredit1 = 12127, minlevel = 75, rangeattacktime = 1500, lootid = 12127, pickpocketloot = 12127, spell1 = 11976, spell2 = 22120 WHERE entry = 32094; +UPDATE creature_template SET difficulty_entry_3 = 37415, rangeattacktime = 1500, spell1 = 11976, spell2 = 22120 WHERE entry = 12127; +UPDATE creature_template SET KillCredit1 = 12127, minlevel = 80, maxlevel = 80, minhealth = 6614, maxhealth = 6614, armor = 9730, faction_A = 1216, faction_H = 1216, mindmg = 315, maxdmg = 472, attackpower = 118, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 252, maxrangedmg = 378, rangedattackpower = 94, lootid = 12127, pickpocketloot = 12127, spell1 = 11976, spell2 = 22120, equipment_id = 2161 WHERE entry = 37415; +UPDATE creature_template SET KillCredit1 = 13358, minlevel = 75, rangeattacktime = 2000, lootid = 13358, pickpocketloot = 13358, spell1 = 22121 WHERE entry = 32089; +UPDATE creature_template SET difficulty_entry_3 = 37410, rangeattacktime = 2000 WHERE entry = 13358; +UPDATE creature_template SET KillCredit1 = 13358, minlevel = 80, maxlevel = 80, minhealth = 17969, maxhealth = 17969, armor = 9730, faction_A = 1216, faction_H = 1216, mindmg = 420, maxdmg = 630, attackpower = 157, baseattacktime = 2000, rangeattacktime = 2000, unit_flags = 4608, minrangedmg = 336, maxrangedmg = 504, rangedattackpower = 126, lootid = 13358, pickpocketloot = 13358, spell1 = 22121, mingold = 580, maxgold = 580, equipment_id = 170 WHERE entry = 37410; +UPDATE creature_template SET KillCredit1 = 13359, minlevel = 75, rangeattacktime = 2000, lootid = 13359, pickpocketloot = 13359, spell1 = 22121 WHERE entry = 31978; +UPDATE creature_template SET difficulty_entry_3 = 37297, rangeattacktime = 2000 WHERE entry = 13359; +UPDATE creature_template SET KillCredit1 = 13359, minlevel = 80, maxlevel = 80, minhealth = 17969, maxhealth = 17969, armor = 9730, faction_A = 1214, faction_H = 1214, mindmg = 420, maxdmg = 630, attackpower = 157, baseattacktime = 2000, rangeattacktime = 2000, unit_class = 1, unit_flags = 4608, minrangedmg = 336, maxrangedmg = 504, rangedattackpower = 126, lootid = 13359, pickpocketloot = 13359, spell1 = 22121, mingold = 576, maxgold = 576, equipment_id = 954 WHERE entry = 37297; +UPDATE creature_template SET KillCredit1 = 14762, minlevel = 75, rangeattacktime = 1500, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511 WHERE entry = 31966; +UPDATE creature_template SET difficulty_entry_3 = 37285, rangeattacktime = 1500, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511 WHERE entry = 14762; +UPDATE creature_template SET KillCredit1 = 14762, minlevel = 81, maxlevel = 81, minhealth = 511875, maxhealth = 511875, armor = 10029, faction_A = 1534, faction_H = 1534, mindmg = 218, maxdmg = 327, attackpower = 82, dmg_multiplier = 13.8, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 32768, minrangedmg = 174, maxrangedmg = 262, rangedattackpower = 66, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, equipment_id = 2178, mechanic_immune_mask = 1 WHERE entry = 37285; +UPDATE creature_template SET KillCredit1 = 14763, minlevel = 75, rangeattacktime = 1500, lootid = 14763, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, mechanic_immune_mask = 1 WHERE entry = 31968; +UPDATE creature_template SET difficulty_entry_3 = 37287, rangeattacktime = 1500, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, mechanic_immune_mask = 1 WHERE entry = 14763; +UPDATE creature_template SET KillCredit1 = 14763, minlevel = 81, maxlevel = 81, minhealth = 511875, maxhealth = 511875, armor = 10029, faction_A = 1534, faction_H = 1534, mindmg = 218, maxdmg = 327, attackpower = 82, dmg_multiplier = 13.8, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 32768, minrangedmg = 174, maxrangedmg = 262, rangedattackpower = 66, lootid = 14763, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, equipment_id = 2178, mechanic_immune_mask = 1 WHERE entry = 37287; +UPDATE creature_template SET KillCredit1 = 14764, minlevel = 75, rangeattacktime = 1500, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, mechanic_immune_mask = 1 WHERE entry = 32008; +UPDATE creature_template SET difficulty_entry_3 = 37327, rangeattacktime = 1500, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, mechanic_immune_mask = 1 WHERE entry = 14764; +UPDATE creature_template SET KillCredit1 = 14764, minlevel = 81, maxlevel = 81, minhealth = 799805, maxhealth = 799805, armor = 10029, faction_A = 1534, faction_H = 1534, mindmg = 218, maxdmg = 327, dmg_multiplier = 13.8, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, minrangedmg = 174, maxrangedmg = 262, rangedattackpower = 66, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, MovementType = 1, equipment_id = 2178, mechanic_immune_mask = 1 WHERE entry = 37327; +UPDATE creature_template SET KillCredit1 = 14765, minlevel = 75, rangeattacktime = 1500, lootid = 14765, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, mechanic_immune_mask = 1 WHERE entry = 32086; +UPDATE creature_template SET difficulty_entry_3 = 37407, rangeattacktime = 1500, mechanic_immune_mask = 1 WHERE entry = 14765; +UPDATE creature_template SET KillCredit1 = 14765, minlevel = 81, maxlevel = 81, minhealth = 799805, maxhealth = 799805, armor = 10029, faction_A = 1534, faction_H = 1534, mindmg = 218, maxdmg = 327, attackpower = 82, dmg_multiplier = 13.8, baseattacktime = 200, rangeattacktime = 1500, unit_flags = 32768, minrangedmg = 174, maxrangedmg = 262, rangedattackpower = 66, lootid = 14765, spell1 = 13736, spell2 = 15589, spell3 = 22911, spell4 = 23511, equipment_id = 2178, mechanic_immune_mask = 1 WHERE entry = 37407; +UPDATE creature_template SET KillCredit1 = 14772, minlevel = 75, rangeattacktime = 1500, lootid = 14772 WHERE entry = 31972; +UPDATE creature_template SET difficulty_entry_3 = 37291, rangeattacktime = 1500 WHERE entry = 14772; +UPDATE creature_template SET KillCredit1 = 14772, minlevel = 81, maxlevel = 81, minhealth = 418312, maxhealth = 418312, armor = 10029, faction_A = 1214, faction_H = 1214, mindmg = 436, maxdmg = 654, attackpower = 163, dmg_multiplier = 51.4, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 349, maxrangedmg = 523, rangedattackpower = 130, lootid = 14772, MovementType = 1, equipment_id = 2179 WHERE entry = 37291; +UPDATE creature_template SET KillCredit1 = 14773, minlevel = 75, rangeattacktime = 1500 WHERE entry = 32007; +UPDATE creature_template SET difficulty_entry_3 = 37326, rangeattacktime = 1500 WHERE entry = 14773; +UPDATE creature_template SET minlevel = 81, maxlevel = 81, minhealth = 409500, maxhealth = 409500, armor = 10029, faction_A = 1214, faction_H = 1214, mindmg = 436, maxdmg = 654, attackpower = 163, dmg_multiplier = 51.4, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, minrangedmg = 349, maxrangedmg = 523, rangedattackpower = 130, equipment_id = 2179 WHERE entry = 37326; +UPDATE creature_template SET KillCredit1 = 14776, minlevel = 75, rangeattacktime = 1500, lootid = 14776, mingold = 150, maxgold = 150 WHERE entry = 31909; +UPDATE creature_template SET difficulty_entry_3 = 37435, rangeattacktime = 1500 WHERE entry = 14776; +UPDATE creature_template SET KillCredit1 = 14776, minlevel = 81, maxlevel = 81, minhealth = 409500, maxhealth = 409500, armor = 10029, faction_A = 1214, faction_H = 1214, mindmg = 436, maxdmg = 654, attackpower = 163, dmg_multiplier = 51.4, baseattacktime = 200, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 349, maxrangedmg = 523, rangedattackpower = 130, lootid = 14776, mingold = 150, maxgold = 150, MovementType = 1, equipment_id = 2179 WHERE entry = 37435; +UPDATE creature_template SET KillCredit1 = 14777, minlevel = 75, rangeattacktime = 1500, lootid = 14777 WHERE entry = 31829; +UPDATE creature_template SET difficulty_entry_3 = 37468, maxlevel = 61, rangeattacktime = 1500, unk16 = 20 WHERE entry = 14777; +UPDATE creature_template SET KillCredit1 = 14777, minlevel = 81, maxlevel = 81, minhealth = 492188, maxhealth = 492188, armor = 10029, faction_A = 1214, faction_H = 1214, mindmg = 436, maxdmg = 654, attackpower = 163, dmg_multiplier = 51.4, baseattacktime = 2000, rangeattacktime = 1500, unit_class = 1, unit_flags = 4096, minrangedmg = 349, maxrangedmg = 529, rangedattackpower = 130, lootid = 14777, equipment_id = 2179 WHERE entry = 37468; + +-- Alterac Valley: add missing NPC and movement at Alliance start location (by Bastek) +-- Stormpike Batteguard (with owls) +UPDATE creature SET position_x = 805.184082, position_y = -494.273804, position_z = 99.953552, orientation = 6.120978 WHERE guid = 150139; + +-- Stormpike Guardsman (with owls at road) +UPDATE creature SET position_x = 394.125031, position_y = -391.657776, position_z = -1.243851, orientation = 3.204396 WHERE guid = 150095; + +-- Owls (inside) +UPDATE creature SET position_x = 805.777222, position_y = -491.144531, position_z = 100.065727, orientation = 6.095846 WHERE guid = 150130; +UPDATE creature SET position_x = 804.536072, position_y = -497.691895, position_z = 100.019020, orientation = 6.095846 WHERE guid = 150131; + +-- Owls (at road) +UPDATE creature SET position_x = 393.981384, position_y = -389.373291, position_z = -1.243851, orientation = 3.204396 WHERE guid = 150128; +UPDATE creature SET position_x = 394.327148, position_y = -394.871399, position_z = -1.031908, orientation = 3.204396 WHERE guid = 150129; + +-- Add new NPC's +DELETE FROM `creature` WHERE `guid` in (410000, 410001, 410002, 410003, 410004, 410005, 410006, 410007, 410008, 410009); +INSERT INTO creature (guid, id, map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, DeathState, MovementType) VALUES +(410000, 14284, 30, 15, 1, 0, 0, 936.976440, -504.630524, 94.179443, 5.328219, 120, 0, 0, 4100, 0, 0, 0), +(410001, 14284, 30, 15, 1, 0, 0, 879.460754, -508.095276, 96.673584, 1.175040, 120, 0, 0, 4100, 0, 0, 0), +(410002, 14284, 30, 15, 1, 0, 0, 877.200867, -503.460052, 96.626198, 0.619761, 120, 0, 0, 4100, 0, 0, 0), +(410003, 14284, 30, 15, 1, 0, 0, 884.787354, -503.095337, 96.853584, 2.992002, 120, 0, 0, 4100, 0, 0, 0), +(410004, 14284, 30, 15, 1, 0, 0, 885.313965, -496.828156, 96.825073, 3.151438, 120, 0, 0, 4100, 0, 0, 0), +(410005, 14284, 30, 15, 1, 0, 0, 858.378052, -492.492889, 96.836800, 4.648121, 120, 0, 0, 4100, 0, 0, 0), +(410006, 14284, 30, 15, 1, 0, 0, 867.442505, -505.663422, 96.475998, 2.190067, 120, 0, 0, 4100, 0, 0, 0), +(410007, 14284, 30, 15, 1, 0, 0, 862.698914, -508.003754, 96.452995, 1.791085, 120, 0, 0, 4100, 0, 0, 0); + +-- Stormpike Battleguard (outside) +UPDATE creature SET position_x = 773.194641, position_y = -486.007416, position_z = 98.670097, orientation = 3.955635 WHERE guid = 150138; +INSERT INTO creature (guid, id, map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, DeathState, MovementType) VALUES +(410008, 14284, 30, 15, 1, 0, 0, 779.099365, -488.935211, 99.924774, 3.632051, 120, 0, 0, 4100, 0, 0, 0), +(410009, 14284, 30, 15, 1, 0, 0, 777.685669, -496.373871, 99.831039, 2.326713, 120, 0, 0, 4100, 0, 0, 0); + +-- Stormpike Guardsman +UPDATE creature SET position_x = 740.938965, position_y = -478.111603, position_z = 85.143028, orientation = 2.780301 WHERE guid = 150097; +UPDATE creature SET position_x = 740.147217, position_y = -480.206970, position_z = 84.997246, orientation = 2.780301 WHERE guid = 150100; +UPDATE creature SET position_x = 410.821075, position_y = -400.140289, position_z = 1.638313, orientation = 5.291997 WHERE guid = 150101; +UPDATE creature SET position_x = 408.326111, position_y = -401.773499, position_z = 1.999235, orientation = 5.291997 WHERE guid = 150093; +UPDATE creature SET position_x = 414.517822, position_y = -380.779327, position_z = -1.242818, orientation = 0.223995 WHERE guid = 150096; +UPDATE creature SET position_x = 415.098010, position_y = -383.298004, position_z = -1.242820, orientation = 0.223995 WHERE guid = 150089; +UPDATE creature SET position_x = 638.477417, position_y = -271.160431, position_z = 30.207394, orientation = 4.644043 WHERE guid = 150098; +UPDATE creature SET position_x = 635.697937, position_y = -270.970184, position_z = 30.129215, orientation = 4.644043 WHERE guid = 150099; +UPDATE creature SET position_x = 142.624573, position_y = -391.716858, position_z = 42.409050, orientation = 5.823702 WHERE guid = 150094; +UPDATE creature SET position_x = 141.609192, position_y = -393.494934, position_z = 42.513943, orientation = 5.823702 WHERE guid = 150092; +UPDATE creature SET position_x = 459.763, position_y = -434.832, position_z = 32.0776, orientation = 6.195211 WHERE guid = 150090; +UPDATE creature SET position_x = 459.504, position_y = -437.071, position_z = 32.2797, orientation = 6.195211 WHERE guid = 150091; + +-- MOVEMENT + +UPDATE creature SET MovementType = 2 WHERE guid IN (150135, 150132, 150133, 150131, 150139, 150130, 150100, 150097, 150090, 150091, 150101, 150093, 150095, 150129, 150128, 150094, 150092, 150096, 150089, 150099, 150098); + +-- Stormpike Guardsman +DELETE FROM creature_movement WHERE id = 150097; +INSERT INTO creature_movement VALUES +(150097, 1, 740.939, -478.112, 85.143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.88545, 0, 0), +(150097, 2, 717.895, -472.077, 74.577, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.88545, 0, 0), +(150097, 3, 707.233, -465.281, 67.9093, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.48631, 0, 0), +(150097, 4, 701.863, -454.545, 63.8615, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.03078, 0, 0), +(150097, 5, 697.745, -424.072, 63.348, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.70877, 0, 0), +(150097, 6, 671.764, -409.299, 66.804, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.66715, 0, 0), +(150097, 7, 655.093, -402.306, 67.9035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.55798, 0, 0), +(150097, 8, 628.274, -382.858, 67.7545, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.50953, 0, 0), +(150097, 9, 581.684, -391.884, 65.2107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.41666, 0, 0), +(150097, 10, 546.879, -396.505, 52.9005, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.28708, 0, 0), +(150097, 11, 487.458, -430.63, 36.839, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.67586, 0, 0), +(150097, 12, 459.763, -434.832, 32.0776, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.13786, 0, 0), +(150097, 13, 487.458, -430.63, 36.839, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.67586, 0, 0), +(150097, 14, 546.879, -396.505, 52.9005, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.28708, 0, 0), +(150097, 15, 581.684, -391.884, 65.2107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.41666, 0, 0), +(150097, 16, 628.274, -382.858, 67.7545, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.50953, 0, 0), +(150097, 17, 655.093, -402.306, 67.9035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.55798, 0, 0), +(150097, 18, 671.764, -409.299, 66.804, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.66715, 0, 0), +(150097, 19, 697.745, -424.072, 63.348, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.70877, 0, 0), +(150097, 20, 701.863, -454.545, 63.8615, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.03078, 0, 0), +(150097, 21, 707.233, -465.281, 67.9093, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.48631, 0, 0), +(150097, 22, 717.895, -472.077, 74.577, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.88545, 0, 0), +(150097, 23, 740.939, -478.112, 85.143, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.88545, 0, 0); + +DELETE FROM creature_movement WHERE id = 150100; +INSERT INTO creature_movement VALUES +(150100, 1, 740.261, -480.154, 85.0366, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.86974, 0, 0), +(150100, 2, 716.512, -474.191, 74.2183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.60258, 0, 0), +(150100, 3, 704.456, -466.858, 67.605, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.11874, 0, 0), +(150100, 4, 699.04, -455.634, 63.8726, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.90531, 0, 0), +(150100, 5, 695.474, -425.224, 63.1943, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.85034, 0, 0), +(150100, 6, 670.747, -411.279, 66.8755, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.66715, 0, 0), +(150100, 7, 653.495, -403.745, 67.8676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.27131, 0, 0), +(150100, 8, 626.721, -384.801, 67.468, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.56451, 0, 0), +(150100, 9, 580.034, -395.325, 64.4244, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.28708, 0, 0), +(150100, 10, 548.187, -399.874, 52.9756, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.42453, 0, 0), +(150100, 11, 488.046, -433.701, 37.1277, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.3617, 0, 0), +(150100, 12, 459.504, -437.071, 32.2797, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.11077, 0, 0), +(150100, 13, 488.046, -433.701, 37.1277, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.3617, 0, 0), +(150100, 14, 548.187, -399.874, 52.9756, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.42453, 0, 0), +(150100, 15, 580.034, -395.325, 64.4244, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.28708, 0, 0), +(150100, 16, 626.721, -384.801, 67.468, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.56451, 0, 0), +(150100, 17, 653.495, -403.745, 67.8676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.27131, 0, 0), +(150100, 18, 670.747, -411.279, 66.8755, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.66715, 0, 0), +(150100, 19, 695.474, -425.224, 63.1943, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.85034, 0, 0), +(150100, 20, 699.04, -455.634, 63.8726, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.90531, 0, 0), +(150100, 21, 704.456, -466.858, 67.605, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.11874, 0, 0), +(150100, 22, 716.512, -474.191, 74.2183, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.60258, 0, 0), +(150100, 23, 740.261, -480.154, 85.0366, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.86974, 0, 0); + +DELETE FROM creature_movement WHERE id = 150090; +INSERT INTO creature_movement VALUES +(150090, 1, 459.763, -434.832, 32.0776, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.21248, 0, 0), +(150090, 2, 487.824, -431.091, 36.9258, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.321996, 0, 0), +(150090, 3, 547.195, -396.696, 52.9658, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.337704, 0, 0), +(150090, 4, 579.835, -392.66, 64.7979, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.196326, 0, 0), +(150090, 5, 628.186, -383.207, 67.6938, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.03184, 0, 0), +(150090, 6, 655.253, -402.118, 67.9072, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.78051, 0, 0), +(150090, 7, 672.065, -409.314, 66.7835, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.8512, 0, 0), +(150090, 8, 697.794, -424.703, 63.2374, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.30166, 0, 0), +(150090, 9, 702.036, -453.75, 63.7331, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.98828, 0, 0), +(150090, 10, 707.613, -465.478, 68.1059, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.3219, 0, 0), +(150090, 11, 718.312, -472.268, 74.8416, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.90077, 0, 0), +(150090, 12, 741.106, -478.418, 85.2153, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.0225, 0, 0); + +DELETE FROM creature_movement WHERE id = 150091; +INSERT INTO creature_movement VALUES +(150091, 1, 459.504, -437.071, 32.2797, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.04834, 0, 0), +(150091, 2, 488.53, -433.858, 37.2377, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.357343, 0, 0), +(150091, 3, 548.33, -400.154, 53.0222, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.345561, 0, 0), +(150091, 4, 580.237, -396.715, 64.4967, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.073811, 0, 0), +(150091, 5, 626.866, -385.295, 67.4286, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.18892, 0, 0), +(150091, 6, 653.77, -404.067, 67.859, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.69805, 0, 0), +(150091, 7, 670.956, -411.437, 66.8527, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.83941, 0, 0), +(150091, 8, 695.852, -425.867, 63.0925, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.75302, 0, 0), +(150091, 9, 698.64, -455.618, 63.8672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.95585, 0, 0), +(150091, 10, 704.549, -466.658, 67.5728, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.32914, 0, 0), +(150091, 11, 716.605, -474.283, 74.2881, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.81294, 0, 0), +(150091, 12, 740.406, -480.439, 85.1497, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.01854, 0, 0); + +DELETE FROM creature_movement WHERE id = 150093; +INSERT INTO creature_movement VALUES +(150093, 1, 408.326, -401.773, 1.99924, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.29066, 0, 0), +(150093, 2, 443.914, -439.315, 30.2186, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.24746, 0, 0), +(150093, 3, 444.226, -479.454, 49.5636, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.51704, 0, 0), +(150093, 4, 424.107, -507.015, 66.3738, 500, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.67413, 0, 0), +(150093, 5, 444.226, -479.454, 49.5636, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.51704, 0, 0), +(150093, 6, 443.914, -439.315, 30.2186, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.24746, 0, 0), +(150093, 7, 408.326, -401.773, 1.99924, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.29066, 0, 0); + +DELETE FROM creature_movement WHERE id = 150101; +INSERT INTO creature_movement VALUES +(150101, 1, 410.821, -400.14, 1.63831, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.20034, 0, 0), +(150101, 2, 446.745, -438.881, 30.5422, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.98828, 0, 0), +(150101, 3, 446.427, -480.592, 50.0273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.27751, 0, 0), +(150101, 4, 425.572, -508.917, 66.5385, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.767, 0, 0), +(150101, 5, 446.427, -480.592, 50.0273, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.27751, 0, 0), +(150101, 6, 446.745, -438.881, 30.5422, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.98828, 0, 0), +(150101, 7, 410.821, -400.14, 1.63831, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.20034, 0, 0); + +DELETE FROM creature_movement WHERE id = 150092; +INSERT INTO creature_movement VALUES +(150092, 1, 141.609, -393.495, 42.5139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.77505, 0, 0), +(150092, 2, 191.492, -410.704, 43.2766, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.97533, 0, 0), +(150092, 3, 229.857, -420.678, 38.7887, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12063, 0, 0), +(150092, 4, 253.305, -414.613, 32.2917, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.575711, 0, 0), +(150092, 5, 269.730, -400.311, 18.2004, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.765741, 0, 0), +(150092, 6, 296.502, -383.499, 2.29761, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.007066, 0, 0), +(150092, 7, 364.671, -392.546, -0.397865, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.13003, 0, 0), +(150092, 8, 395.037, -394.245, -1.07366, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.204197, 0, 0), +(150092, 9, 364.671, -392.546, -0.397865, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.13003, 0, 0), +(150092, 10, 296.502, -383.499, 2.29761, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.007066, 0, 0), +(150092, 11, 269.730, -400.311, 18.2004, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.765741, 0, 0), +(150092, 12, 253.305, -414.613, 32.2917, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.575711, 0, 0), +(150092, 13, 229.857, -420.678, 38.7887, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12063, 0, 0), +(150092, 14, 191.492, -410.704, 43.2766, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.97533, 0, 0), +(150092, 15, 141.609, -393.495, 42.5139, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.77505, 0, 0); + +DELETE FROM creature_movement WHERE id = 150094; +INSERT INTO creature_movement VALUES +(150094, 1, 142.625, -391.717, 42.409, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.87086, 0, 0), +(150094, 2, 192.61, -407.343, 42.9072, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.98081, 0, 0), +(150094, 3, 229.769, -417.536, 38.8132, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.007855, 0, 0), +(150094, 4, 251.029, -410.95, 32.4934, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.439824, 0, 0), +(150094, 5, 268.200, -397.573, 17.881, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.816800, 0, 0), +(150094, 6, 296.344, -380.701, 2.44755, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.365208, 0, 0), +(150094, 7, 366.913, -389.781, -0.107719, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.03186, 0, 0), +(150094, 8, 394.527, -389.305, -1.24385, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.120222, 0, 0), +(150094, 9, 366.913, -389.781, -0.107719, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.03186, 0, 0), +(150094, 10, 296.344, -380.701, 2.44755, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.365208, 0, 0), +(150094, 11, 268.200, -397.573, 17.881, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.816800, 0, 0), +(150094, 12, 251.029, -410.95, 32.4934, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.439824, 0, 0), +(150094, 13, 229.769, -417.536, 38.8132, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.007855, 0, 0), +(150094, 14, 192.61, -407.343, 42.9072, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.98081, 0, 0), +(150094, 15, 142.625, -391.717, 42.409, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.87086, 0, 0); + +DELETE FROM creature_movement WHERE id = 150089; +INSERT INTO creature_movement VALUES +(150089, 1, 415.098, -383.298, -1.24282, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.313356, 0, 0), +(150089, 2, 462.558, -373.039, -1.06623, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.329849, 0, 0), +(150089, 3, 492.565, -344.508, -1.22761, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.636818, 0, 0), +(150089, 4, 523.497, -325.474, -0.239782, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.384828, 0, 0), +(150089, 5, 543.961, -322.116, 7.04419, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.06708, 0, 0), +(150089, 6, 579.436, -332.652, 28.4993, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.7867, 0, 0), +(150089, 7, 606.808, -337.777, 30.1949, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.27206, 0, 0), +(150089, 8, 630.057, -316.3, 30.1336, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.08057, 0, 0), +(150089, 9, 637.128, -274.198, 30.1825, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.51253, 0, 0), +(150089, 10, 630.057, -316.3, 30.1336, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.08057, 0, 0), +(150089, 11, 606.808, -337.777, 30.1949, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.27206, 0, 0), +(150089, 12, 579.436, -332.652, 28.4993, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.7867, 0, 0), +(150089, 13, 543.961, -322.116, 7.04419, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.06708, 0, 0), +(150089, 14, 523.497, -325.474, -0.239782, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.384828, 0, 0), +(150089, 15, 492.565, -344.508, -1.22761, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.636818, 0, 0), +(150089, 16, 462.558, -373.039, -1.06623, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.329849, 0, 0), +(150089, 17, 415.098, -383.298, -1.24282, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.313356, 0, 0); + +DELETE FROM creature_movement WHERE id = 150096; +INSERT INTO creature_movement VALUES +(150096, 1, 414.518, -380.779, -1.24282, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.17277, 0, 0), +(150096, 2, 461.761, -370.435, -1.24382, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.203985, 0, 0), +(150096, 3, 490.848, -342.185, -1.12543, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.636818, 0, 0), +(150096, 4, 523.487, -324.067, -0.320581, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.081462, 0, 0), +(150096, 5, 543.567, -320.155, 6.76823, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.67193, 0, 0), +(150096, 6, 580.331, -330.599, 28.7799, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.84796, 0, 0), +(150096, 7, 605.618, -335.583, 30.4627, 450, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.18567, 0, 0), +(150096, 8, 628.389, -315.196, 30.1336, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.774273, 0, 0), +(150096, 9, 635.332, -274.043, 30.151, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.67354, 0, 0), +(150096, 10, 628.389, -315.196, 30.1336, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.774273, 0, 0), +(150096, 11, 605.618, -335.583, 30.4627, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.18567, 0, 0), +(150096, 12, 580.331, -330.599, 28.7799, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.84796, 0, 0), +(150096, 13, 543.567, -320.155, 6.76823, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.67193, 0, 0), +(150096, 14, 523.487, -324.067, -0.320581, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.081462, 0, 0), +(150096, 15, 490.848, -342.185, -1.12543, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.636818, 0, 0), +(150096, 16, 461.761, -370.435, -1.24382, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.203985, 0, 0), +(150096, 17, 414.518, -380.779, -1.24282, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.17277, 0, 0); + +DELETE FROM creature_movement WHERE id = 150099; +INSERT INTO creature_movement VALUES +(150099, 1, 635.698, -270.97, 30.1292, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.60261, 0, 0), +(150099, 2, 628.079, -314.841, 30.1336, 600, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.93973, 0, 0), +(150099, 3, 605.703, -335.316, 30.4921, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.91479, 0, 0), +(150099, 4, 580.552, -330.767, 28.8608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.79159, 0, 0), +(150099, 5, 543.726, -320.113, 6.8534, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.1568, 0, 0), +(150099, 6, 523.149, -323.842, -0.410956, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.54164, 0, 0), +(150099, 7, 491.125, -342.124, -1.11999, 250, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.91471, 0, 0), +(150099, 8, 461.613, -370.41, -1.24379, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.66731, 0, 0), +(150099, 9, 414.386, -380.946, -1.24384, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.44026, 0, 0), +(150099, 10, 461.613, -370.41, -1.24379, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.66731, 0, 0), +(150099, 11, 491.125, -342.124, -1.11999, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.91471, 0, 0), +(150099, 12, 523.149, -323.842, -0.410956, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.54164, 0, 0), +(150099, 13, 543.726, -320.113, 6.8534, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.1568, 0, 0), +(150099, 14, 580.552, -330.767, 28.8608, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.79159, 0, 0), +(150099, 15, 605.703, -335.316, 30.4921, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.91479, 0, 0), +(150099, 16, 628.079, -314.841, 30.1336, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.93973, 0, 0), +(150099, 17, 635.698, -270.97, 30.1292, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.60261, 0, 0); + +DELETE FROM creature_movement WHERE id = 150098; +INSERT INTO creature_movement VALUES +(150098, 1, 638.477, -271.16, 30.2074, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.71652, 0, 0), +(150098, 2, 630.132, -316.6, 30.1349, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.73948, 0, 0), +(150098, 3, 607.208, -337.493, 30.1978, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.06247, 0, 0), +(150098, 4, 580.059, -332.454, 28.7155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.8119, 0, 0), +(150098, 5, 544.086, -322.083, 7.11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.94542, 0, 0), +(150098, 6, 523.608, -325.321, -0.220814, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.39309, 0, 0), +(150098, 7, 492.91, -344.147, -1.22704, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.92256, 0, 0), +(150098, 8, 462.796, -372.436, -1.10479, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.51023, 0, 0), +(150098, 9, 415.424, -383.387, -1.24384, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.56913, 0, 0), +(150098, 10, 462.796, -372.436, -1.10479, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.51023, 0, 0), +(150098, 11, 492.91, -344.147, -1.22704, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.92256, 0, 0), +(150098, 12, 523.608, -325.321, -0.220814, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.39309, 0, 0), +(150098, 13, 544.086, -322.083, 7.11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.94542, 0, 0), +(150098, 14, 580.059, -332.454, 28.7155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.8119, 0, 0), +(150098, 15, 607.208, -337.493, 30.1978, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.06247, 0, 0), +(150098, 16, 630.132, -316.6, 30.1349, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.73948, 0, 0), +(150098, 17, 638.477, -271.16, 30.2074, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4.71652, 0, 0); + +-- Owls & Battleguards +-- Stormpike Batteguard (with owls at the gate) (inside) +DELETE FROM creature_movement WHERE id = 150139; +INSERT INTO creature_movement VALUES +(150139, 1, 805.184, -494.274, 99.9536, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12793, 0, 0), +(150139, 2, 833.077, -497.517, 99.5546, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12793, 0, 0), +(150139, 3, 856.245, -501.143, 96.3042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12793, 0, 0), +(150139, 4, 874.391, -492.179, 96.563, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.420446, 0, 0), +(150139, 5, 885.043, -509.126, 96.749, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.23022, 0, 0), +(150139, 6, 914.457, -516.141, 94.0969, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.09809, 0, 0), +(150139, 7, 934.569, -512.72, 93.6356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.562114, 0, 0), +(150139, 8, 914.457, -516.141, 94.0969, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.09809, 0, 0), +(150139, 9, 885.043, -509.126, 96.749, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.23022, 0, 0), +(150139, 10, 874.391, -492.179, 96.563, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.420446, 0, 0), +(150139, 11, 856.245, -501.143, 96.3042, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12793, 0, 0), +(150139, 12, 833.077, -497.517, 99.5546, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12793, 0, 0), +(150139, 13, 805.184, -494.274, 99.9536, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.12793, 0, 0); + +-- Stormpike Batteguard (with owls at the portal) (inside) +DELETE FROM creature_movement WHERE id = 150135; +INSERT INTO creature_movement VALUES +(150135, 1, 934.557, -512.395, 93.6308, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.46809, 0, 0), +(150135, 2, 913.361, -515.883, 94.1333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.04301, 0, 0), +(150135, 3, 884.547, -508.993, 96.7161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.85097, 0, 0), +(150135, 4, 874.063, -492.077, 96.56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.17946, 0, 0), +(150135, 5, 856.379, -500.86, 96.2985, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.656, 0, 0), +(150135, 6, 832.661, -497.338, 99.6367, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.86824, 0, 0), +(150135, 7, 804.982, -494.262, 99.9406, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.97674, 0, 0), +(150135, 8, 832.661, -497.338, 99.6367, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.86824, 0, 0), +(150135, 9, 856.379, -500.86, 96.2985, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.656, 0, 0), +(150135, 10, 874.063, -492.077, 96.56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.17946, 0, 0), +(150135, 11, 884.547, -508.993, 96.7161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.85097, 0, 0), +(150135, 12, 913.361, -515.883, 94.1333, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.04301, 0, 0), +(150135, 13, 934.557, -512.395, 93.6308, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.46809, 0, 0); + +-- Stormpike Owl (with guard at the gate) (inside) +DELETE FROM creature_movement WHERE id = 150130; +INSERT INTO creature_movement VALUES +(150130, 1, 805.777, -491.145, 100.066, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.22427, 0, 0), +(150130, 2, 832.623, -495.061, 99.9326, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.13395, 0, 0), +(150130, 3, 856.046, -498.303, 96.4667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.87477, 0, 0), +(150130, 4, 874.936, -490.813, 96.5369, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.39961, 0, 0), +(150130, 5, 885.222, -507.547, 96.8083, 800, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.44672, 0, 0), +(150130, 6, 914.056, -514.092, 94.1168, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.95722, 0, 0), +(150130, 7, 933.881, -510.408, 93.7115, 650, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.757873, 0, 0), +(150130, 8, 914.056, -514.092, 94.1168, 900, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.95722, 0, 0), +(150130, 9, 885.222, -507.547, 96.8083, 350, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.44672, 0, 0), +(150130, 10, 874.936, -490.813, 96.5369, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.39961, 0, 0), +(150130, 11, 856.046, -498.303, 96.4667, 400, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.87477, 0, 0), +(150130, 12, 832.623, -495.061, 99.9326, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.13395, 0, 0), +(150130, 13, 805.777, -491.145, 100.066, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.22427, 0, 0); + +DELETE FROM creature_movement WHERE id = 150131; +INSERT INTO creature_movement VALUES +(150131, 1, 805.739, -497.472, 100.082, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.062801, 0, 0), +(150131, 2, 832.259, -499.633, 99.4396, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.14964, 0, 0), +(150131, 3, 856.072, -503.151, 96.2192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.098139, 0, 0), +(150131, 4, 872.407, -493.119, 96.5751, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.486912, 0, 0), +(150131, 5, 883.095, -510.27, 96.7952, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.59592, 0, 0), +(150131, 6, 912.72, -518.171, 94.1306, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.21245, 0, 0), +(150131, 7, 934.545, -515.304, 93.676, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.757852, 0, 0), +(150131, 8, 912.72, -518.171, 94.1306, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.21245, 0, 0), +(150131, 9, 883.095, -510.27, 96.7952, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.59592, 0, 0), +(150131, 10, 872.407, -493.119, 96.5751, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.486912, 0, 0), +(150131, 11, 856.072, -503.151, 96.2192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.098139, 0, 0), +(150131, 12, 832.259, -499.633, 99.4396, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6.14964, 0, 0), +(150131, 13, 805.739, -497.472, 100.082, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.062801, 0, 0); + +-- Stormpike Owl (with guard at the portal) (inside) +DELETE FROM creature_movement WHERE id = 150132; +INSERT INTO creature_movement VALUES +(150132, 1, 933.206, -510.991, 93.6726, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.62728, 0, 0), +(150132, 2, 913.451, -512.984, 94.1176, 1650, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.01859, 0, 0), +(150132, 3, 885.755, -507.158, 96.8603, 250, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.76334, 0, 0), +(150132, 4, 873.486, -490.438, 96.5269, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.84883, 0, 0), +(150132, 5, 855.572, -499.047, 96.3765, 850, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.51089, 0, 0), +(150132, 6, 832.773, -494.84, 99.9349, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.12996, 0, 0), +(150132, 7, 804.467, -492.047, 99.9589, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.04812, 0, 0), +(150132, 8, 832.773, -494.84, 99.9349, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.12996, 0, 0), +(150132, 9, 855.572, -499.047, 96.3765, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.51089, 0, 0), +(150132, 10, 873.486, -490.438, 96.5269, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.84883, 0, 0), +(150132, 11, 885.755, -507.158, 96.8603, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.76334, 0, 0), +(150132, 12, 913.451, -512.984, 94.1176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.01859, 0, 0), +(150132, 13, 933.206, -510.991, 93.6726, 250, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.62728, 0, 0); + +DELETE FROM creature_movement WHERE id = 150133; +INSERT INTO creature_movement VALUES +(150133, 1, 935.529, -514.174, 93.7126, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.67819, 0, 0), +(150133, 2, 912.428, -517.091, 94.1815, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.94385, 0, 0), +(150133, 3, 882.2, -509.039, 96.6888, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.28942, 0, 0), +(150133, 4, 873.821, -493.884, 96.5937, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.32083, 0, 0), +(150133, 5, 855.63, -502.782, 96.2429, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.99252, 0, 0), +(150133, 6, 831.959, -499.144, 99.5296, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.9611, 0, 0), +(150133, 7, 803.852, -495.966, 99.9156, 300, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.95387, 0, 0), +(150133, 8, 831.959, -499.144, 99.5296, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.9611, 0, 0), +(150133, 9, 855.63, -502.782, 96.2429, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.99252, 0, 0), +(150133, 10, 873.821, -493.884, 96.5937, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.32083, 0, 0), +(150133, 11, 882.2, -509.039, 96.6888, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.28942, 0, 0), +(150133, 12, 912.428, -517.091, 94.1815, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.94385, 0, 0), +(150133, 13, 935.529, -514.174, 93.7126, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.67819, 0, 0); + +-- Stormpike Batteguard (with owls on road) +DELETE FROM creature_movement WHERE id = 150095; +INSERT INTO creature_movement VALUES +(150095, 1, 394.125, -391.658, -1.24385, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.16121, 0, 0), +(150095, 2, 372.264, -392.303, -0.461327, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.03555, 0, 0), +(150095, 3, 305.513, -380.999, 0.189983, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.19263, 0, 0), +(150095, 4, 281.879, -387.997, 7.5677, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.62852, 0, 0), +(150095, 5, 251.963, -413.568, 32.5684, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.83665, 0, 0), +(150095, 6, 227.322, -418.744, 39.1048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.21244, 0, 0), +(150095, 7, 141.642, -393.005, 42.4682, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.71745, 0, 0), +(150095, 8, 227.322, -418.744, 39.1048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.21244, 0, 0), +(150095, 9, 251.963, -413.568, 32.5684, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.83665, 0, 0), +(150095, 10, 281.879, -387.997, 7.5677, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.62852, 0, 0), +(150095, 11, 305.513, -380.999, 0.189983, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.19263, 0, 0), +(150095, 12, 372.264, -392.303, -0.461327, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.03555, 0, 0), +(150095, 13, 394.125, -391.658, -1.24385, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.16121, 0, 0); + +-- Stormpike Owl (with guard on road) +DELETE FROM creature_movement WHERE id = 150128; +INSERT INTO creature_movement VALUES +(150128, 1, 393.981, -389.373, -1.24385, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.32289, 0, 0), +(150128, 2, 372.66, -390.494, -0.353593, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.24199, 0, 0), +(150128, 3, 304.86, -379.432, 0.409832, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.29148, 0, 0), +(150128, 4, 280.455, -386.222, 7.69883, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.64883, 0, 0), +(150128, 5, 250.705, -411.64, 32.7513, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.59778, 0, 0), +(150128, 6, 227.282, -416.73, 39.2124, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.85479, 0, 0), +(150128, 7, 142.816, -391.591, 42.424, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.55713, 0, 0), +(150128, 8, 227.282, -416.73, 39.2124, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.85479, 0, 0), +(150128, 9, 250.705, -411.64, 32.7513, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.59778, 0, 0), +(150128, 10, 280.455, -386.222, 7.69883, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.64883, 0, 0), +(150128, 11, 304.86, -379.432, 0.409832, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.29148, 0, 0), +(150128, 12, 372.66, -390.494, -0.353593, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.24199, 0, 0), +(150128, 13, 393.981, -389.373, -1.24385, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.32289, 0, 0); + +DELETE FROM creature_movement WHERE id = 150129; +INSERT INTO creature_movement VALUES +(150129, 1, 394.327, -394.871, -1.03191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.23258, 0, 0), +(150129, 2, 371.606, -393.877, -0.495769, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.80847, 0, 0), +(150129, 3, 305.275, -382.779, 0.168686, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.00874, 0, 0), +(150129, 4, 282.644, -389.078, 7.58356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.59779, 0, 0), +(150129, 5, 252.351, -415.209, 32.8219, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.47762, 0, 0), +(150129, 6, 226.657, -420.262, 39.1988, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.80375, 0, 0), +(150129, 7, 140.372, -394.476, 42.6076, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.51786, 0, 0), +(150129, 8, 226.657, -420.262, 39.1988, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.80375, 0, 0), +(150129, 9, 252.351, -415.209, 32.8219, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.47762, 0, 0), +(150129, 10, 282.644, -389.078, 7.58356, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.59779, 0, 0), +(150129, 11, 305.275, -382.779, 0.168686, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.00874, 0, 0), +(150129, 12, 371.606, -393.877, -0.495769, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2.80847, 0, 0), +(150129, 13, 394.327, -394.871, -1.03191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3.23258, 0, 0); + +UPDATE `creature_template` SET `minhealth` = 4100 WHERE `entry` = 14284; diff --git a/sql_mr/mr00249_mangos_arena_honor.sql b/sql_mr/mr00249_mangos_arena_honor.sql new file mode 100644 index 0000000..02184d7 --- /dev/null +++ b/sql_mr/mr00249_mangos_arena_honor.sql @@ -0,0 +1,4 @@ +-- npc arena-honor exchange +DELETE FROM `creature_template` WHERE `entry` = 7; +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `PowerType`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `vehicle_id`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES +(7, 0, 0, 0, 0, 0, 17858, 0, 17858, 0, 'Besdoban Durnoye', 'Arena-Honor Exchange', NULL, 0, 59, 61, 6700, 24000, 0, 5598, 5875, 4009, 35, 35, 1, 1.48, 1.14286, 1, 0, 91, 137, 0, 34, 1.4, 1400, 1400, 2, 0, 0, 0, 0, 0, 0, 0, 73, 110, 27, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1, 3, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'npc_arena_honor'); diff --git a/sql_mr/mr00249_mangos_draktharon.sql b/sql_mr/mr00249_mangos_draktharon.sql new file mode 100644 index 0000000..1c99d61 --- /dev/null +++ b/sql_mr/mr00249_mangos_draktharon.sql @@ -0,0 +1,65 @@ +DELETE FROM `creature` WHERE `id`=26712; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(927500, 26712, 600, 3, 1, 17188, 0, -365.477, -724.849, 32.2241, 3.92699, 3600, 5, 0, 4050, 0, 0, 1), +(927501, 26712, 600, 3, 1, 17188, 0, -365.368, -751.128, 32.3213, 2.35619, 3600, 5, 0, 4050, 0, 0, 1), +(927502, 26712, 600, 3, 1, 17188, 0, -392.123, -750.941, 32.2796, 0.680678, 3600, 5, 0, 4050, 0, 0, 1), +(927503, 26712, 600, 3, 1, 17188, 0, -392.455, -724.809, 32.1685, 5.35816, 3600, 5, 0, 4050, 0, 0, 1); + +DELETE FROM `creature_template` WHERE (`entry`=26710); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (26710, 0, 0, 0, 0, 0, 2536, 1160, 9829, 14952, 'Channel Target', '', '', 0, 1, 1, 8, 8, 0, 0, 7, 190, 190, 0, 1, 1, 0, 2, 2, 0, 24, 7.5, 2000, 0, 1, 33587200, 0, 0, 0, 0, 0, 0, 1, 1, 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 4, 0.2, 1, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template` WHERE (`entry`=26712); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (26712, 0, 0, 0, 0, 0, 169, 0, 17188, 0, 'Crystal Channel Target', '', '', 0, 70, 70, 4050, 4050, 0, 0, 6719, 16, 16, 0, 1, 1, 0, 252, 357, 0, 304, 1, 2000, 0, 1, 33554436, 0, 0, 0, 0, 0, 0, 215, 320, 44, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'npc_crystal_channel_target'); + +DELETE FROM `creature_template` WHERE (`entry`=26714); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (26714, 0, 0, 0, 0, 0, 2536, 1160, 9829, 14952, 'Dead Crystal Holder', '', '', 0, 1, 1, 8, 8, 0, 0, 7, 190, 190, 0, 1, 1, 0, 2, 2, 0, 24, 7.5, 2000, 0, 1, 32768, 0, 0, 0, 0, 0, 0, 1, 1, 100, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 4, 0.2, 1, 0, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, ''); + +/*King Dred*/ + +DELETE FROM creature WHERE id in (27709, 27753, 27490); + +DELETE FROM `creature` WHERE `id`=26632; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(152490, 26632, 600, 3, 1, 0, 0, -237.176, -675.768, 131.866, 4.66859, 25, 0, 0, 512278, 4169, 0, 0); + +DELETE FROM `creature_template` WHERE (`entry`=26632); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (26632, 31360, 0, 0, 0, 0, 27072, 0, 27072, 0, 'The Prophet Tharon\'ja', '', '', 76, 77, 275025, 275025, 0, 0, 0, 16, 16, 0, 1, 1, 1, 350, 450, 0, 400, 7.5, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 450, 75, 6, 72, 26632, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 25, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 'boss_tharonja'); + +DELETE FROM `creature_template` WHERE (`entry`=31360); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (31360, 0, 0, 0, 0, 0, 27072, 0, 27072, 0, 'The Prophet Tharon\'ja (1)', '', '', 82, 82, 512278, 512278, 4169, 4169, 0, 16, 16, 0, 1, 1, 1, 450, 650, 0, 750, 13, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 350, 530, 100, 6, 72, 31360, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 38, 1, 0, 43670, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, ''); + +DELETE FROM `spell_script_target` WHERE `entry` = 49555; +INSERT INTO `spell_script_target` VALUES (49555, 2, 27753); + +UPDATE `creature_template` SET minhealth = 1885, maxhealth = 1885 WHERE entry = 27753; + +DELETE FROM `creature_template` WHERE (`entry`=31344); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (31344, 0, 0, 0, 0, 0, 24500, 0, 24500, 0, 'Crystal Handler (1)', '', '', 0, 81, 81, 41704, 41704, 8979, 8979, 0, 15, 15, 0, 1, 1, 1, 1000, 1500, 0, 500, 2, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template` WHERE (`entry`=27597); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (27597, 31348, 0, 0, 0, 0, 22337, 0, 22337, 0, 'Hulking Corpse', '', '', 0, 74, 74, 12338, 12338, 0, 0, 0, 15, 15, 0, 1, 1, 1, 500, 1000, 0, 500, 1, 2000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1.2, 1, 0, 0, 0, 0, 0, 0, 0, 88, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template` WHERE (`entry`=31348); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (31348, 0, 0, 0, 0, 0, 22337, 0, 22337, 0, 'Hulking Corpse (1)', '', '', 0, 80, 80, 25200, 25200, 0, 0, 0, 15, 15, 0, 1, 1, 1, 1000, 1500, 0, 500, 2, 2000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 88, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template` WHERE (`entry`=27598); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (27598, 31873, 0, 0, 0, 0, 10978, 0, 10972, 0, 'Fetid Troll Corpse', '', '', 0, 74, 74, 2056, 2056, 0, 0, 0, 15, 15, 0, 1, 1, 0, 200, 400, 0, 500, 1, 2000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 0.2, 1, 0, 0, 0, 0, 0, 0, 0, 73, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template` WHERE (`entry`=31873); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (31873, 0, 0, 0, 0, 0, 10978, 0, 10972, 0, 'Fetid Troll Corpse (1)', '', '', 0, 80, 80, 3780, 3780, 0, 0, 0, 15, 15, 0, 1, 1, 0, 500, 1000, 0, 500, 2, 2000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 0.3, 1, 0, 0, 0, 0, 0, 0, 0, 73, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template` WHERE (`entry`=27600); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (27600, 31356, 0, 0, 0, 0, 2606, 0, 2606, 0, 'Risen Shadowcaster', '', '', 0, 74, 74, 1645, 1645, 7809, 7809, 0, 15, 15, 0, 1, 1, 0, 200, 400, 0, 500, 1, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'EventAI', 0, 3, 0.2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, ''); + +DELETE FROM `creature_template` WHERE (`entry`=31356); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (31356, 0, 0, 0, 0, 0, 2606, 0, 2606, 0, 'Risen Shadowcaster (1)', '', '', 0, 81, 81, 3128, 3128, 8979, 8979, 0, 15, 15, 0, 1, 1, 0, 500, 1000, 0, 500, 2, 2000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 0.3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, ''); + +UPDATE `creature_template` SET AIName = '', ScriptName = 'boss_trollgore' where entry = 26630; +UPDATE `creature_template` SET AIName = '', ScriptName = 'boss_novos' where entry = 26631; +UPDATE `creature_template` SET AIName = '', ScriptName = '' where entry = 26627; +UPDATE `creature_template` SET `unit_class` = 0 WHERE `entry` = 26627; +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26627); +UPDATE `creature_template` SET AIName = '', ScriptName = 'npc_crystal_channel_target' WHERE entry = 26712; +UPDATE `creature_template` SET AIName = '', ScriptName = 'risen_shadowcaster' where entry = 27600; +UPDATE `creature_template` SET AIName = '', ScriptName = 'boss_dred' where entry = 27483; +UPDATE `creature_template` SET AIName = '', ScriptName = 'boss_tharonja' where entry = 26632; diff --git a/sql_mr/mr00249_mangos_halls_of_stone.sql b/sql_mr/mr00249_mangos_halls_of_stone.sql new file mode 100644 index 0000000..5f1caca --- /dev/null +++ b/sql_mr/mr00249_mangos_halls_of_stone.sql @@ -0,0 +1,16 @@ +UPDATE `creature_template` SET `ScriptName` = 'boss_krystallus' WHERE `entry` =27977 LIMIT 1 ; +UPDATE `creature_template` SET `ScriptName` = 'mob_tribuna_controller' WHERE `entry` = 28234; + +UPDATE `gameobject` SET `state` = '1' WHERE `guid` =53556; +UPDATE `gameobject` SET `state` = '1' WHERE `guid` =53560; + +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `entry` =191293; +UPDATE `gameobject_template` SET `faction` = '0', `flags` = '0' WHERE `entry` IN (193996,190586); +UPDATE `gameobject` SET `phaseMask` = '1' WHERE `guid` =37577; +UPDATE `gameobject` SET `phaseMask` = '1' WHERE `guid` =37583; + +-- tribunal of ages completion of encounter +DELETE FROM `achievement_criteria_requirement` WHERE `criteria_id` IN (6935, 6936); +INSERT INTO `achievement_criteria_requirement` VALUES +(6935, 12, 0, 0), +(6936, 12, 1, 0); diff --git a/sql_mr/mr00249_mangos_icecrown_down.sql b/sql_mr/mr00249_mangos_icecrown_down.sql new file mode 100644 index 0000000..e2d02ae --- /dev/null +++ b/sql_mr/mr00249_mangos_icecrown_down.sql @@ -0,0 +1,687 @@ +-- Forge of souls +UPDATE `instance_template` SET `ScriptName`='instance_forge_of_souls' WHERE `map`=632; +UPDATE `creature_template` SET `ScriptName`='boss_bronjahm', `AIName` ='' WHERE `entry`=36497; +UPDATE `creature_template` SET `ScriptName`='mob_soul_fragment', `modelid_1`= 30233, `modelid_3`= 30233, `AIName` ='' WHERE `entry`=36535; +-- UPDATE `creature_template` SET `ScriptName`='mob_soul_storm', `AIName` ='' WHERE `entry`=; + +UPDATE `creature_template` SET `AIName`='', `Scriptname`='boss_devourer_of_souls' where `entry` IN (36502); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='' where `entry` IN (36536); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='' where `entry` IN (36595); + +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_jaina_and_sylvana_FSintro' where `entry` IN (37597, 37596); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_jaina_and_sylvana_FSextro' where `entry` IN (38160, 38161); +UPDATE `creature_template` SET `scale`='0.8', `equipment_id`='1221' where `entry` IN (37597, 38160, 36993, 38188, 37221, 36955); +UPDATE `creature_template` SET `scale`='0.8' where `entry` IN (36658, 37225, 37223, 37226, 37554); +UPDATE `creature_template` SET `npcflag`='3' where `entry` IN (38160, 38161); +UPDATE `creature_template` SET `npcflag`='3' where `entry` IN (37597, 37596, 36993, 36990); +UPDATE `creature_template` SET `scale`='1' where `entry` IN (38161, 37596, 36990); +UPDATE `creature_template` SET `scale`='1' where `entry` IN (37755); +UPDATE `creature_template` SET `equipment_id`='1290' where `entry` IN (36990, 37596, 38161, 38189, 37223, 37554); + +-- Pit of saron +UPDATE `instance_template` SET `ScriptName`='instance_pit_of_saron' WHERE `map`=658; +UPDATE `creature_template` SET `ScriptName`='boss_ick', `AIName` ='' WHERE `entry`=36476; +UPDATE `creature_template` SET `ScriptName`='boss_krick', `AIName` ='' WHERE `entry`=36477; +UPDATE `creature_template` SET `ScriptName`='mob_exploding_orb', `AIName` ='' WHERE `entry`=36610; +UPDATE `creature_template` SET `ScriptName`='boss_forgemaster_garfrost', `AIName` ='' WHERE `entry`=36494; +UPDATE `creature_template` SET `ScriptName`='boss_scourgelord_tyrannus', `AIName` ='' WHERE `entry`=36658; +UPDATE `creature_template` SET `ScriptName`='boss_rimefang', `AIName` ='' WHERE `entry`=36661; +UPDATE `creature_template` SET `ScriptName`='npc_jaina_or_sylvanas_POSintro', `AIName` ='' WHERE `entry` IN (36990,36993); +UPDATE `creature_template` SET `ScriptName`='npc_jaina_or_sylvanas_POSoutro', `AIName` ='' WHERE `entry` IN (38189,38188); +UPDATE `scripted_areatrigger` SET `ScriptName`='at_tyrannus' WHERE `entry`='5578'; + +-- Halls of reflection +UPDATE `instance_template` SET `ScriptName` = 'instance_halls_of_reflection' WHERE map=668; +UPDATE `gameobject_template` SET `ScriptName` = '' WHERE `entry` IN (202236,202302); +DELETE FROM `creature` WHERE `map` = 668 AND `id` IN (38177,38176,38173,38172,38567,38175,36940,36941,37069); + +UPDATE `creature_template` SET `ScriptName`='generic_creature' WHERE `entry` IN (38177,38176,38173,38172,38567,38175); + +UPDATE `gameobject_template` SET `faction` = '114' WHERE `entry` IN (197341, 201976); +UPDATE `gameobject_template` SET `faction`='1375' WHERE `entry` IN (197341, 202302, 201385, 201596); + +UPDATE `creature_template` SET `speed_walk`='1.5', `speed_run`='2.0' WHERE `entry` IN (36954, 37226); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_jaina_and_sylvana_HRintro' WHERE `entry` IN (37221, 37223); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='boss_falric' WHERE `entry` IN (38112); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='boss_marwyn' WHERE `entry` IN (38113); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='boss_lich_king_intro_hor' WHERE `entry` IN (36954); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='boss_lich_king_hr' WHERE `entry` IN (37226); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_jaina_and_sylvana_HRextro' WHERE `entry` IN (36955, 37554); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_undead_hor' WHERE `entry` IN (36940,36941,37069); +UPDATE `creature_template` SET `scale`='0.8', `equipment_id`='1221' WHERE `entry` IN (37221, 36955); +UPDATE `creature_template` SET `equipment_id`='1290' WHERE `entry` IN (37223, 37554); +UPDATE `creature_template` SET `equipment_id`='0' WHERE `entry`=36954; +UPDATE `creature_template` SET `scale`='1' WHERE `entry` IN (37223); +UPDATE `creature_template` SET `scale`='0.8' WHERE `entry` IN (36658, 37225, 37223, 37226, 37554); +UPDATE `creature_template` SET `unit_flags`='768', `type_flags`='268435564' WHERE `entry` IN (38177, 38176, 38173, 38172, 38567, 38175); +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_frostworn_general' WHERE `entry`=36723; +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_spiritual_reflection' WHERE `entry`=37068; + +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('70464', '1', '36881'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69708', '1', '37226'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('70194', '1', '37226'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69784', '1', '37014'); + +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69784', '1', '37014'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('70224', '1', '37014'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('70225', '1', '37014'); + +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69431', '1', '37497'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69431', '1', '37496'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69431', '1', '37496'); + +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69431', '1', '37588'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69431', '1', '37584'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69431', '1', '37587'); + +REPLACE INTO `creature_equip_template` VALUES ('38112', '50249', '49777', '0'); -- Falric +UPDATE `creature_template` SET `equipment_id`='38112' WHERE `entry` IN (38112); + +REPLACE INTO `creature_equip_template` VALUES ('38113', '50248', '50248', '0'); -- Marwyn +UPDATE `creature_template` SET `equipment_id`='38113' WHERE `entry` IN (38113); +REPLACE INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES (135341, 38112, 668, 3, 1, 0, 0, 5276.81, 2037.45, 709.32, 5.58779, 604800, 0, 0, 377468, 0, 0, 0); +REPLACE INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES (135342, 38113, 668, 3, 1, 0, 0, 5341.72, 1975.74, 709.32, 2.40694, 604800, 0, 0, 539240, 0, 0, 0); + +REPLACE INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES (14531739, 201596, 668, 1, 128, 5275.28, 1694.23, 786.147, 0.981225, 0, 0, 0.471166, 0.882044, 25, 0, 1); + +DELETE from `creature` WHERE `id`=36955; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES (135349, 36955, 668, 3, 128, 0, 0, 5547.27, 2256.95, 733.011, 0.835987, 7200, 0, 0, 252000, 881400, 0, 0); + +DELETE from `creature` WHERE `id`=37554; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES (135345, 37554, 668, 3, 64, 0, 0, 5547.27, 2256.95, 733.011, 0.835987, 7200, 0, 0, 252000, 881400, 0, 0); + +DELETE from `creature` WHERE `id`=37226; +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES (135344, 37226, 668, 3, 1, 0, 0, 5551.29, 2261.33, 733.012, 4.0452, 604800, 0, 0, 27890000, 0, 0, 0); + +UPDATE `creature_template` SET `modelid_1` = 11686, `modelid_2` = 11686, `modelid_3` = 11686, `modelid_4` = 11686 WHERE `entry` IN (37014,37704); + +DELETE FROM `gameobject` WHERE `id` IN (201385,201596,202079); + +UPDATE `gameobject_template` SET `faction` = '114',`data0` = '0' WHERE `gameobject_template`.`entry` IN (197341,197342,197343); +UPDATE `gameobject` SET `state` = '1' WHERE `id` IN (197341,197342,197343); + +-- offlike way for icewalls operation +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69768', '1', '37014'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('69767', '1', '37014'); +DELETE from `creature` WHERE `id`=37014; +UPDATE `creature_template` SET `AIName`='', `Scriptname`='npc_queldelar_hor' where `entry` IN (37158); +DELETE from `creature` WHERE `map` = 668 AND `id` IN (37221,37223,37554,36955); + +-- Captains chest (override) +DELETE FROM `gameobject` WHERE `id` IN (202212,201710,202337,202336); +UPDATE `gameobject_template` SET `flags` = 0 WHERE `gameobject_template`.`entry` IN (202212,201710,202337,202336); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(972562, 202212, 668, 1, 65535, 5241.047, 1663.4364, 784.295166, 0.54, 0, 0, 0, 0, -604800, 100, 1), +(972563, 201710, 668, 1, 65535, 5241.047, 1663.4364, 784.295166, 0.54, 0, 0, 0, 0, -604800, 100, 1), +(972564, 202337, 668, 2, 65535, 5241.047, 1663.4364, 784.295166, 0.54, 0, 0, 0, 0, -604800, 100, 1), +(972565, 202336, 668, 2, 65535, 5241.047, 1663.4364, 784.295166, 0.54, 0, 0, 0, 0, -604800, 100, 1); +-- Dalaran portal (override) +DELETE FROM `gameobject` WHERE `id` IN (202079); +INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(972566, 202079, 668, 3, 65535, 5250.959961, 1639.359985, 784.302, 0, 0, 0, 0, 0, -604800, 100, 1); + + +/* Original Icewalls from YTDB +REPLACE INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES +(3485, 201385, 668, 3, 1, 5540.39, 2086.48, 731.066, 1.00057, 0, 0, 0.479677, 0.877445, 604800, 100, 1), +(3438, 201385, 668, 3, 1, 5494.3, 1978.27, 736.689, 1.0885, 0, 0, 0.517777, 0.855516, 604800, 100, 1), +(3386, 201385, 668, 3, 1, 5434.27, 1881.12, 751.303, 0.923328, 0, 0, 0.445439, 0.895312, 604800, 100, 1), +(3383, 201385, 668, 3, 1, 5323.61, 1755.85, 770.305, 0.784186, 0, 0, 0.382124, 0.924111, 604800, 100, 1); +*/ + +-- EVENT AI + +-- ICC trash mobs from Xfurry +-- ########### +-- LOWER SPIRE +-- ########### + +-- The Damned +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37011; +DELETE FROM `creature_ai_scripts` WHERE `id`=3701101; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3701101,37011,0,0,100,30,10000,15000,10000,15000,11,70960,0,0,0,0,0,0,0,0,0,0, 'The Dammed - cast Bone Flurry'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3701102; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3701102,37011,6,0,100,30,0,0,0,0,11,70961,0,0,0,0,0,0,0,0,0,0, 'The Dammed - cast Shattred Bones'); +-- Ancient Skeletal Soldier +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37012; +DELETE FROM `creature_ai_scripts` WHERE `id`=3701201; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3701201,37012,0,0,100,31,5000,7000,5000,7000,11,70964,1,0,0,0,0,0,0,0,0,0, 'Ancient skeletal soldier - shield bash'); +-- Servant of the Throne +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36724; +DELETE FROM `creature_ai_scripts` WHERE `id`=3672401; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3672401,36724,0,0,100,31,3000,5000,7000,9000,11,71029,0,0,0,0,0,0,0,0,0,0, 'Servant of the throne - glacial blast'); +-- Nerub'ar Broodkeeper +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36725; +DELETE FROM `creature_ai_scripts` WHERE `id`=3672501; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3672501,36725,10,0,100,31,1,60,0,0,38,0,0,0,0,0,0,0,0,0,0,0, 'Nerubar broodkeeper - set aggressive'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3672502; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3672502,36725,0,0,100,31,5000,7000,5000,7000,11,70965,4,0,0,0,0,0,0,0,0,0, 'Nerubar Broodkeeper - crypt scarabs'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3672503; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3672503,36725,14,0,100,31,50,30,8000,13000,11,36725,6,0,0,0,0,0,0,0,0,0, 'Nerubar broodkeeper - dark mending'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3672504; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3672504,36725,0,0,100,31,7000,11000,7000,11000,11,70980,4,0,0,0,0,0,0,0,0,0, 'Nerubar broodkeeper - web wrap'); +-- Deathbound Ward +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37007; +DELETE FROM `creature_ai_scripts` WHERE `id`=3700701; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3700701,37007,10,0,100,31,1,80,0,0,38,0,0,0,0,0,0,0,0,0,0,0, 'Deathbound ward - set aggressive'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3700702; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3700702,37007,0,0,100,31,5000,7000,5000,7000,11,71021,1,0,0,0,0,0,0,0,0,0, 'Deathbound ward - saber lash'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3700703; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3700703,37007,0,0,100,31,15000,20000,20000,30000,11,71022,0,0,0,0,0,0,0,0,0,0, 'Deathbound ward - disrupting shout'); + +-- ##################### +-- ORATORY OF THE DAMMED +-- ##################### + +-- Deathspeaker High Priest +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36829; +DELETE FROM `creature_ai_scripts` WHERE `id`=3682901; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3682901,36829,4,0,100,30,0,0,0,0,11,69491,0,0,0,0,0,0,0,0,0,0, 'Deathspeaker high priest - aura of darkness'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3682902; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3682902,36829,0,0,100,31,5000,7000,10000,12000,11,69483,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker High Priest - dark reckoning'); +-- Deathspeaker Attendant +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36811; +DELETE FROM `creature_ai_scripts` WHERE `id`=3681101; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3681101,36811,0,0,100,31,3000,5000,6000,8000,11,69387,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker attendant - shadow bolt'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3681102; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3681102,36811,0,0,100,11,10000,15000,10000,15000,11,69355,0,0,0,0,0,0,0,0,0,0, 'Deathspeaker attendant - shadow nova 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3681103; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3681103,36811,0,0,100,21,10000,15000,10000,15000,11,71106,0,0,0,0,0,0,0,0,0,0, 'Deathspeaker attendant - shadow nova 25'); +-- Deathspeaker Disciple +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36807; +DELETE FROM `creature_ai_scripts` WHERE `id`=3680701; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680701,36807,0,0,100,31,3000,6000,7000,10000,11,69387,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker disciple - shadow bolt'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3680702; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680702,36807,16,0,100,31,69391,30,5000,9000,11,69391,6,0,0,0,0,0,0,0,0,0, 'Deathspeaker disciple - dark blessing'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3680703; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680703,36807,14,0,100,11,50,50,7000,11000,11,69389,6,0,0,0,0,0,0,0,0,0, 'Deathspeaker disciple - shadow mend 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3680704; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680704,36807,14,0,100,21,50,50,7000,11000,11,71107,6,0,0,0,0,0,0,0,0,0, 'Deathspeaker disciple - shadow mend 25'); +-- Deathspeaker Servant +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36805; +DELETE FROM `creature_ai_scripts` WHERE `id`=3680501; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680501,36805,0,0,100,31,7000,10000,7000,10000,11,69405,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker Servant - consuming shadows'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3680502; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680502,36805,0,0,100,11,4000,7000,4000,7000,11,69576,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker servant - chaos bolt 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3680503; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680503,36805,0,0,100,21,4000,7000,4000,7000,11,71108,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker servant - chaos bolt 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3680504; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680504,36805,0,0,100,11,7000,13000,7000,13000,11,69404,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker servant - curse of agony 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3680505; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680505,36805,0,0,100,21,7000,13000,7000,13000,11,71112,4,0,0,0,0,0,0,0,0,0, 'Deathspeaker servant - curse of agony 25'); +-- Deathspeaker Zealot +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36808; +DELETE FROM `creature_ai_scripts` WHERE `id`=3680801; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3680801,36808,0,0,100,31,3000,6000,3000,6000,11,69492,1,0,0,0,0,0,0,0,0,0, 'Deathspeaker zealot - shadow cleave'); + +-- ################ +-- RAMPART OF SKULL +-- ################ + +-- Frenzied Abomination +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37546; +DELETE FROM `creature_ai_scripts` WHERE `id`=3754601; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3754601,37546,0,0,100,31,3000,5000,3000,5000,11,70191,1,0,0,0,0,0,0,0,0,0, 'Frenzied abomination - abomination cleave'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3754602; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3754602,37546,2,0,100,30,10,9,0,0,11,70371,0,0,0,0,0,0,0,0,0,0, 'Frenzied abomination - enrage'); +-- Spire Gargoyle +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37544; +DELETE FROM `creature_ai_scripts` WHERE `id`=3754401; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3754401,37544,0,0,100,31,3000,5000,3000,5000,11,70189,4,0,0,0,0,0,0,0,0,0, 'Spire gargoyle - poison spit'); +-- Spire Minion +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37545; +DELETE FROM `creature_ai_scripts` WHERE `id`=3754501; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3754501,37545,0,0,100,31,3000,6000,3000,6000,11,70396,1,0,0,0,0,0,0,0,0,0, 'Spire minion - ghoul slash'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3754502; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3754502,37545,0,0,100,31,30000,30000,30000,30000,11,70363,0,0,0,0,0,0,0,0,0,0, 'Spire minion - cannibalize'); + +-- ########### +-- PLAGUEWORKS +-- ########### + +-- Blighted Abomination +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37022; +DELETE FROM `creature_ai_scripts` WHERE `id`=3702201; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3702201,37022,0,0,100,31,2000,5000,2000,5000,11,40504,1,0,0,0,0,0,0,0,0,0, 'Blighted abomination - cleave'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3702202; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3702202,37022,0,0,100,31,7000,15000,20000,30000,11,71150,0,0,0,0,0,0,0,0,0,0, 'Blighted abomination - plague cloud'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3702203; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3702203,37022,0,0,100,31,5000,10000,10000,15000,11,71140,4,0,0,0,0,0,0,0,0,0, 'Blighted abomination - scourge hook'); +-- Plague Scientist +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37023; +DELETE FROM `creature_ai_scripts` WHERE `id`=3702301; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3702301,37023,0,0,100,31,10000,10000,10000,10000,11,71103,4,0,0,0,0,0,0,0,0,0, 'Plague scientist - combobulating spray'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3702302; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3702302,37023,0,0,100,31,8000,11000,8000,11000,11,73079,4,0,0,0,0,0,0,0,0,0, 'Plague scientist - plague blast'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3702303; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3702303,37023,0,0,100,31,15000,20000,15000,20000,11,69871,6,0,0,0,0,0,0,0,0,0, 'Plague scientist - plague stream'); + +-- Vengefull fleshreaper +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37038; +DELETE FROM `creature_ai_scripts` WHERE `id`=3703801; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3703801,37038,0,0,100,31,5000,10000,5000,10000,11,71164,5,0,0,0,0,0,0,0,0,0, 'Vengefull fleshreaper - leaping face maul'); +-- Decaying colossus +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36880; +DELETE FROM `creature_ai_scripts` WHERE `id`=3688001; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3688001,36880,0,0,100,11,5000,9000,10000,15000,11,71114,0,0,0,0,0,0,0,0,0,0, 'Decaying colossus - massive stomp 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3688002; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3688002,36880,0,0,100,21,5000,9000,10000,15000,11,71115,0,0,0,0,0,0,0,0,0,0, 'Decaying colossus - massive stomp 25'); + +-- ############# +-- CRIMSON HALLS +-- ############# + +-- Darkfallen Archmage +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37664; +DELETE FROM `creature_ai_scripts` WHERE `id`=3766401; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766401,37664,0,0,100,11,5000,10000,30000,35000,11,70408,0,0,0,0,0,0,0,0,0,0, 'Darkfallen archmage - amplify magic 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766402; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766402,37664,0,0,100,21,5000,10000,30000,35000,11,72336,0,0,0,0,0,0,0,0,0,0, 'Darkfallen archmage - amplify magic 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766403; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766403,37664,0,0,100,11,7000,11000,7000,11000,11,70407,0,0,0,0,0,0,0,0,0,0, 'Darkfallen archmage - blast wave 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766404; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766404,37664,0,0,100,21,7000,11000,7000,11000,11,71151,0,0,0,0,0,0,0,0,0,0, 'Darkfallen archmage - blast wave 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766405; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766405,37664,0,0,100,11,9000,13000,9000,13000,11,70409,4,0,0,0,0,0,0,0,0,0, 'Darkfallen archmage - fireball 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766406; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766406,37664,0,0,100,21,9000,13000,9000,13000,11,71153,4,0,0,0,0,0,0,0,0,0, 'Darkfallen archmage - fireball 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766407; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766407,37664,0,0,100,31,10000,10000,10000,10000,11,70410,5,0,0,0,0,0,0,0,0,0, 'Darkfallen archmage - polymorph spider'); +-- Darkfallen Blood Knight +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37595; +DELETE FROM `creature_ai_scripts` WHERE `id`=3759501; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3759501,37595,4,0,100,6,0,0,0,0,11,71736,0,0,0,0,0,0,0,0,0,0, 'Darkfallen blood knight - vampiric aura'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3759502; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3759502,37595,0,0,100,31,5000,9000,5000,9000,11,70450,1,0,0,0,0,0,0,0,0,0, 'Darkfallen blood knight - blood mirror'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3759503; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3759503,37595,0,0,100,31,3000,6000,3000,6000,11,70437,1,0,0,0,0,0,0,0,0,0, 'Darkfallen blood knight - unholy strike'); +-- Darkfallen Noble +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37663; +DELETE FROM `creature_ai_scripts` WHERE `id`=3766301; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766301,37663,0,0,100,31,7000,11000,7000,11000,11,70645,4,0,0,0,0,0,0,0,0,0, 'Darkfallen noble - chains of shadow'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766302; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766302,37663,0,0,100,11,3000,6000,3000,6000,11,72960,4,0,0,0,0,0,0,0,0,0, 'Darkfallen noble - shadow bolt 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766303; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766303,37663,0,0,100,21,3000,6000,3000,6000,11,72961,4,0,0,0,0,0,0,0,0,0, 'Darkfallen noble - shadow bolt 25'); +-- Darkfallen Advisor +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37571; +DELETE FROM `creature_ai_scripts` WHERE `id`=3757101; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3757101,37571,0,0,100,11,5000,9000,5000,9000,11,72057,4,0,0,0,0,0,0,0,0,0, 'Darkfallen advisor - lich slap 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3757102; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3757102,37571,0,0,100,21,5000,9000,5000,9000,11,72421,4,0,0,0,0,0,0,0,0,0, 'Darkfallen advisor - lich slap 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3757103; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3757103,37571,16,0,100,31,72066,40,10000,20000,11,72066,6,0,0,0,0,0,0,0,0,0, 'Darkfallen advisor - shroud of spell warding'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3757104; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3757104,37571,16,0,100,31,72065,50,10000,20000,11,72065,6,0,0,0,0,0,0,0,0,0, 'Darkfallen advisor - shroud of protection'); +-- Darkfallen Lieutenant +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37665; +DELETE FROM `creature_ai_scripts` WHERE `id`=3766501; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766501,37665,0,0,100,11,5000,7000,5000,7000,11,70435,1,0,0,0,0,0,0,0,0,0, 'Darkfallen lieutenant - rend flesh 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766502; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766502,37665,0,0,100,21,5000,7000,5000,7000,11,71154,1,0,0,0,0,0,0,0,0,0, 'Darkfallen lieutenant - rend flesh 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766503; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766503,37665,0,0,100,31,5000,7000,20000,25000,11,70423,1,0,0,0,0,0,0,0,0,0, 'Darkfallen lieutenant - vampiric curse'); +-- Darkfallen Tactician +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37666; +DELETE FROM `creature_ai_scripts` WHERE `id`=3766601; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766601,37666,0,0,100,31,5000,7000,10000,13000,11,70432,1,0,0,0,0,0,0,0,0,0, 'Darkfallen tactitian - blood sap'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766602; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766602,37666,0,0,100,31,7000,10000,7000,10000,11,70437,1,0,0,0,0,0,0,0,0,0, 'Darkfallen tactitian - unholy strike'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766603; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766603,37666,4,0,100,6,0,0,0,0,11,70431,0,0,0,0,0,0,0,0,0,0, 'Darkfallen tactitian - shadowstep'); +-- Darkfallen Commander +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37662; +DELETE FROM `creature_ai_scripts` WHERE `id`=3766201; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766201,37662,4,0,100,6,0,0,0,0,11,70750,0,0,0,0,0,0,0,0,0,0, 'Darkfallen commander - battle shout'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766202; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766202,37662,0,0,100,11,3000,5000,5000,7000,11,70449,5,0,0,0,0,0,0,0,0,0, 'Darkfallen commander - vampire rush 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3766203; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3766203,37662,0,0,100,21,3000,5000,5000,7000,11,71155,5,0,0,0,0,0,0,0,0,0, 'Darkfallen commander - vampire rush 25'); + +-- ######### +-- FROSTWING +-- ######### + +-- Frostwarden handler +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37531; +DELETE FROM `creature_ai_scripts` WHERE `id`=3753101; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3753101,37531,0,0,100,11,6000,11000,6000,11000,11,71337,0,0,0,0,0,0,0,0,0,0, 'Frostwarde handler - concussive shock 10'); +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37531; +DELETE FROM `creature_ai_scripts` WHERE `id`=3753102; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3753102,37531,0,0,100,21,6000,11000,6000,11000,11,71338,0,0,0,0,0,0,0,0,0,0, 'Frostwarde handler - concussive shock 10'); +-- Frostwing whelp +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37532; +DELETE FROM `creature_ai_scripts` WHERE `id`=3753201; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3753201,37532,0,0,100,31,5000,7000,10000,13000,11,71350,4,0,0,0,0,0,0,0,0,0, 'Frostwing whelp - focus fire'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3753202; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3753202,37532,0,0,100,11,4000,5000,4000,5000,11,71361,4,0,0,0,0,0,0,0,0,0, 'Frostwing whelp - frost blast 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3753203; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3753203,37532,0,0,100,21,4000,5000,4000,5000,11,71362,4,0,0,0,0,0,0,0,0,0, 'Frostwing whelp - frost blast 25'); +-- Ymirjar battle maiden +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37132; +DELETE FROM `creature_ai_scripts` WHERE `id`=3713201; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713201,37132,0,0,100,31,4000,6000,10000,11000,11,71258,0,0,0,0,0,0,0,0,0,0, 'Ymirjar battle maiden - adrenaline rush'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3713202; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713202,37132,0,0,100,31,5000,7000,5000,7000,11,71257,3,0,0,0,0,0,0,0,0,0, 'Ymirjar battle maiden - barbaric strike'); +-- Ymirjar deathbringer +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=38125; +DELETE FROM `creature_ai_scripts` WHERE `id`=3812501; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3812501,38125,0,0,100,31,4000,6000,6000,8000,11,71298,4,0,0,0,0,0,0,0,0,0, 'Ymirjar deathbringer - banish'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3812502; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3812502,38125,0,0,100,11,7000,13000,15000,20000,11,71299,0,0,0,0,0,0,0,0,0,0, 'Ymirjar deathbringer - deaths embrace 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3812503; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3812503,38125,0,0,100,21,7000,13000,15000,20000,11,71300,0,0,0,0,0,0,0,0,0,0, 'Ymirjar deathbringer - deaths embrace 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3812504; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3812504,38125,0,0,100,11,4000,7000,4000,7000,11,71296,4,0,0,0,0,0,0,0,0,0, 'Ymirjar deathbringer - shadow bolt 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3812505; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3812505,38125,0,0,100,21,4000,7000,4000,7000,11,71297,4,0,0,0,0,0,0,0,0,0, 'Ymirjar deathbringer - shadow bolt 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3812506; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3812506,38125,16,0,100,31,69929,30,35000,50000,11,69929,6,0,0,0,0,0,0,0,0,0, 'Ymirjar deathbringer - spirit steam'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3812507; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3812507,38125,0,0,100,31,20000,25000,25000,30000,11,71303,0,0,0,0,0,0,0,0,0,0, 'Ymirjar deathbringer - summon ymirjar'); +-- Ymirjar warlord +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37133; +DELETE FROM `creature_ai_scripts` WHERE `id`=3713301; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713301,37133,0,0,100,31,8000,13000,8000,13000,11,41056,0,0,0,0,0,0,0,0,0,0, 'Ymirjar warlord - whirlwind'); +-- Ymirjar huntress +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37134; +DELETE FROM `creature_ai_scripts` WHERE `id`=3713401; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713401,37134,0,0,100,31,5000,10000,7000,14000,11,71249,0,0,0,0,0,0,0,0,0,0, 'Ymirjar huntress - ice trap'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3713402; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713402,37134,0,0,100,31,8000,13000,10000,15000,11,71251,0,0,0,0,0,0,0,0,0,0, 'Ymirjar huntress - rapid shot'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3713403; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713403,37134,0,0,100,31,2000,4000,2000,4000,11,71253,4,0,0,0,0,0,0,0,0,0, 'Ymirjar huntress - shoot'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3713404; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713404,37134,0,0,100,31,6000,8000,7000,10000,11,71252,4,0,0,0,0,0,0,0,0,0, 'Ymirjar huntress - volley'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3713405; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3713405,37134,4,0,100,6,0,0,0,0,11,71705,0,0,0,0,0,0,0,0,0,0, 'Ymirjar huntress - summon warhawk'); +-- Ymirjar frostbinder +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37127; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712701; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712701,37127,0,0,100,31,7000,10000,7000,10000,11,71306,5,0,0,0,0,0,0,0,0,0, 'Ymirjar frostbinder - twisted winds'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712702; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712702,37127,0,0,100,31,15000,20000,15000,20000,11,71274,5,0,0,0,0,0,0,0,0,0, 'Ymirjar frostbinder - frozen orb'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712703; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712703,37127,4,0,100,6,0,0,0,0,11,71270,0,0,0,0,0,0,0,0,0,0, 'Ymirjar frostbinder - arctic chill'); + +#-- ############### +#-- VALITHRIA EVENT +#-- ############### + +#-- Grottnous abomination +#UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37886; +#DELETE FROM `creature_ai_scripts` WHERE `id`=3788601; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3788601,37886,0,0,100,3,7000,13000,7000,13000,11,70633,0,0,0,0,0,0,0,0,0,0, 'Gluttnous abomination - gut spray 10n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3788602; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3788602,37886,0,0,100,5,7000,13000,7000,13000,11,71283,0,0,0,0,0,0,0,0,0,0, 'Gluttnous abomination - gut spray 25n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3788603; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3788603,37886,0,0,100,9,7000,13000,7000,13000,11,72025,0,0,0,0,0,0,0,0,0,0, 'Gluttnous abomination - gut spray 10h'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3788604; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3788604,37886,0,0,100,17,7000,13000,7000,13000,11,72026,0,0,0,0,0,0,0,0,0,0, 'Gluttnous abomination - gut spray 25h'); +#-- Blistering Zombies +#UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37934; +#DELETE FROM `creature_ai_scripts` WHERE `id`=3793401; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3793401,37934,4,0,100,31,0,0,0,0,11,70749,0,0,0,0,0,0,0,0,0,0, 'Blistering zombies - corrosion'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3793402; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3793402,37934,6,0,100,3,0,0,0,0,11,70744,0,0,0,0,0,0,0,0,0,0, 'Blistering zombies - acid burst 10n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3793403; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3793403,37934,6,0,100,5,0,0,0,0,11,71733,0,0,0,0,0,0,0,0,0,0, 'Blistering zombies - acid burst 25n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3793404; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3793404,37934,6,0,100,9,0,0,0,0,11,72017,0,0,0,0,0,0,0,0,0,0, 'Blistering zombies - acid burst 10h'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3793405; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3793405,37934,6,0,100,17,0,0,0,0,11,72018,0,0,0,0,0,0,0,0,0,0, 'Blistering zombies - acid burst 25h'); +#-- Suppresser +#UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37863; +#DELETE FROM `creature_ai_scripts` WHERE `id`=3786301; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3786301,37863,4,0,100,31,0,0,0,0,11,70588,1,0,0,0,0,0,0,0,0,0, 'Suppresser - suppression'); +#-- Blazing Skeleton +#UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=36791; +#DELETE FROM `creature_ai_scripts` WHERE `id`=3679101; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3679101,36791,0,0,100,3,5000,10000,5000,10000,11,70754,4,0,0,0,0,0,0,0,0,0, 'Blazin skeleton - fireball 10n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3679102; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3679102,36791,0,0,100,5,5000,10000,5000,10000,11,71748,4,0,0,0,0,0,0,0,0,0, 'Blazin skeleton - fireball 25n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3679103; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3679103,36791,0,0,100,9,5000,10000,5000,10000,11,72023,4,0,0,0,0,0,0,0,0,0, 'Blazin skeleton - fireball 10h'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3679104; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3679104,36791,0,0,100,17,5000,10000,5000,10000,11,72024,4,0,0,0,0,0,0,0,0,0, 'Blazin skeleton - fireball 25h'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3679105; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3679105,36791,0,0,100,11,10000,15000,10000,15000,11,69325,0,0,0,0,0,0,0,0,0,0, 'Blazin skeleton - lay waste 10'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3679106; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3679106,36791,0,0,100,21,10000,15000,10000,15000,11,71730,0,0,0,0,0,0,0,0,0,0, 'Blazin skeleton - lay waste 10'); +-- Mana void +-- UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=38068; +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=38068); +-- INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +-- (3806801,38068,4,0,100,31,0,0,0,0,11,71085,0,0,0,0,0,0,0,0,0,0, 'Mana void - mana void aura'); +#UPDATE `creature_template` SET `modelid1` = 11686 WHERE `entry` = 38068; +#-- Risen archmage +#UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37868; +#DELETE FROM `creature_ai_scripts` WHERE `id`=3786801; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3786801,37868,0,0,100,3,7000,11000,7000,11000,11,70759,0,0,0,0,0,0,0,0,0,0, 'Risen archmage - frostbolt volley 10n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3786802; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3786802,37868,0,0,100,5,7000,11000,7000,11000,11,71889,0,0,0,0,0,0,0,0,0,0, 'Risen archmage - frostbolt volley 25n'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3786803; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3786803,37868,0,0,100,9,7000,11000,7000,11000,11,72015,0,0,0,0,0,0,0,0,0,0, 'Risen archmage - frostbolt volley 10h'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3786804; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3786804,37868,0,0,100,17,7000,11000,7000,11000,11,72016,0,0,0,0,0,0,0,0,0,0, 'Risen archmage - frostbolt volley 25h'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3786805; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3786805,37868,0,0,100,11,25000,30000,25000,30000,11,71179,0,0,0,0,0,0,0,0,0,0, 'Risen archmage - mana void 10'); +#DELETE FROM `creature_ai_scripts` WHERE `id`=3786806; +#INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +#(3786806,37868,0,0,100,21,25000,30000,25000,30000,11,71741,0,0,0,0,0,0,0,0,0,0, 'Risen archmage - mana void 10'); + +-- ############ +-- SVALNA EVENT +-- ############ + +-- Captain Rupert +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37125; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712501; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712501,37125,0,0,100,31,5000,7000,7000,11000,11,71787,4,0,0,0,0,0,0,0,0,0, 'Captain Rupert - fel bomb'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712502; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712502,37125,0,0,100,31,7000,9000,9000,13000,11,71594,4,0,0,0,0,0,0,0,0,0, 'Captain Rupert - machine gun'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712503; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712503,37125,0,0,100,31,10000,13000,15000,17000,11,71786,4,0,0,0,0,0,0,0,0,0, 'Captain Rupert - rocket'); +-- Captain Grondel +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37124; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712401; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712401,37124,0,0,100,31,10000,10000,10000,10000,11,71553,5,0,0,0,0,0,0,0,0,0, 'Captain Groundel - charge'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712402; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712402,37124,0,0,100,31,5000,10000,10000,15000,11,71554,3,0,0,0,0,0,0,0,0,0, 'Captain Groundel - sunder armor'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712403; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712403,37124,0,0,100,31,5000,7000,5000,7000,11,71552,1,0,0,0,0,0,0,0,0,0, 'Captain Groundel - mortal strike'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712404; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712404,37124,0,0,100,31,5000,9000,10000,15000,11,71785,4,0,0,0,0,0,0,0,0,0, 'Captain Groundel - conflagration'); +-- Captain Brandon +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37123; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712301; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712301,37123,0,0,100,31,10000,10000,10000,10000,11,71549,1,0,0,0,0,0,0,0,0,0, 'Captain Brandon - crusader strike'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712302; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712302,37123,2,0,100,30,25,24,0,0,11,71550,0,0,0,0,0,0,0,0,0,0, 'Captain Brandon - divine shield'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712303; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712303,37123,0,0,100,31,5000,8000,7000,10000,11,71784,4,0,0,0,0,0,0,0,0,0, 'Captain Brandon - hammer of betrayal'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712304; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712304,37123,0,0,100,31,7000,10000,8000,12000,11,71551,4,0,0,0,0,0,0,0,0,0, 'Captain Brandon - judgement of command'); +-- Captain Arnath +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37122; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712201; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712201,37122,14,0,100,31,50,30,5000,10000,11,71595,6,0,0,0,0,0,0,0,0,0, 'Captain Arnath - flash heal'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712202; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712202,37122,0,0,100,21,15000,20000,20000,25000,11,14515,4,0,0,0,0,0,0,0,0,0, 'Captain Arnath - dominate mind'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712203; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712203,37122,16,0,100,31,71548,30,30000,35000,11,71548,6,0,0,0,0,0,0,0,0,0, 'Captain Arnath - power shield'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712204; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712204,37122,0,0,100,3,5000,10000,9000,15000,11,71546,4,0,0,0,0,0,0,0,0,0, 'Captain Arnath - smite 10n'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712205; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712205,37122,0,0,100,5,5000,10000,9000,15000,11,71547,4,0,0,0,0,0,0,0,0,0, 'Captain Arnath - smite 25n'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712206; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712206,37122,0,0,100,9,5000,10000,9000,15000,11,71778,4,0,0,0,0,0,0,0,0,0, 'Captain Arnath - smite 10h'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712207; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712207,37122,0,0,100,17,5000,10000,9000,15000,11,71779,4,0,0,0,0,0,0,0,0,0, 'Captain Arnath - smite 25h'); +-- Crok and Svalna need SD2 script +-- this is just a basic of spells +-- Crok Scourgebane +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37129; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712901; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712901,37129,0,0,100,31,5000,7000,7000,9000,11,71489,1,0,0,0,0,0,0,0,0,0, 'Crock Scrougebane - deathstrike'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712902; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712902,37129,0,0,100,31,7000,9000,10000,12000,11,71488,1,0,0,0,0,0,0,0,0,0, 'Crock Scrougebane - scourgestrike'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712903; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712903,37129,0,0,100,21,10000,15000,10000,15000,11,71490,4,0,0,0,0,0,0,0,0,0, 'Crock Scrougebane - deathcoil'); +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37129; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712904; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712904,37129,4,0,100,6,0,0,0,0,39,30,0,0,0,0,0,0,0,0,0,0, 'Crock Scrougebane - call for help'); +-- Svalna spear +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=38248; +DELETE FROM `creature_ai_scripts` WHERE `id`=3824801; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3824801,38248,4,0,100,30,0,0,0,0,11,71443,3,0,0,0,0,0,0,0,0,0, 'Svalna spear - impale'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3824802; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3824802,38248,6,0,100,30,0,0,0,0,28,1,71443,0,0,0,0,0,0,0,0,0, 'Svalna spear - remove impale'); +-- Svalna +UPDATE `creature_template` SET `AIName`='EventAI' WHERE `entry`=37126; +DELETE FROM `creature_ai_scripts` WHERE `id`=3712601; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712601,37126,4,0,100,6,0,0,0,0,11,71465,0,0,0,0,0,0,0,0,0,0, 'Sister Svalna - divine surge'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712602; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712602,37126,0,0,100,11,15000,20000,20000,25000,11,71468,0,0,0,0,0,0,0,0,0,0, 'Sister Svalna - aether burst 10'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712603; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712603,37126,0,0,100,21,15000,20000,20000,25000,11,71469,0,0,0,0,0,0,0,0,0,0, 'Sister Svalna - aether burst 25'); +DELETE FROM `creature_ai_scripts` WHERE `id`=3712604; +INSERT INTO `creature_ai_scripts` (`id`,`creature_id`,`event_type`,`event_inverse_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`action2_type`,`action2_param1`,`action2_param2`,`action2_param3`,`action3_type`,`action3_param1`,`action3_param2`,`action3_param3`,`comment`) VALUES +(3712604,37126,0,0,100,31,25000,30000,60000,70000,11,70196,5,0,11,71463,0,0,0,0,0,0, 'Sister Svalna - sprear'); diff --git a/sql_mr/mr00249_mangos_vault_of_archavon.sql b/sql_mr/mr00249_mangos_vault_of_archavon.sql new file mode 100644 index 0000000..2ace2cd --- /dev/null +++ b/sql_mr/mr00249_mangos_vault_of_archavon.sql @@ -0,0 +1,11 @@ +UPDATE `creature_template` SET `ScriptName`='boss_archavon' WHERE `entry`=31125; +UPDATE `creature_template` SET `ScriptName`='boss_emalon' WHERE `entry`=33993; +UPDATE `creature_template` SET `ScriptName`='npc_tempest_minion' WHERE `entry`=33998; +UPDATE `creature_template` SET `ScriptName`='npc_tempest_warder' WHERE `entry`=34015; +UPDATE `creature_template` SET `ScriptName`='boss_koralon' WHERE `entry`=35013; +UPDATE `creature_template` SET `AIName`='', ScriptName='boss_toravon' WHERE `entry`=38433; +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=38433); + +UPDATE `instance_template` SET `ScriptName`='instance_vault_of_archavon' WHERE `map`=624; +DELETE FROM `spell_script_target` WHERE `entry` IN (72034,72096); +INSERT INTO `spell_script_target` VALUES (72034,1,38433),(72096,1,38433); diff --git a/sql_mr/mr00249_scriptdev2_Quest_Script_stuff.sql b/sql_mr/mr00249_scriptdev2_Quest_Script_stuff.sql new file mode 100644 index 0000000..2ccb908 --- /dev/null +++ b/sql_mr/mr00249_scriptdev2_Quest_Script_stuff.sql @@ -0,0 +1,103 @@ +-- ------------------------------------ +-- Quest :: 12644, Quest :: 12645 texts +-- ------------------------------------ + +DELETE FROM script_texts WHERE entry BETWEEN -1999791 AND -1999783; +INSERT INTO script_texts VALUES +('-1999791','Aye, I\'ll try it.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','423','Hemet Nesingwary - Taste Test (1)'), +('-1999790','That\'s exactly what I needed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','0','Hemet Nesingwary - Taste Test (2)'), +('-1999789','It\'s got my vote! That\'ll put hair on your chest like nothing else will.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','0','Hemet Nesingwary - Taste Test (3)'), +('-1999788','I\'m always up for something of Grimbooze\'s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','423','Hadrius Harlowe - Taste Test (1)'), +('-1999787','Well, so far, it tastes like something my wife would drink...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','0','Hadrius Harlowe - Taste Test (2)'), +('-1999786','Now, there\'s the kick I\'ve come to expect from Grimbooze\'s drinks! I like it!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','0','Hadrius Harlowe - Taste Test (3)'), +('-1999785','Sure!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','423','Tamara Wobblesprocket - Taste Test (1)'), +('-1999784','Oh my...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','0','Tamara Wobblesprocket - Taste Test (2)'), +('-1999783','Tastes like I\'m drinking... engine degreaser!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','0','Tamara Wobblesprocket - Taste Test (3)'); + +DELETE FROM script_texts WHERE entry BETWEEN -1999792 AND -1999803; +INSERT into script_texts (entry,content_default,type,comment) VALUES +(-1999792,'Beginning the destillation in 5 seconds',0,'SAY_EVENT_STARTED'), +(-1999793,'Add bannanas',0,'SAY_ADD_BANNANAS'), +(-1999794,'Put a papaya in the still',0,'SAY_ADD_PAPAYA'), +(-1999795,'Good job! Keep your eyes open now',0,'SAY_GOOD_JOB_1'), +(-1999796,'The still needs heat! Light the brazier!',0,'SAY_BRAZIER'), +(-1999797,'Well done, be ready for anything!',0,'SAY_GOOD_JOB_2'), +(-1999798,'Pressuer\'s too high! Open the pressure valve!',0,'SAY_OPEN_VALVE'), +(-1999799,'That\'ll do. Never know what it\'ll need next ...',0,'SAY_GOOD_JOB_3'), +(-1999800,'Nicely handled! Stay on your toes',0,'SAY_GOOD_JOB_4'), +(-1999801,'We\'ve done it! Come get the cask',0,'SAY_EVENT_END'), +(-1999802,'Add orange, quickly !',0,'SAY_ADD_ORANGE'), +(-1999803,'You failed! You will have to begin new destillation process if you still want cask',0,'SAY_FAIL'); + +-- ----------- +-- Quest 11466 +-- ----------- + +DELETE FROM script_texts WHERE entry BETWEEN -1999818 AND -1999812; +INSERT INTO script_texts (`entry`,`content_default`,`type`,`comment`) VALUES +(-1999818,'Keep quiet, will you? If anyone catches on, we\'re both dead.',4,'Olga (0)'), +(-1999817,'All right, fellas! Who ordered the spiced rum? Was it you, Jackie boy?',0,'Olga (1)'), +(-1999816,'Sure thing, love. Put it on Harry\'s tab, will you? He owes me a drink!',0,'Jack Adams (2)'), +(-1999815,'It\'s ok sweetheart. This one is on the house',0,'Olga (3)'), +(-1999814,'Free rum? Why... that\'s me favourite kind!',0,'Jack Adams (4)'), +(-1999813,'Sweet Neptulon! That was... one drink... too many!',0,'Jack Adams (5)'), +(-1999812,'What are you lot looking at? Pour me another drink!',0,'Jack Adams (6)'); + +-- ----------------- +-- Quest texts 14107 +-- ----------------- + +DELETE FROM script_texts WHERE entry BETWEEN -1999819 AND -1999823; +INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES +(-1999819,'At last... now I can rest.',0,0,0,0,'hero spirit SAY_BLESS_1'), +(-1999820,'I\'m so tired. Just let me rest for a moment.',0,0,0,0,'hero spirit SAY_BLESS_2'), +(-1999821,'I can\'t hear the screams anymore. Is this the end?',0,0,0,0,'hero spirit SAY_BLESS_3'), +(-1999822,'My nightmare, is it finally over?',0,0,0,0,'hero spirit SAY_BLESS_4'), +(-1999823,'It was awful... I dreamt I was fighting against my friends.',0,0,0,0,'hero spirit SAY_BLESS_5'); + +-- ------- +-- Quests 13665, 13745, 13750, 13756, 13761, 13767, 13772, 13777, 13782, 13787 +-- ------ +DELETE FROM script_texts WHERE entry = -1999824; +INSERT INTO script_texts (`entry`,`content_default`,`comment`) values +(-1999824,'I have been defeated. Good fight!',''); + + +-- --------- +-- Quest 13663 +-- --------- + +DELETE FROM `script_waypoint` WHERE `entry` = 33519; +INSERT INTO `script_waypoint` (`entry`,`pointid`,`location_x`, +`location_y`,`location_z`,`waittime`,`point_comment`) values +(33519, 0, 8524.63, 578.345, 552.524, 0, ''), +(33519, 1, 8455.89, 694.577, 547.292, 0, ''), +(33519, 2, 8397.99, 748.036, 547.293, 0, ''), +(33519, 3, 8373.84, 797.464, 547.91, 0, ''), +(33519, 4, 8375.42, 858.007, 547.996, 0, ''), +(33519, 5, 8391.85, 867.635, 547.556, 0, ''), +(33519, 6, 8461.66, 871.668, 547.293, 0, ''), +(33519, 7, 8472.43, 881.281, 547.294, 0, ''), +(33519, 8, 8478.89, 1017.11, 547.293, 0, ''), +(33519, 9, 8525.79, 1032.95, 547.293, 0, ''), +(33519, 10, 8537.57, 1076.91, 554.394, 0, ''), +(33519, 11, 8544.016, 1093.445, 562.226, 0, ''), +(33519, 12, 8576.88, 1211.09, 562.226, 0, ''), +(33519, 13, 9094.39, 2031.69, 97.599, 0, ''), +(33519, 14, 9086.074, 2058.25, 82.827, 0, ''), +(33519, 15, 9066.61, 2114.63, 67.966, 0, ''), +(33519, 16, 9052.65, 2115.8, 57.863, 3000, ''); + +-- ------------- +-- Quest 11560 - +-- ------------- + +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1999824 AND -1999831; +INSERT INTO `script_texts` (`entry`,`content_default`,`comment`) VALUES +(-1999825, "Eww.. $r!", "tadpole SAY_RACE"), +(-1999826, "No go with stranger!", "tadpole SAY_2"), +(-1999827, "Close!", "tadpole SAY_3"), +(-1999828, "Me go home?", "tadpole SAY_4"), +(-1999829, "Play!", "tadpole SAY_5"), +(-1999830, "Alurglgl!", "tadpole SAY_6"), +(-1999831, "da-da?", "tadpole SAY_7"); \ No newline at end of file diff --git a/sql_mr/mr00249_scriptdev2_eye_of_eternity.sql b/sql_mr/mr00249_scriptdev2_eye_of_eternity.sql new file mode 100644 index 0000000..689cf2d --- /dev/null +++ b/sql_mr/mr00249_scriptdev2_eye_of_eternity.sql @@ -0,0 +1,39 @@ +-- Eye of Eternity +-- russian translation from lanc +DELETE FROM `script_texts` where `entry` between -1616035 and -1616000; +REPLACE INTO `script_texts` (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8, sound, type, language, emote, comment) VALUES +(-1616000, 'Lesser beings, intruding here! A shame that your excess courage does not compensate for your stupidity!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Низшие создания, вторгшиеся сюда! Как жаль что ваш ум не так силен как ваша храбрость!', '14512', '1', '0', '457', NULL), +(-1616001, 'None but the blue dragonflight are welcome here! Perhaps this is the work of Alexstrasza? Well then, she has sent you to your deaths.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Никому кроме синих драконов не позволено находится здесь! Возможно, это происки Алекстразы? Что ж, значит она послала вас на верную смерть.', '14513', '1', '0', '457', NULL), +(-1616002, 'What could you hope to accomplish, to storm brazenly into my domain? To employ MAGIC? Against ME? ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'А что вы планировали, беспардонно ворваться в мои владения? Использовать МАГИЮ? Против МЕНЯ?', '14514', '1', '0', '457', NULL), +(-1616003, 'I am without limits here... the rules of your cherished reality do not apply... In this realm, I am in control...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Здесь меня ничто не ограничивает... Законы вашей драгоценной реальности тут неприменимы... В этом мире Я главный...', '14515', '1', '0', '457', NULL), +(-1616004, 'I give you one chance. Pledge fealty to me, and perhaps I won''t slaughter you for your insolence!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я дам вам шанс. Присягните на верность мне и, может быть, я не уничтожу вас за вашу наглость!', '14516', '1', '0', '457', NULL), +(-1616005, 'My patience has reached its limit, I WILL BE RID OF YOU!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Мое терпение лопнуло, ПОРА ОТ ВАС ИЗБАВИТЬСЯ!', '14517', '1', '0', '1', NULL), +(-1616006, 'Watch helplessly as your hopes are swept away...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Смотрите беспомощно, как утекают ваши надежды...', '14525', '1', '0', '1', NULL), +(-1616007, 'I AM UNSTOPPABLE!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'МЕНЯ НЕ ОСТАНОВИТЬ!', '14533', '1', '0', '1', NULL), +(-1616008, 'Your stupidity has finally caught up to you!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ну вот ты и встретился со своей глупостью!', '14519', '1', '0', '1', NULL), +(-1616009, 'More artifacts to confiscate...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Еще один экспонат для моей коллекции...', '14520', '1', '0', '1', NULL), +(-1616010, ' How very... naive...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Мха! Ха! Ха! Ха!Ха! Ха! Так... наивно...', '14521', '1', '0', '1', NULL), +(-1616012, 'I had hoped to end your lives quickly, but you have proven more...resilient then I had anticipated. Nonetheless, your efforts are in vain, it is you reckless, careless mortals who are to blame for this war! I do what I must...And if it means your...extinction...THEN SO BE IT!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я надеялся быстро с вами покончить, но вы оказались более... живучими, чем я ожидал. Тем не менее, все ваши попытки тщетны, это вы безрассудные, беспечные, смертные, вы виноваты в этой войне! Я сделаю то что я должен сделать... Если это потребует вашего полного уничтожения... ДА БУДЕТ ТАК!', '14522', '1', '0', '1', NULL), +(-1616013, 'Few have experienced the pain I will now inflict upon you!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Немногие испытывали боль, подобной той, что я сейчас причиню вам!', '14523', '1', '0', '1', NULL), +(-1616014, 'YOU WILL NOT SUCCEED WHILE I DRAW BREATH!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '14518', '1', '0', '1', NULL), +(-1616015, 'Malygos takes a deep breath...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '0', '3', '0', '1', NULL), +(-1616016, 'I will teach you IGNORANT children just how little you know of magic...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я покажу вам, МАЛОГРАМОТНЫМ детям, как мало вы знаете о магии...', '14524', '1', '0', '1', NULL), +(-1616017, 'ENOUGH! If you intend to reclaim Azeroth magic, then you shall have it...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Хватит! Раз вы хотите магии Азерота, то вы ее получите...', '14529', '1', '0', '1', NULL), +(-1616018, 'Now your benefactors make their appearance...But they are too late. The powers contained here are sufficient to destroy the world ten times over! What do you think they will do to you?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Вот и ваши благодетели появились... Но слишком поздно. Сил находящихся здесь хватит чтобы разрушить этот мир десять раз подряд! А что вы думаете они сделают с вами?', '14530', '1', '0', '1', NULL), +(-1616019, 'SUBMIT!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'СДАВАЙТЕСЬ!', '14531', '1', '0', '1', NULL), +(-1616020, 'Your energy will be put to good use!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Твою энергию используют по назначению!', '14526', '1', '0', '1', NULL), +(-1616021, 'I AM THE SPELL-WEAVER! My power is INFINITE!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Я ХРАНИТЕЛЬ МАГИИ! Моя сила БЕЗГРАНИЧНА!', '14527', '1', '0', '1', NULL), +(-1616022, 'Your spirit will linger here forever!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Твой дух будет вечно скитаться здесь!', '14528', '1', '0', '1', NULL), +(-1616023, 'Alexstrasza! Another of your brood falls!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Алекстраза! Еще один из твоих пал!', '14534', '1', '0', '1', NULL), +(-1616024, 'Little more then gnats!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Чуть больше комара!', '14535', '1', '0', '1', NULL), +(-1616025, 'Your red allies will share your fate...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Твоих красных союзников ждет таже участь...', '14536', '1', '0', '1', NULL), +(-1616026, 'The powers at work here exceed anything you could possibly imagine!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Вам не хватит воображения, чтобы оценить мощь сил, задействованных здесь!', '14532', '1', '0', '1', NULL), +(-1616027, 'Still standing? Not for long...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Еще на ногах? Ненадолго...', '14537', '1', '0', '1', NULL), +(-1616028, 'Your cause is lost!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Вы проиграли!', '14538', '1', '0', '1', NULL), +(-1616029, 'Your fragile mind will be shattered!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Ваш хрупкий разум будет сокрушен!', '14539', '1', '0', '1', NULL), +(-1616030, 'UNTHINKABLE! The mortals will destroy... e-everything... my sister... what have you-', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'НЕВЕРОЯТНО! Смертные разрушат... Все... Сестра моя... Что ты...', '14540', '1', '0', '1', NULL), +(-1616031, 'I did what I had to, brother. You gave me no alternative.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '14406', '1', '0', '1', NULL), +(-1616032, 'And so ends the Nexus War.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Война Нексуса окончена.', '14407', '1', '0', '1', NULL), +(-1616033, 'This resolution pains me deeply, but the destruction, the monumental loss of life had to end. Regardless of Malygos recent transgressions, I will mourn his loss. He was once a guardian, a protector. This day, one of the world mightiest has fallen.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Итоги войны черезмерно печалят меня, но разрушения и колоссальные потери жизней должны были быть остановлены. Несмотря на последние прегрешения Малигоса, Я буду оплакивать его. Когда-то он был заступником, защитником. Сегодня пал один из сильнейших этого мира!', '14408', '1', '0', '1', NULL), +(-1616034, 'The red dragonflight will take on the burden of mending the devastation wrought on Azeroth. Return home to your people and rest. Tomorrow will bring you new challenges, and you must be ready to face them. Life...goes on.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Красные драконы возьмут на себя бремя заживления ран Азерота. Возвращайтесь домой к своим людям и отдохните. Будущее несет вам новые испытания, и вы должны быть готовы к ним. Жизнь... Продолжается.', '14409', '1', '0', '1', NULL), +(-1616035, 'A Power Spark forms from a nearby rift!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '0', '3', '0', '1', NULL); diff --git a/sql_mr/mr00249_scriptdev2_icecrown_down.sql b/sql_mr/mr00249_scriptdev2_icecrown_down.sql new file mode 100644 index 0000000..6616714 --- /dev/null +++ b/sql_mr/mr00249_scriptdev2_icecrown_down.sql @@ -0,0 +1,372 @@ +-- Pit of saron +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1658069 AND -1658001; +INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES +-- Garfrost +(-1658001,'Tiny creatures under feet, you bring Garfrost something good to eat!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16912,1,0,0,'garfrost SAY_AGGRO'), +(-1658002,'Will save for snack. For later.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16913,1,0,0,'garfrost SAY_SLAY_1'), +(-1658003,'That one maybe not so good to eat now. Stupid Garfrost! BAD! BAD!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16914,1,0,0,'garfrost SAY_SLAY_2'), +(-1658004,'Garfrost hope giant underpants clean. Save boss great shame. For later.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16915,1,0,0,'garfrost SAY_DEATH'), +(-1658005,'Axe too weak. Garfrost make better and CRUSH YOU!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16916,1,0,0,'garfrost SAY_PHASE2'), +(-1658006,'Garfrost tired of puny mortals. Now your bones will freeze!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16917,1,0,0,'garfrost SAY_PHASE3'), +(-1658007,'Another shall take his place. You waste your time.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16752,1,0,0,'Tyrannus SAY_TYRANNUS_DEATH'), + +-- Krick +(-1658010,'Our work must not be interrupted! Ick! Take care of them!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16926,1,0,0,'Krick SAY_AGGRO'), +(-1658011,'Ooh...We could probably use these parts!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16927,1,0,0,'Krick SAY_SLAY_1'), +(-1658012,'Arms and legs are in short supply...Thanks for your contribution!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16928,1,0,0,'Krick SAY_SLAY_2'), +(-1658013,'Enough moving around! Hold still while I blow them all up!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16929,1,0,0,'Krick SAY_BARRAGE_1'), +(-1658014,'Krick begins rapidly conjuring explosive mines!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Krick SAY_BARRAGE_2'), +(-1658015,'Quickly! Poison them all while they''re still close!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16930,1,0,0,'Krick SAY_POISON_NOVA'), +(-1658016,'No! That one! That one! Get that one!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16931,1,0,0,'Krick SAY_CHASE_1'), +(-1658017,'I''ve changed my mind...go get that one instead!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16932,1,0,0,'Krick SAY_CHASE_2'), +(-1658018,'What are you attacking him for? The dangerous one is over there,fool!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16933,1,0,0,'Krick SAY_CHASE_3'), + +-- Ick +(-1658020,'Ick begins to unleash a toxic poison cloud!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Ick SAY_ICK_POISON_NOVA'), +(-1658021,'Ick is chasing you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Ick SAY_ICK_CHASE_1'), + +-- Krick OUTRO +(-1658030,'Wait! Stop! Don''t kill me, please! I''ll tell you everything!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16934,1,0,0,'Krick SAY_KRICK_OUTRO_1'), +(-1658031,'I''m not so naive as to believe your appeal for clemency, but I will listen.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16611,1,0,0,'Jaina SAY_JAINA_OUTRO_2'), +(-1658032,'Why should the Banshee Queen spare your miserable life?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,17033,1,0,0,'Sylvanas SAY_SYLVANAS_OUTRO_2'), +(-1658033,'What you seek is in the master''s lair, but you must destroy Tyrannus to gain entry. Within the Halls of Reflection you will find Frostmourne. It... it holds the truth.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16935,1,0,0,'Krick SAY_KRICK_OUTRO_3'), +(-1658034,'Frostmourne lies unguarded? Impossible!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16612,1,0,0,'Jaina SAY_JAINA_OUTRO_4'), +(-1658035,'Frostmourne? The Lich King is never without his blade! If you are lying to me...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,17034,1,0,0,'Sylvanas SAY_SYLVANAS_OUTRO_4'), +(-1658036,'I swear it is true! Please, don''t kill me!!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16936,1,0,0,'Krick SAY_KRICK_OUTRO_5'), +(-1658037,'Worthless gnat! Death is all that awaits you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16753,1,0,0,'Tyrannus SAY_TYRANNUS_OUTRO_7'), +(-1658038,'Urg... no!!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16937,1,0,0,'Krick SAY_KRICK_OUTRO_8'), +(-1658039,'Do not think that I shall permit you entry into my master''s sanctum so easily. Pursue me if you dare.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16754,1,0,0,'Tyrannus SAY_TYRANNUS_OUTRO_9'), +(-1658040,'What a cruel end. Come, heroes. We must see if the gnome''s story is true. If we can separate Arthas from Frostmourne, we might have a chance at stopping him.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16613,1,0,0,'Jaina SAY_JAINA_OUTRO_10'), +(-1658041,'A fitting end for a traitor. Come, we must free the slaves and see what is within the Lich King''s chamber for ourselves.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,17035,1,0,0,'Sylvanas SAY_SYLVANAS_OUTRO_10'), + +-- Tyrannus +(-1658050,'Your pursuit shall be in vain, adventurers, for the Lich King has placed an army of undead at my command! Behold!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16755,1,0,0,'Tyrannus SAY_AMBUSH_1'), +(-1658051,'Persistent whelps! You will not reach the entrance of my lord''s lair! Soldiers, destroy them!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16756,1,0,0,'Tyrannus SAY_AMBUSH_2'), +(-1658052,'Rimefang! Trap them within the tunnel! Bury them alive!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16757,1,0,0,'Tyrannus SAY_GAUNTLET_START'), +(-1658053,'Alas, brave, brave adventurers, your meddling has reached its end. Do you hear the clatter of bone and steel coming up the tunnel behind you? That is the sound of your impending demise.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16758,1,0,0,'Tyrannus SAY_INTRO_1'), +(-1658054,'Ha, such an amusing gesture from the rabble. When I have finished with you, my master''s blade will feast upon your souls. Die!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16759,1,0,0,'Tyrannus SAY_INTRO_2'), + +(-1658055,'I shall not fail The Lich King! Come and meet your end!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16760,1,0,0,'Tyrannus SAY_AGGRO'), +(-1658056,'Such a shameful display... You are better off dead!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16761,1,0,0,'Tyrannus SAY_SLAY_1'), +(-1658057,'Perhaps you should have stayed in the mountains!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16762,1,0,0,'Tyrannus SAY_SLAY_2'), +(-1658058,'Impossible! Rimefang... Warn...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16763,1,0,0,'Tyrannus SAY_DEATH'), +(-1658059,'Rimefang, destroy this fool!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16764,1,0,0,'Tyrannus SAY_MARK_RIMEFANG_1'), +(-1658060,'The frostwyrm Rimefang gazes at $N and readies an icy attack!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Tyrannus SAY_MARK_RIMEFANG_2'), +(-1658061,'Power... overwhelming!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16765,1,0,0,'Tyrannus SAY_DARK_MIGHT_1'), +(-1658062,'Scourgelord Tyrannus roars and swells with dark might!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Tyrannus SAY_DARK_MIGHT_2'), + +(-1658063,'Brave champions, we owe you our lives, our freedom... Though it be a tiny gesture in the face of this enormous debt, I pledge that from this day forth, all will know of your deeds, and the blazing path of light you cut through the shadow of this dark citadel.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'Gorkun SAY_GORKUN_OUTRO_1'), +(-1658064,'This day will stand as a testament not only to your valor, but to the fact that no foe, not even the Lich King himself, can stand when Alliance and Horde set aside their differences and ---',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'Gorkun SAY_GORKUN_OUTRO_2'), +(-1658065,'Heroes, to me!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16614,1,0,0,'Jaina SAY_JAYNA_OUTRO_3'), +(-1658066,'Take cover behind me! Quickly!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,17037,1,0,0,'Sylvanas SAY_SYLVANAS_OUTRO_3'), +(-1658067,'The Frost Queen is gone. We must keep moving - our objective is near.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16615,0,0,0,'Jaina SAY_JAYNA_OUTRO_4'), +(-1658068,'I thought he''d never shut up. At last, Sindragosa silenced that long-winded fool. To the Halls of Reflection, champions! Our objective is near... I can sense it.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,17036,0,0,0,'Sylvanas SAY_SYLVANAS_OUTRO_4'), +(-1658069,'I... I could not save them... Damn you, Arthas! DAMN YOU!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16616,0,0,0,'Jaina SAY_JAYNA_OUTRO_5'); + +-- Forge of souls +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1632055 AND -1632001; +INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES +-- Bronjham +(-1632001,'Finally...a captive audience!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Наконец то! Гости пожаловали!',16595,6,0,0,'Bronjham SAY_AGGRO'), +(-1632002,'Fodder for the engine!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Скормлю тебя машине!',16596,6,0,0,'Bronjham SAY_SLAY_1'), +(-1632003,'Another soul to strengthen the host!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Еще одна душа обогатит вместилище!',16597,6,0,0,'Bronjham SAY_SLAY_2'), +(-1632004,'Oooooo...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Аааааааааааа...',16598,6,0,0,'Bronjham SAY_DEATH'), +(-1632005,'The vortex of the harvested calls to you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Вихрь погубленных душ, взываю к вам!',16599,3,0,0,'Bronjham SAY_SOUL_STORM'), +(-1632006,'I will sever the soul from your body!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Я вырву душу из твоего тела!',16600,6,0,0,'Bronjham SAY_CORRUPT_SOUL'), + +-- Devourer of Souls +(-1632010,'You dare look upon the host of souls? I SHALL DEVOUR YOU WHOLE!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Вы осмелились взглянуть на вместилище душ! Я сожру вас заживо!',16884,1,0,0,'Devoureur SAY_FACE_ANGER_AGGRO'), +(-1632011,'You dare look upon the host of souls? I SHALL DEVOUR YOU WHOLE!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16890,1,0,0,'Devoureur SAY_FACE_DESIRE_AGGRO'), +(-1632012,'Damnation!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Проклинаю тебя!',16885,1,0,0,'Devoureur SAY_FACE_ANGER_SLAY_1'), +(-1632013,'Damnation!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16896,1,0,0,'Devoureur SAY_FACE_SORROW_SLAY_1'), +(-1632014,'Damnation!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16891,1,0,0,'Devoureur SAY_FACE_DESIRE_SLAY_1'), +(-1632015,'Doomed for eternity!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Обрекаю тебя на вечные муки!',16886,1,0,0,'Devoureur SAY_FACE_ANGER_SLAY_2'), +(-1632016,'Doomed for eternity!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16897,1,0,0,'Devoureur SAY_FACE_SORROW_SLAY_2'), +(-1632017,'Doomed for eternity!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16892,1,0,0,'Devoureur SAY_FACE_DESIRE_SLAY_2'), +(-1632018,'The swell of souls will not be abated! You only delay the inevitable!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Вместилише душ не ослабнет! Вы лишь пытаетесь отсрочить неизбежное.',16887,1,0,0,'Devoureur SAY_FACE_ANGER_DEATH'), +(-1632019,'The swell of souls will not be abated! You only delay the inevitable!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16898,1,0,0,'Devoureur SAY_FACE_SORROW_DEATH'), +(-1632020,'The swell of souls will not be abated! You only delay the inevitable!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16893,1,0,0,'Devoureur SAY_FACE_DESIRE_DEATH'), +(-1632021,'Devourer of Souls begins to cast Mirrored Soul!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Devoureur EMOTE_MIRRORED_SOUL'), +(-1632022,'Devourer of Souls begins to Unleash Souls!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Devoureur EMOTE_UNLEASH_SOUL'), +(-1632023,'SUFFERING! ANGUISH! CHAOS! RISE AND FEED!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Страдание, мучение, хаос! Восстаньте и пируйте!',16888,1,0,0,'Devoureur SAY_FACE_ANGER_UNLEASH_SOUL'), +(-1632024,'SUFFERING! ANGUISH! CHAOS! RISE AND FEED!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16899,1,0,0,'Devoureur SAY_FACE_SORROW_UNLEASH_SOUL'), +(-1632025,'SUFFERING! ANGUISH! CHAOS! RISE AND FEED!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16894,1,0,0,'Devoureur SAY_FACE_DESIRE_UNLEASH_SOUL'), +(-1632026,'Devourer of Souls begins to cast Wailing Souls!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'Devoureur EMOTE_WAILING_SOUL'), +(-1632027,'Stare into the abyss, and see your end!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Вглядитесь в бездну, и узрите свою смерть!',16889,1,0,0,'Devoureur SAY_FACE_ANGER_WAILING_SOUL'), +(-1632028,'Stare into the abyss, and see your end!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,16895,1,0,0,'Devoureur SAY_FACE_DESIRE_WAILING_SOUL'), +(-1632029,'Excellent work, champions! We shall set up our base camp in these chambers. My mages will get the Scourge transport device working shortly. Step inside it when you''re ready for your next mission. I will meet you on the other side.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Вы справились. Мы разобьем лагерь в этих покоях. Вскоре мои маги заставят портал плети работать! Войдите в него, когда будете готовы к следующему заданию. Я присоеденусь к вам чуть позже.',16625,1,0,0,'Jaina SAY_JAINA_OUTRO'), +(-1632030,'Excellent work, champions! We shall set up our base camp in these chambers. My mages will get the Scourge transport device working shortly. Step inside when you are ready for your next mission. I will meet you on the other side.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Превосходно! Мы разобьем лагерь в этих покоях! Вскоре мои маги заставят портал плети работать, войдите в него когда будете готовы к следующему заданию! Я присоединюсь к вам позже.',17044,1,0,0,'Sylvanas SAY_SYLVANAS_OUTRO'), + +-- Jaina +(-1632040,'Thank the light for seeing you here safely. We have much work to do if we are to defeat the Lich King and put an end to the Scourge.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Слава свету! Вы целы и невредимы нам предстоит многое сделать, если мы хотим покончить с королем личем и плетью.',16617,0,0,0,'Jaina SAY_INTRO_1'), +(-1632041,'Our allies within the Argent Crusade and the Knights of the Ebon Blade have broken through the front gate of Icecrown and are attempting to establish a foothold within the Citadel.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Серебряный Авангард и рыцари черного клинка прорвались через главные ворота и пытаются укрепить свои позиции в цитадели!',16618,0,0,0,'Jaina SAY_INTRO_2'), +(-1632042,'Their success hinges upon what we discover in these cursed halls. Although our mission is a wrought with peril, we must persevere!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Их успех зависит от того что мы найдем этих ужасных залах. Пусть наша миссия опасна, но мы должны выстоять.',16619,0,0,0,'Jaina SAY_INTRO_3'), +(-1632043,'With the attention of the Lich King drawn toward the front gate, we will be working our way through the side in search of information that will enable us to defeat the Scourge - once and for all.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Пока король лич отвлекся на главные ворота, мы проникнем внутрь другим путем и постараемся узнать как можно покончить с плетью раз и навсегда.',16620,0,0,0,'Jaina SAY_INTRO_4'), +(-1632044,'King Varian''s SI7 agents have gathered information about a private sanctum of the Lich King''s deep within a place called the Halls of Reflection.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Разведчики SI7 отправленные Варианом сообщают что покои короля находятся в глубине дворца! Это место называется Залами отражений.',16621,0,0,0,'Jaina SAY_INTRO_5'), +(-1632045,'We will carve a path through this wretched place and find a way to enter the Halls of Reflection. I sense powerful magic hidden away within those walls... Magic that could be the key to destroy the Scourge.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Мы проложим себе путь сквозь это проклятое место и найдем вход в залы отражений. Я чувствую что в них сокрыта могушественная магия, которая поможет нам сокрушить плеть!',16622,0,0,0,'Jaina SAY_INTRO_6'), +(-1632046,'Your first mission is to destroy the machines of death within this malevolent engine of souls, and clear a path for our soldiers.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Ваша первая задача разрушить машины смерти в этом механизме душ, это откроет путь нашим солдатам.',16623,0,0,0,'Jaina SAY_INTRO_7'), +(-1632047,'Make haste, champions! I will prepare the troops to fall in behind you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Спешите герои, я прикажу солдатам следовать за вами!',16624,0,0,0,'Jaina SAY_INTRO_8'), + +-- Sylvanas +(-1632050,'The Argent Crusade and the Knights of the Ebon Blade have assaulted the gates of Icecrown Citadel and are preparing for a massive attack upon the Scourge. Our missition is a bit more subtle, but equally as important.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Серебряный Авангард и рыцари черного клинка штурмуют ворота цитадели ледяной короны! И готовятся нанести решаюший удар! Мы будем действовать незаметно, но не менее эффективно.',17038,0,0,0,'Sylvanas SAY_INTRO_1'), +(-1632051,'With the attention of the Lich King turned towards the front gate, we''ll be working our way through the side in search of information that will enable us to defeat the Lich King - once and for all.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Пока Король-Лич отвлекся мы проникнем внутрь другим путем и постараемся понять как можно покончить с ним раз и навсегда.',17039,0,0,0,'Sylvanas SAY_INTRO_2'), +(-1632052,'Our scouts have reported that the Lich King has a private chamber, outside of the Frozen Throne, deep within a place called the Halls of Reflection. That is our target, champions.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Наши разведчики сообщили что покои короля лича находятся в глубине дворца, недалеко от ледяного трона. Это место называется залами отражений, туда и лежит наш путь.',17040,0,0,0,'Sylvanas SAY_INTRO_3'), +(-1632053,'We will cut a swath of destruction through this cursed place and find a way to enter the Halls of Reflection. If there is anything of value to be found here, it will be found in the Halls.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Мы проложим себе путь сквозь это проклетое место и найдем и найдем вход в залы отражений! Если в цитадели и есть что то достойное внимания оно ждет нас именно там.',17041,0,0,0,'Sylvanas SAY_INTRO_4'), +(-1632054,'Your first mission is to destroy the machines of death within this wretched engine of souls, and clear a path for our soldiers.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Вашей первой задачей будет разрушение машин смерти в этом гнусном механизме душ, это откроет путь к нашим солдатам',17042,0,0,0,'Sylvanas SAY_INTRO_5'), +(-1632055,'The Dark Lady watches over you. Make haste!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Темная госпожа будет наблюдать за вами, спешите!',17043,0,0,0,'Sylvanas SAY_INTRO_6'); + +-- Halls of reflection (from MaxXx2021 aka Mioka) +DELETE FROM `script_texts` WHERE `entry` BETWEEN -1668523 AND -1668433; +INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES +-- SCENE - Hall Of Reflection (Intro) - PreUther +(-1668433, 'The chill of this place freezes the marrow of my bones!', 'Как же тут холодно... Кровь стынет в жилах.', 16631,0,0,1, '67234'), +(-1668434, 'I... I don\'t believe it! Frostmourne stands before us, unguarded! Just as the Gnome claimed. Come, heroes!', 'Я... Я не верю своим глазам. Ледяная скорбь перед нами без всякой охраны! Как и говорил гном. Вперед герои!', 17049,0,0,1, '67234'), +(-1668435, 'What is that? Up ahead! Could it be ... ? Heroes at my side!', 'Что это там впереди? Неужели? Скорее герои!', 16632,1,0,1, '67234'), +(-1668436, 'Frostmourne ... The blade that destroyed our kingdom ...', 'Ледяная Скорбь, клинок, разрушивший наше королевство...', 16633,1,0,1, '67234'), +(-1668437, 'Standing this close to the blade that ended my life... The pain... It is renewed.', 'Боль снова захлестывает меня, когда я так близко вижу меч, отнявший у меня жизнь.', 17050,0,0,1, '67234'), +(-1668438, 'Stand back! Touch that blade and your soul will be scarred for all eternity! I must attempt to commune with the spirits locked away within Frostmourne. Give me space, back up please!', 'Отойдите. Тот кто коснется этого клинка обречет себя на вечные муки. Я попытаюсь заговорить с душами заключенными в Ледяной скорби. Расступитесь... Чуть назад! Прошу.', 16634,1,0,1, '67234'), +(-1668439, 'I dare not touch it. Stand back! Stand back! As I attempt to commune with the blade. Perhaps our salvation lies within.', 'Я не смею его коснуться. Назад! Отступите! Я попробую установить связь с мечом. Возможно, спасение находится внутри!', 17051,1,0,1, '67234'), +-- SCENE - Hall Of Reflection (Intro) - UtherDialog +(-1668440, 'Jaina! Could it truly be you?', 'Джайна? Неужели это ты?', 16666,0,0,1, '67234'), +(-1668441, 'Careful, girl. I\'ve heard talk of that cursed blade saving us before. Look around you and see what has been born of Frostmourne.', 'Осторожней девочка! Однажды мне уже говорили, что этот проклятый меч может нас спасти. Посмотри вокруг, и ты увидишь, что из этого вышло.', 16659,0,0,1, '67234'), +(-1668442, 'Uther! Dear Uther! I... I\'m so sorry.', 'Утер? Милый Утер! Мне... Мне так жаль.', 16635,0,0,1, '67234'), +(-1668443, 'Uther...Uther the Lightbringer. How...', 'Утер? Утер Светоносный? Как...', 17052,0,0,1, '67234'), +(-1668444, 'Jaina, you haven\'t much time. The Lich King sees what the sword sees. He will be here shortly.', 'Джайна, у вас мало времени. Король - Лич видит все что видит Ледяная Скорбь. Вскоре он будет здесь.', 16667,0,0,1, '67234'), +(-1668445, 'You haven\'t much time. The Lich King sees what the sword sees. He will be here shortly.', 'У вас мало времени. Король - Лич видит все что видит Ледяная Скорбь. Вскоре он будет здесь.', 16660,0,0,1, '67234'), +(-1668446, 'Arthas is here? Maybe I...', 'Артас здесь? Может я...', 16636,0,0,1, '67234'), +(-1668447, 'The Lich King is here? Then my destiny shall be fulfilled today!', 'Король - Лич здесь? Значит моя судьба решится сегодня!', 17053,1,0,1, '67234'), +(-1668448, 'No, girl. Arthas is not here. Arthas is merely a presence within the Lich King\'s mind. A dwindling presence...', 'Нет девочка. Артаса здесь нет. Артас лишь тень, мелькающая в сознании Короля - Лича. Смутная тень.', 16668,0,0,1, '67234'), +(-1668449, 'You cannot defeat the Lich King. Not here. You would be a fool to try. He will kill those who follow you and raise them as powerful servants of the Scourge. But for you, Sylvanas, his reward for you would be worse than the last.', 'Вам не победить Короля - Лича. Покрайней мере не здесь. Глупо и пытаться. Он убьет твоих соратников и воскресит их как воинов плети. Но что до тебя Сильвана, он готовит тебе участь еще страшнее, чем в прошлый раз.', 16661,0,0,1, '67234'), +(-1668450, 'But Uther, if there\'s any hope of reaching Arthas. I... I must try.', 'Но если есть малейшая надежда вернуть Артаса... Я должна попытаться!', 16637,0,0,1, '67234'), +(-1668451, 'There must be a way...', 'Должен быть способ!', 17054,0,0,1, '67234'), +(-1668452, 'Jaina, listen to me. You must destroy the Lich King. You cannot reason with him. He will kill you and your allies and raise you all as powerful soldiers of the Scourge.', 'Джайна послушай меня. Вам нужно уничтожить Короля - Лича. С ним нельзя договориться. Он убьет вас всех и превратит в могущественных воинов Плети.', 16669,0,0,1, '67234'), +(-1668453, 'Perhaps, but know this: there must always be a Lich King. Even if you were to strike down Arthas, another would have to take his place, for without the control of the Lich King, the Scourge would wash over this world like locusts, destroying all that they touched.', 'Возможно... Но знай! Король - Лич должен быть всегда. Даже если вы убьете Артаса кто то обязан будет занять его место. Лишившись правителя Плеть налетит на мир как стая саранчи и уничтожит все на своем пути.', 16662,0,0,1, '67234'), +(-1668454, 'Tell me how, Uther? How do I destroy my prince? My...', 'Но как Утер? Как мне убить моего принца, моего...', 16638,0,0,1, '67234'), +(-1668455, 'Who could bear such a burden?', 'Кому по силам такое бремя?', 17055,0,0,1, '67234'), +(-1668456, 'Snap out of it, girl. You must destroy the Lich King at the place where he merged with Ner\'zhul - atop the spire, at the Frozen Throne. It is the only way.', 'Забудь об этом девочка. Короля - Лича нужно уничтожить на том месте, где он слился с Нерзулом. На самой вершине, у Ледяного Трона!', 16670,0,0,1, '67234'), +(-1668457, 'I do not know, Banshee Queen. I suspect that the piece of Arthas that might be left inside the Lich King is all that holds the Scourge from annihilating Azeroth.', 'Не знаю, Королева Баньши... Если бы не Артас, который все еще является частью Короля - Лича, Плеть давно бы уже уничтожила Азерот.', 16663,0,0,1, '67234'), +(-1668458, 'You\'re right, Uther. Forgive me. I... I don\'t know what got a hold of me. We will deliver this information to the King and the knights that battle the Scourge within Icecrown Citadel.', 'Ты прав Утер, прости меня... Я не знаю что на меня нашло. Мы передадим твои слова Королю и рыцарям, которые сражаются с Плетью в Цитадели Ледяной Короны.', 16639,0,0,1, '67234'), +(-1668459, 'There is... something else that you should know about the Lich King. Control over the Scourge must never be lost. Even if you were to strike down the Lich King, another would have to take his place. For without the control of its master, the Scourge would run rampant across the world - destroying all living things.', 'Тебе нужно знать еще кое что о Короле - Личе. Плеть не должна выйти из под контроля. Даже если вы убьете Короля - Лича, кто-то должен будет занять его место. Без Короля Плеть налетит на мир как стая саранчи и уничтожит все живое.', 16671,0,0,1, '67234'), +(-1668460, 'Alas, the only way to defeat the Lich King is to destroy him at the place he was created.', 'Увы единственый способ одолеть Короля - Лича - это убить его там где он был порожден.', 16664,0,0,1, '67234'), +(-1668461, 'Who could bear such a burden?', 'Кому по силам такое бремя?', 16640,0,0,1, '67234'), +(-1668462, 'The Frozen Throne...', 'Ледяной Трон!', 17056,0,0,1, '67234'), +(-1668463, 'A grand sacrifice by a noble soul...', 'Великая жертва, благородной души.', 16672,0,0,1, '67234'), +(-1668464, 'I do not know, Jaina. I suspect that the piece of Arthas that might be left inside the Lich King is all that holds the Scourge from annihilating Azeroth.', 'Не знаю Джайна... мне кажется если бы не Артас, который все еще является частью Короля - Лича, Плеть давно бы уже уничтожила Азерот.', 16673,0,0,1, '67234'), +(-1668465, 'Then maybe there is still hope...', 'Но может еще есть надежда?', 16641,0,0,1, '67234'), +(-1668466, 'No, Jaina! ARRRRRRGHHHH... He... He is coming. You... You must...', 'Нет Джайна... Эээээ... Он... Он приближается... Вы... Вы должны...', 16674,1,0,1, '67234'), +(-1668467, 'Aye. ARRRRRRGHHHH... He... He is coming. You... You must...', 'Да... Эээээ... Он... Он приближается... Вы... Вы должны...', 16665,1,0,1, '67234'), +(-1668468, 'SILENCE, PALADIN!', 'Замолчи, паладин.', 17225,1,0,0, '67234'), +(-1668469, 'So you wish to commune with the dead? You shall have your wish.', 'Так ты хочешь поговорить с мертвыми? Нет ничего проще!', 17226,1,0,0, '67234'), +(-1668470, 'Falric. Marwyn. Bring their corpses to my chamber when you are through.', 'Фалрик, Марвин, когда закончите, принесите их тела в мои покои.', 17227,0,0,0, '67234'), +(-1668471, 'You won\'t deny me this, Arthas! I must know... I must find out...', 'Ты от меня не отмахнешься Артас. Я должна понять, я должна знать.', 16642,1,0,1, '67234'), +(-1668472, 'You will not escape me that easily, Arthas! I will have my vengeance!', 'Ты так просто от меня не уйдешь Артас. Я отомщу тебе!', 17057,1,0,1, '67234'), +(-1668473, '', 'Глупая девчонка! Тот кого ты ищещь давно убит! Теперь он лишь призрак, слабый отзвук в моем сознании!', 17229,1,0,0, '67234'), +(-1668474, '', 'Я не повторю прежней ошибки, Сильвана. На этот раз тебе не спастись. Ты не оправдала моего доверия и теперь тебя ждет только забвение!', 17228,1,0,0, '67234'), +(-1668475, 'As you wish, my lord.', 'Как пожелаете, мой господин!', 16717,1,0,0, '67234'), +(-1668476, 'As you wish, my lord.', 'Как пожелаете, мой господин!', 16741,1,0,0, '67234'), +-- SCENE - Hall Of Reflection (Extro) - PreEscape +(-1668477, 'Your allies have arrived, Jaina, just as you promised. You will all become powerful agents of the Scourge.', 'Твои союзники прибыли, Джайна! Как ты и обещала... Ха-ха-ха-ха... Все вы станете могучими солдатами Плети...', 17212,1,0,0, '67234'), +(-1668478, 'I will not make the same mistake again, Sylvanas. This time there will be no escape. You will all serve me in death!', 'Я не повторю прежней ошибки, Сильвана! На этот раз тебе не спастись. Вы все будите служить мне после смерти...', 17213,1,0,0, '67234'), +(-1668479, 'He is too powerful, we must leave this place at once! My magic will hold him in place for only a short time! Come quickly, heroes!', 'Он слишком силен. Мы должны выбраться от сюда как можно скорее. Моя магия задержит его ненадолго, быстрее герои...', 16644,0,0,1, '67234'), +(-1668480, 'He\'s too powerful! Heroes, quickly, come to me! We must leave this place immediately! I will do what I can do hold him in place while we flee.', 'Он слишком силен. Герои скорее, за мной. Мы должны выбраться отсюда немедленно. Я постараюсь его задержать, пока мы будем убегать.', 17058,0,0,1, '67234'), +-- SCENE - Hall Of Reflection (Extro) - Escape +(-1668481, 'Death\'s cold embrace awaits.', 'Смерть распростерла ледяные обьятия!', 17221,1,0,0, '67234'), +(-1668482, 'Rise minions, do not left them us!', 'Восстаньте прислужники, не дайте им сбежать!', 17216,1,0,0, '67234'), +(-1668483, 'Minions sees them. Bring their corpses back to me!', 'Схватите их! Принесите мне их тела!', 17222,1,0,0, '67234'), +(-1668484, 'No...', 'Надежды нет!', 17214,1,0,0, '67234'), +(-1668485, 'All is lost!', 'Смирись с судьбой.', 17215,1,0,0, '67234'), +(-1668486, 'There is no escape!', 'Бежать некуда!', 17217,1,0,0, '67234'), +(-1668487, 'I will destroy this barrier. You must hold the undead back!', 'Я разрушу эту преграду, а вы удерживайте нежить на расстоянии!', 16607,1,0,0, '67234'), +(-1668488, 'No wall can hold the Banshee Queen! Keep the undead at bay, heroes! I will tear this barrier down!', 'Никакие стены не удержат Королеву Баньши. Держите нежить на расстоянии, я сокрушу эту преграду.', 17029,1,0,0, '67234'), +(-1668489, 'Another ice wall! Keep the undead from interrupting my incantation so that I may bring this wall down!', 'Опять ледяная стена... Я разобью ее, только не дайте нежити прервать мои заклинания...', 16608,1,0,0, '67234'), +(-1668490, 'Another barrier? Stand strong, champions! I will bring the wall down!', 'Еще одна преграда. Держитесь герои! Я разрушу эту стену!', 17030,1,0,0, '67234'), +(-1668491, 'Succumb to the chill of the grave.', 'Покоритесь Леденящей смерти!', 17218,1,0,0, '67234'), +(-1668492, 'Another dead end.', 'Вы в ловушке!', 17219,1,0,0, '67234'), +(-1668493, 'How long can you fight it?', 'Как долго вы сможете сопротивляться?', 17220,1,0,0, '67234'), +(-1668494, '', 'Он с нами играет. Я покажу ему что бывает когда лед встречается со огнем!', 16609,0,0,0, '67234'), +(-1668495, 'Your barriers can\'t hold us back much longer, monster. I will shatter them all!', 'Твои преграды больше не задержат нас, чудовище. Я смету их с пути!', 16610,1,0,0, '67234'), +(-1668496, 'I grow tired of these games, Arthas! Your walls can\'t stop me!', 'Я устала от этих игр Артас. Твои стены не остановят меня!', 17031,1,0,0, '67234'), +(-1668497, 'You won\'t impede our escape, fiend. Keep the undead off me while I bring this barrier down!', 'Ты не помешаешь нам уйти, монстр. Сдерживайте нежить, а я уничтожу эту преграду.', 17032,1,0,0, '67234'), +(-1668498, 'There\'s an opening up ahead. GO NOW!', 'Я вижу выход, скорее!', 16645,1,0,0, '67234'), +(-1668499, 'We\'re almost there... Don\'t give up!', 'Мы почти выбрались, не сдавайтесь!', 16646,1,0,0, '67234'), +(-1668500, 'There\'s an opening up ahead. GO NOW!', 'Я вижу выход, скорее!', 17059,1,0,0, '67234'), +(-1668501, 'We\'re almost there! Don\'t give up!', 'Мы почти выбрались, не сдавайтесь!', 17060,1,0,0, '67234'), +(-1668502, 'It... It\'s a dead end. We have no choice but to fight. Steel yourself heroes, for this is our last stand!', 'Больше некуда бежать. Теперь нам придется сражаться. Это наша последняя битва!', 16647,1,0,0, '67234'), +(-1668503, 'BLASTED DEAD END! So this is how it ends. Prepare yourselves, heroes, for today we make our final stand!', 'Проклятый тупик, значит все закончится здесь. Готовьтесь герои, это наша последняя битва.', 17061,1,0,0, '67234'), +(-1668504, 'Nowhere to run! You\'re mine now...', 'Ха-ха-ха... Бежать некуда. Теперь вы мои!', 17223,1,0,0, '67234'), +(-1668505, 'Soldiers of Lordaeron, rise to meet your master\'s call!', 'Солдаты Лордерона, восстаньте по зову Господина!', 16714,1,0,0, '67234'), +(-1668506, 'The master surveyed his kingdom and found it... lacking. His judgement was swift and without mercy. Death to all!', 'Господин осмотрел свое королевство и признал его негодным! Его суд был быстрым и суровым - предать всех смерти!', 16738,1,0,0, '67234'), + +-- Falric +(-1668507, 'Men, women and children... None were spared the master\'s wrath. Your death will be no different.', 'Мужчины, Женщины и дети... Никто не избежал гнева господина. Вы разделите их участь!', 16710,1,0,0, '67234'), +(-1668508, 'Marwyn, finish them...', 'Марвин... Добей их...', 16713,1,0,0, '67234'), +(-1668509, 'Sniveling maggot!', 'Сопливый червяк!', 16711,1,0,0, '67234'), +(-1668510, 'The children of Stratholme fought with more ferocity!', 'Стратхольмские детишки - и те сражались отчаяннее!', 16712,1,0,0, '67234'), +(-1668511, 'Despair... so delicious...', 'Как сладостно отчаянье!', 16715,1,0,0, '67234'), +(-1668512, 'Fear... so exhilarating...', 'Как приятен страх!', 16716,1,0,0, '67234'), + +-- Marwyn +(-1668513, 'Death is all that you will find here!', 'Вы найдете здесь лишь смерть!', 16734,1,0,0, '67234'), +(-1668514, 'Yes... Run... Run to meet your destiny... Its bitter, cold embrace, awaits you.', 'Эээээ... Да... Бегите навстречу судьбе. Ее жестокие и холодные обьятия ждут вас...', 16737,1,0,0, '67234'), +(-1668515, 'I saw the same look in his eyes when he died. Terenas could hardly believe it. Hahahaha!', 'У Теренаса был такой же взгляд в миг смерти, он никак не мог поверить... Ха-ха-ха-ха-ха...', 16735,1,0,0, '67234'), +(-1668516, 'Choke on your suffering!', 'Захлебнись страданием!', 16736,1,0,0, '67234'), +(-1668517, 'Your flesh shall decay before your very eyes!', 'Вы увидите как разлагается ваша плоть!', 16739,1,0,0, '67234'), +(-1668518, 'Waste away into nothingness!', 'Сгиньте без следа!', 16740,1,0,0, '67234'), + +-- FrostWorn General +(-1668519, 'You are not worthy to face the Lich King!', 'Вы недостойны предстать перед Королем - Личом!', 16921,1,0,0, '67234'), +(-1668520, 'Master, I have failed...', 'Господин... Я подвел вас...', 16922,1,0,0, '67234'), + +-- add +(-1668521, 'Well, now it\'s time to just a dump', 'Ну теперь-то точно пора сваливать.', 0,0,0,0, '67234'), +(-1668522, 'Here\'s a chest behind the work', 'Вот вам сундук за работу.', 0,0,0,0, '67234'), +(-1668523, 'And since the ship with Offa will not, here\'s a portal to Dalaran', 'И, поскольку корабля с оффа не будет, вот вам портал в Даларан.', 0,0,0,0, '67234'); + +-- Gossips +DELETE FROM gossip_texts WHERE entry BETWEEN -3594540 AND -3594536; +REPLACE INTO gossip_texts (entry, content_default, content_loc8, comment) VALUES +(-3594536, 'Lady Jaina, we are ready for next mission!', 'Джайна, мы готовы!',''), +(-3594537, 'Lady Jaina, Let\'s go!', 'Давай быстрее!', ''), +(-3594538, 'Lady Sylvanas, we are ready for next mission!', 'Сильвана, мы готовы!', ''), +(-3594539, 'Lady Sylvanas, Let\'s go!', 'Поехали!', ''), +(-3594540, 'Let\'s go!', 'Побежали!', ''); + +-- Waypoints to escort event on Halls of reflection + +DELETE FROM script_waypoint WHERE entry=36955; +DELETE FROM script_waypoint WHERE entry=37226; +DELETE FROM script_waypoint WHERE entry=37554; + +INSERT INTO script_waypoint VALUES +-- Jaina + + (36955, 0, 5587.682,2228.586,733.011, 0, 'WP1'), + (36955, 1, 5600.715,2209.058,731.618, 0, 'WP2'), + (36955, 2, 5606.417,2193.029,731.129, 0, 'WP3'), + (36955, 3, 5598.562,2167.806,730.918, 0, 'WP4 - Summon IceWall 01'), + (36955, 4, 5556.436,2099.827,731.827, 0, 'WP5 - Spell Channel'), + (36955, 5, 5543.498,2071.234,731.702, 0, 'WP6'), + (36955, 6, 5528.969,2036.121,731.407, 0, 'WP7'), + (36955, 7, 5512.045,1996.702,735.122, 0, 'WP8'), + (36955, 8, 5504.490,1988.789,735.886, 0, 'WP9 - Spell Channel'), + (36955, 9, 5489.645,1966.389,737.653, 0, 'WP10'), + (36955, 10, 5475.517,1943.176,741.146, 0, 'WP11'), + (36955, 11, 5466.930,1926.049,743.536, 0, 'WP12'), + (36955, 12, 5445.157,1894.955,748.757, 0, 'WP13 - Spell Channel'), + (36955, 13, 5425.907,1869.708,753.237, 0, 'WP14'), + (36955, 14, 5405.118,1833.937,757.486, 0, 'WP15'), + (36955, 15, 5370.324,1799.375,761.007, 0, 'WP16'), + (36955, 16, 5335.422,1766.951,767.635, 0, 'WP17 - Spell Channel'), + (36955, 17, 5311.438,1739.390,774.165, 0, 'WP18'), + (36955, 18, 5283.589,1703.755,784.176, 0, 'WP19'), + (36955, 19, 5260.400,1677.775,784.301, 3000, 'WP20'), + (36955, 20, 5262.439,1680.410,784.294, 0, 'WP21'), + (36955, 21, 5260.400,1677.775,784.301, 0, 'WP22'), + +-- Sylvana + + (37554, 0, 5587.682,2228.586,733.011, 0, 'WP1'), + (37554, 1, 5600.715,2209.058,731.618, 0, 'WP2'), + (37554, 2, 5606.417,2193.029,731.129, 0, 'WP3'), + (37554, 3, 5598.562,2167.806,730.918, 0, 'WP4 - Summon IceWall 01'), + (37554, 4, 5556.436,2099.827,731.827, 0, 'WP5 - Spell Channel'), + (37554, 5, 5543.498,2071.234,731.702, 0, 'WP6'), + (37554, 6, 5528.969,2036.121,731.407, 0, 'WP7'), + (37554, 7, 5512.045,1996.702,735.122, 0, 'WP8'), + (37554, 8, 5504.490,1988.789,735.886, 0, 'WP9 - Spell Channel'), + (37554, 9, 5489.645,1966.389,737.653, 0, 'WP10'), + (37554, 10, 5475.517,1943.176,741.146, 0, 'WP11'), + (37554, 11, 5466.930,1926.049,743.536, 0, 'WP12'), + (37554, 12, 5445.157,1894.955,748.757, 0, 'WP13 - Spell Channel'), + (37554, 13, 5425.907,1869.708,753.237, 0, 'WP14'), + (37554, 14, 5405.118,1833.937,757.486, 0, 'WP15'), + (37554, 15, 5370.324,1799.375,761.007, 0, 'WP16'), + (37554, 16, 5335.422,1766.951,767.635, 0, 'WP17 - Spell Channel'), + (37554, 17, 5311.438,1739.390,774.165, 0, 'WP18'), + (37554, 18, 5283.589,1703.755,784.176, 0, 'WP19'), + (37554, 19, 5260.400,1677.775,784.301, 3000, 'WP20'), + (37554, 20, 5262.439,1680.410,784.294, 0, 'WP21'), + (37554, 21, 5260.400,1677.775,784.301, 0, 'WP22'), + +-- Lich King + + (37226, 0, 5577.187,2236.003,733.012, 0, 'WP1'), + (37226, 1, 5587.682,2228.586,733.011, 0, 'WP2'), + (37226, 2, 5600.715,2209.058,731.618, 0, 'WP3'), + (37226, 3, 5606.417,2193.029,731.129, 0, 'WP4'), + (37226, 4, 5598.562,2167.806,730.918, 0, 'WP5'), + (37226, 5, 5559.218,2106.802,731.229, 0, 'WP6'), + (37226, 6, 5543.498,2071.234,731.702, 0, 'WP7'), + (37226, 7, 5528.969,2036.121,731.407, 0, 'WP8'), + (37226, 8, 5512.045,1996.702,735.122, 0, 'WP9'), + (37226, 9, 5504.490,1988.789,735.886, 0, 'WP10'), + + (37226, 10, 5489.645,1966.389,737.653, 0, 'WP10'), + (37226, 11, 5475.517,1943.176,741.146, 0, 'WP11'), + (37226, 12, 5466.930,1926.049,743.536, 0, 'WP12'), + (37226, 13, 5445.157,1894.955,748.757, 0, 'WP13'), + (37226, 14, 5425.907,1869.708,753.237, 0, 'WP14'), + (37226, 15, 5405.118,1833.937,757.486, 0, 'WP15'), + (37226, 16, 5370.324,1799.375,761.007, 0, 'WP16'), + (37226, 17, 5335.422,1766.951,767.635, 0, 'WP17'), + (37226, 18, 5311.438,1739.390,774.165, 0, 'WP18'), + (37226, 19, 5283.589,1703.755,784.176, 0, 'WP19'), + (37226, 20, 5278.694,1697.912,785.692, 0, 'WP20'), + (37226, 21, 5283.589,1703.755,784.176, 0, 'WP19'); + +-- BSW + +-- Icecrown down spelltable + +-- Boss Bronjahm +DELETE FROM `boss_spell_table` WHERE `entry` = 36497; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `timerMin_N10`, `timerMin_N25`, `timerMax_N10`, `timerMax_N25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(36497, 68793, 0, 3000, 0, 8000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(36497, 36535, 0, 30000, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, NULL), +(36497, 68839, 0, 15000, 0, 25000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, NULL), +(36497, 68858, 0, 1000, 0, 3000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(36497, 68988, 0, 1000, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(36497, 68950, 0, 8000, 0, 12000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(36497, 68872, 0, 1000, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(36497, 68921, 0, 360001, 0, 360001, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 12, 0, 0, 0, NULL), +(36497, 70043, 0, 2000, 0, 6000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL); + +-- Spiritual reflection +DELETE FROM `boss_spell_table` WHERE `entry` = 37068; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `timerMin_N10`, `timerMin_N25`, `timerMax_N10`, `timerMax_N25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(37068, 69933, 0, 4000, 0, 8000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(37068, 69900, 0, 6000, 0, 15000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, NULL); + +-- HOR undead warriors +DELETE FROM `boss_spell_table` WHERE `entry` = 36941; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `timerMin_N10`, `timerMin_N25`, `timerMax_N10`, `timerMax_N25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(36941, 70144, 0, 15000, 0, 25000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(36941, 70080, 0, 4000, 0, 8000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(36941, 70145, 0, 10000, 0, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +DELETE FROM `boss_spell_table` WHERE `entry` = 37069; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `timerMin_N10`, `timerMin_N25`, `timerMax_N10`, `timerMax_N25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(37069, 40505, 0, 5000, 0, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL); + +DELETE FROM `boss_spell_table` WHERE `entry` = 36940; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `timerMin_N10`, `timerMin_N25`, `timerMax_N10`, `timerMax_N25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(36940, 70150, 0, 5000, 0, 10000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL); + +-- Boss Falric +DELETE FROM `boss_spell_table` WHERE `entry` = 38112; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `timerMin_N10`, `timerMin_N25`, `timerMax_N10`, `timerMax_N25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(38112, 72395, 0, 1000, 0, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL), +(38112, 72426, 0, 15000, 0, 25000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, -1594511, NULL), +(38112, 72435, 0, 25000, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, -1594512, NULL), +(38112, 72422, 0, 7000, 0, 14000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(38112, 47008, 0, 180000, 0, 180000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + +-- Boss Marwin +DELETE FROM `boss_spell_table` WHERE `entry` = 38113; +INSERT INTO `boss_spell_table` (`entry`, `spellID_N10`, `spellID_N25`, `timerMin_N10`, `timerMin_N25`, `timerMax_N10`, `timerMax_N25`, `data1`, `data2`, `data3`, `data4`, `locData_x`, `locData_y`, `locData_z`, `varData`, `StageMask_N`, `StageMask_H`, `CastType`, `isVisualEffect`, `isBugged`, `textEntry`, `comment`) VALUES +(38113, 72360, 0, 8000, 0, 12000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, NULL), +(38113, 72368, 0, 15000, 0, 20000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, NULL), +(38113, 72362, 0, 25000, 0, 30000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, -1594518, NULL), +(38113, 72436, 0, 10000, 0, 16000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, -1594518, NULL), +(38113, 47008, 0, 180000, 0, 180000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL); + diff --git a/sql_mr/mr00249_scriptdev2_ulduar.sql b/sql_mr/mr00249_scriptdev2_ulduar.sql new file mode 100644 index 0000000..b368bfa --- /dev/null +++ b/sql_mr/mr00249_scriptdev2_ulduar.sql @@ -0,0 +1,316 @@ +/* ULDUAR from Xfurry*/ +-- -1 603 000 ULDUAR +-- ids may need to be rewritten + +DELETE from `script_texts` where `entry` between -1603400 and -1603000; +-- translate from lanc +REPLACE INTO `script_texts` (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8, sound, type, language, emote, comment) VALUES + +-- Ignis: +(-1603010, "Insolent whelps! Your blood will temper the weapons used to reclaim this world!", "","","","","","","","Мерзкие глупцы! Ваша кровь закалит оружие, которым был завоеван этот мир!",15564, 1, 0, 0, 'IgnisAggro'), +(-1603011, "Let the inferno consume you!", "","","","","","","","Да поглотит вас пламя преисподней!",15567, 1, 0, 0, 'Ignis Scorch1'), +(-1603012, "BURN! Burn in the makers fire!", "","","","","","","","Горите! Горите в огне творца!",15568, 1, 0, 0, 'Ignis scroch2'), +(-1603013, "I will burn away your impurities!", "","","","","","","","Пройдите очищение огнем!",15566, 1, 0, 0, 'Ignis Slagpot'), +(-1603014, 'Ignis the Furnace Master begins to cast Flame Jets!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_FLAME_JETS'), +(-1603015, "Arise, soldiers of the Iron Crucible! The Makers\' will be done!", "","","","","","","","Вперед, воины Железного Тетинга! Да свершиться воля творца!",15565, 1, 0, 0, 'Ignis summon'), +(-1603016, "More scraps for the scrapheap!", "","","","","","","","Тебе место в мусорной куче!",15569, 1, 0, 0, 'IgnisSlay1'), +(-1603017, "Your bones will serve as kindling!", "","","","","","","","Твой кости пойдут на растопку!",15570, 1, 0, 0, 'IgnisSlay2'), +(-1603018, "Let it be finished!", "","","","","","","","Покончим с этим!",15571, 1, 0, 0, 'IgnisBerserk'), +(-1603019, "I. Have. Failed.", "","","","","","","","Я... Проиграл...",15572, 1, 0, 0, 'Ignis death'), + +-- razorscale +(-1603020,'Welcome, champions! All of our attempts at grounding her have failed. We could use a hand in bring her down with these harpoon guns.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Приветствую вас герои! Все наши попытки сбить ее не увенчались успехом. Нам бы пригодилась ваша помощь, гарпунных пушек на всех хватит.",15647,0,0,0,'razorscale intro - commander'), +(-1603021,'Give us a moment to prepare to build the turrets.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'razor aggro 1 - eng'), +(-1603022,'Be on the lookout! Mole machines will be surfacing soon with those nasty Iron dwarves aboard!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'razor aggro 2 - commander'), +(-1603023,'Ready to move out, keep those dwarves off of our backs!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'razor aggro 3 - eng'), +(-1603024,'Move! Quickly! She won\'t remain grounded for long.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Быстрее! Она скоро снова взлетит.",0,1,0,0,'razor ground - commander'), +(-1603025,'Razorscale takes a deep breath...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'razor deep breath'), +(-1603026,'Fires out! Let\'s rebuild those turrets!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'razor extinguish fires'), +(-1603027,'Harpoon Turret is ready for use!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_harpoon'), +(-1603028,'Razorscale grounded permanently!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_ground'), + +-- Xt002 +(-1603030,"You are bad... Toys... Very... Baaaaad!","","","","","","","","Плохие игрушки... Очень... Плохие!",15731,1,0,0,"XT-002 Death"), +(-1603031,"I'm tired of these toys. I don't want to play anymore!","","","","","","","","Какие скучные игрушки. Надоело играть!",15730,1,0,0,"XT-002 Berserk"), +(-1603032,"Time for a new game! My old toys will fight my new toys!","","","","","","","","Новые правила! Старые игрушки против новых!",15732,1,0,0,"XT-002 Adds"), +(-1603033,"I'm ready to play!","","","","","","","","Продолжаем игру!",15726,1,0,0,"XT-002 Heart Closed"), +(-1603034,"So tired. I will rest for just a moment!","","","","","","","","Я так устал. Отдохну чуток!",15725,1,0,0,"XT-002 Heart Opened"), +(-1603035,"I guess it doesn't bend that way.","","","","","","","","Наверное в эту сторону голова не гнулась.",15729,1,0,0,"XT-002 Slay 2"), +(-1603036,"I... I think I broke it.","","","","","","","","Кажется... Я сломал эту игрушку.",15728,1,0,0,"XT-002 Slay 1"), +(-1603037,"NO! NO! NO! NO! NO!","","","","","","","","Неееет! Нет! Нет! Нет! Нет!",15727,1,0,0,"XT-002 Tympanic Tantrum"), +(-1603038,"New toys? For me? I promise I won't break them this time!","","","","","","","","Новые игрушки? Для меня? Обещаю, в этот раз я их не поламаю!",15724,1,0,0,"XT-002 Aggro"), +(-1603350,'XT-002 Deconstructor\'s heart is exposed and leaking energy!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_expose_heart'), +(-1603351,'XT-002 Deconstructor consumes a scrapbot to repair himself.' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_repair'), + +-- Iron Council +-- Molgeim +(-1603040,"Nothing short of total decimation will suffice!","","","","","","","","",15657,1,0,0,"MolgeimAggro"), +(-1603041, "The legacy of storms shall not be undone...", "","","","","","","","",15662, 1, 0, 0, "MolgeimDeath1"), +(-1603042, "What have you gained from my defeat? You are no less doomed, mortals...", "","","","","","","","",15663, 1, 0, 0, 'MolgeimDeath2'), +(-1603043, "Decipher this!", "","","","","","","","",15660, 1, 0, 0, 'MolgeimDeathRune'), +(-1603044, "Face the lightning surge!", "","","","","","","","",15661, 1, 0, 0, 'MolgeimSummon'), +(-1603045, "The world on suffers yet another insignificant loss!", "","","","","","","","",15658, 1, 0, 0, 'MolgeimSlay1'), +(-1603046, "Death is the price of your arrogance.", "","","","","","","","",15659, 1, 0, 0, 'MolgeimSlay2'), +(-1603047, "This meeting of the Assembly of Iron is adjourned!", "","","","","","","","",15664, 1, 0, 0, 'MolgeimBerserk'), +-- Steelbreaker +(-1603050, "You will not defeat the Assembly of Iron so easily, invaders!", "","","","","","","","",15674, 1, 0, 0, 'SteelAggro'), +(-1603051, "My death only serves to hasten your demise.", "","","","","","","","",15678, 1, 0, 0, 'SteelDeath1'), +(-1603052, "Impossible!", "","","","","","","","",15679, 1, 0, 0, 'SteelDeath2'), +(-1603053, "So fragile and weak!", "","","","","","","","",15675, 1, 0, 0, 'SteelSlay1'), +(-1603054, "Flesh... such a hindrance.", "","","","","","","","",15676, 1, 0, 0, 'SteelSlay2'), +(-1603055, "You seek the secrets of Ulduar? Then take them!", "","","","","","","","",15677, 1, 0, 0, 'SteelOverwhelming'), +(-1603056, "This meeting of the Assembly of Iron is adjourned!", "","","","","","","","",15680, 1, 0, 0, 'SteelBerserk'), +-- Brudir +(-1603060, "Whether the world\'s greatest gnats or the world\'s greatest heroes, you\'re still only mortal.", "","","","","","","","",15684, 1, 0, 0, 'BrundirAggro'), +(-1603062, "Stand still and stare into the light!", "","","","","","","","",15687, 1, 0, 0, 'BrundirWhirl'), +(-1603063, "The power of the storm lives on...", "","","","","","","","",15689, 1, 0, 0, 'BrundirDeath1'), +(-1603064, "You rush headlong into the maw of madness!", "","","","","","","","",15690, 1, 0, 0, 'BrundirDeath2'), +(-1603065, "A merciful kill!", "","","","","","","","",15685, 1, 0, 0, 'BrundirSlay1'), +(-1603066, "HAH!", "","","","","","","","",15686, 1, 0, 0, 'BrundirSlay2'), +(-1603067, "This meeting of the Assembly of Iron is adjourned!", "","","","","","","","",15691, 1, 0, 0, 'BrundirBerserk'), +(-1603068, "Let the storm clouds rise and rain down death from above!", "","","","","","","","",15688, 1, 0, 0, 'BrundirFly'), + +-- Kologarn: +(-1603150, "None shall pass!", "","","","","","","","Вам не пройти!",15586, 1, 0, 0, 'KologarnAggro'), +(-1603151, "OBLIVION!", "","","","","","","","Забвение",15591, 1, 0, 0, 'Kologarn shockweave'), +(-1603152, "I will squeeze the life from you!", "","","","","","","","Я лишу тебя жизни!",15592, 1, 0, 0, 'Kologarn grab'), +(-1603153, "Just a scratch!", "","","","","","","","Царапина!",15589, 1, 0, 0, 'left arm lost'), +(-1603154, "Only a flesh wound!", "","","","","","","","Всего лиш плоть!",15590, 1, 0, 0, 'right arm lost'), +(-1603155, "KOL-THARISH!", "","","","","","","","Кол-Таариш!",15587, 1, 0, 0, 'KologarnSlay1'), +(-1603156, "YOU FAIL!", "","","","","","","","Тебе конец!",15588, 1, 0, 0, 'KologarnSlay2'), +(-1603157, "I am invincible!", "","","","","","","","Я не победим!",15594, 1, 0, 0, 'KologarnBerserk'), +(-1603158, "Master, they come...", "","","","","","","","Повелитель, они идут...",15593, 1, 0, 0, 'Kologarndeath'), +(-1603355,'The Right Arm has regrown!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_right hand'), +(-1603356,'The Left Arm has regrown!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_left hand'), +(-1603357,'Kologarn casts Stone Grip!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_stone grip'), + +-- Auriaya: +(-1603070,"Some things are better left alone!","","","","","","","","Вы зря сюда заявились!",15473,1,0,0,"auriaya aggro"), +(-1603071,"The secret dies with you!","","","","","","","","Эта тайна умрет вместе с тобой!",15474,1,0,0,"auriaya Slay 1"), +(-1603072,"There is no escape!","","","","","","","","Спасения нет!",15475,1,0,0,"auriaya Slay 2"), +(-1603073,"You waste my time!","","","","","","","","Вы попусту тратите мое время!",15477,1,0,0,"auriaya berserk"), +(-1603074,"Auriaya screams in agony.","","","","","","","","Ааааааааааааааааааааа!",15476,2,0,0,"auriaya death"), +(-1603358,'Auriaya begins to cast Terrifying Screech.' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_screech'), +(-1603359,'Auriaya begins to activate the Feral Defender!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_defender'), + +-- Hodir +(-1603080,"","","","","","","","","",15556,2,0,0,"Hodir Frozen Blows"), +(-1603081,"Winds of the north consume you!","","","","","","","","Да поглотят вас северные ветры!",15555,1,0,0,"Hodir Flash Freeze"), +(-1603082,"Welcome to the endless winter.","","","","","","","","Отправляйся туда, где вечная зима.",15554,1,0,0,"Hodir Slay 2"), +(-1603083,"Tragic. To come so far, only to fail.","","","","","","","","Как трагично. Проделать такой путь, чтобы умереть.",15553,1,0,0,"Hodir Slay 1"), +(-1603084,"I... I am released from his grasp... at last.","","","","","","","","Наконецто... Я... Свободен... От его оков.",15557,1,0,0,"Hodir Death"), +(-1603085,"You will suffer for this trespass!","","","","","","","","Вы будете наказаны за это вторжение!",15552,1,0,0,"Hodir Aggro"), +(-1603086,"The veil of winter will protect you, champions!","","","","","","","","Герои, вас защитит покров зимы!",15559,1,0,0,"Hodir yogg"), +(-1603087,"Enough! This ends now!","","","","","","","","Ну хватит! Больше вам не жить!",15558,1,0,0,"Hodir berserk"), +(-1603360,'Hodir begins to cast Flash Freeze!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_flash freeze'), +(-1603361,'Hodir gains Frozen Blows!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_frozen blows'), + +-- Freya: +(-1603000,"The Conservatory must be protected!","","","","","","","","Нужно защитить оранжерею!",15526,1,0,0,"freya aggro"), +(-1603001,"Elders, grant me your strength!","","","","","","","","Древние, дайте мне силы!",15527,1,0,0,"freya aggro hard"), +(-1603002,"Eonar, your servant requires aid!","","","","","","","","Эонар, твоей прислужнице нужна помощь!",15528,1,0,0,"summon conservator"), +(-1603003,"Children, assist me!","","","","","","","","Помогите мне, дети мои!",15533,1,0,0,"summon trio"), +(-1603004,"The swarm of the elements shall overtake you!","","","","","","","","Вас захлестнет сила стихий!",15534,1,0,0,"summon lashers"), +(-1603005,"Forgive me.","","","","","","","","Прости меня.",15529,1,0,0,"freya slay1"), +(-1603006,"From your death springs life anew!","","","","","","","","Твоя смерть даст начало новой жизни!",15530,1,0,0,"freya slay2"), +(-1603007,"His hold on me dissipates. I can see clearly once more. Thank you, heroes.","","","","","","","","Он больше не властен надо мной. Мой взор снова ясен. Благадорю вас, герои.",15531,1,0,0,"freya Death"), +(-1603008,"You have strayed too far, wasted too much time!","","","","","","","","Вы проделали весь этот путь, впустую!",15532,1,0,0,"freya berserk"), +(-1603009,"Eonar, your servant calls for your blessing!","","","","","","","","Эонар, прошу тебя даруй свое благословение!",15535,1,0,0,"freya yogg"), +(-1603362,'Allies of Nature have appeared!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_allies'), +(-1603363,'A Lifebinder\'s Gift begins to grow!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_lifebinders'), +(-1603364,'Freya begins to cast Ground Tremor!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_ground tremor'), +(-1603365,'Freya casts Strenghtened Iron Roots!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_iron roots'), +-- Brightleaf +(-1603160,"Matron, the Conservatory has been breached!","","","","","","","","",15483,1,0,0,"brightleaf aggro"), +(-1603161,"Fertilizer.","","","","","","","","",15485,1,0,0,"brightleaf slay1"), +(-1603162,"Your corpse will nourish the soil!","","","","","","","","",15486,1,0,0,"brightleaf slay2"), +(-1603163,"Matron, one has fallen!","","","","","","","","",15487,1,0,0,"brightleaf dead"), +-- Ironbranch +(-1603170,"Mortals have no place here!","","","","","","","","",15493,1,0,0,"ironbranch aggro"), +(-1603171,"I return you whence you came!","","","","","","","","",15494,1,0,0,"ironbranch slay1"), +(-1603172,"BEGONE!","","","","","","","","",15495,1,0,0,"ironbranch slay2"), +(-1603173,"Freya! They come for you.","","","","","","","","",15496,1,0,0,"summon trio"), +-- Stonebark +(-1603180,"This place will serve as your graveyard.","","","","","","","","",15500,1,0,0,"stonebark aggro"), +(-1603181,"","","","","","","","","",15501,1,0,0,"stonebark slay1"), +(-1603182,"Such a waste.","","","","","","","","",15502,1,0,0,"stonebark slay2"), +(-1603183,"Matron, flee! They are ruthless....","","","","","","","","",15503,1,0,0,"stonebark death"), + +-- Leviathan: needs intro & outro +(-1603201,"Threat assessment routine modified. Current target threat level: zero. Acquiring new target.","","","","","","","","Изменение в протоколе оценки угрозы. Уровень угрозы текущей цели: нулевой. Поиск новой цели.",15521,1,0,0,"Flame Leviathan Slay"), +(-1603202,"Total systems failure. Defense protocols breached. Leviathan Unit shutting down.","","","","","","","","Общий системный сбой. Отказ защитных протоколов. Боевая единица Левиафан завершает свою работу.",15520,1,0,0,"Flame Leviathan Death"), +(-1603203,"Hostile entities detected. Threat assessment protocol active. Primary target engaged. Time minus thirty seconds to re-evaluation.","","","","","","","","Обнаружены противники. Запуск протокола оценки угрозы. Главная цель выявлена. Повторный анализ через тридцать секунд.",15506,1,0,0,"Flame Leviathan Aggro"), +(-1603204,"Threat re-evaluated. Target assessment complete. Changing course.","","","","","","","","Повторный анализ угрозы - завершен. Оценка цели - проведена. Смена курса.",15507,1,0,0,"Flame Leviathan change1"), +(-1603205,"Pursuit objective modified. Changing course.","","","","","","","","Изменение цели преследования. Смена курса.",15508,1,0,0,"Flame Leviathan change2"), +(-1603206,"Hostile entity stratagem predicted. Rerouting battle function. Changing course.","","","","","","","","Вражеский маневр предупрежден. Перерасчет параметра боевых функций. Смена курса.",15509,1,0,0,"Flame Leviathan change3"), +(-1603207,"Unauthorized entity attempting circuit overload. Activating anti-personnel countermeasures.","","","","","","","","Несанкционированное вмешательство в работу. Активация системы подавления живой силы.",15516,1,0,0,"Flame Leviathan player on top"), +(-1603208,"System malfunction. Diverting power to support systems.","","","","","","","","Функциональный сбой. Активация резервных систем.",15517,1,0,0,"Flame Leviathan overload1"), +(-1603209,"Combat matrix overload. Powering do-o-o-own...","","","","","","","","Боевая матрица перегружена. Отключи....",15518,1,0,0,"Flame Leviathan overload2"), +(-1603210,"System restart required. Deactivating weapon systems.","","","","","","","","Требуется перезапуск. Отключение систем вооружения.",15519,1,0,0,"Flame Leviathan overload3"), +(-1603211,"Orbital countermeasures enabled.","","","","","","","","Система орбитального подавления - включена.",15510,1,0,0,"Flame Leviathan hard mode"), +(-1603212,"Alert! Static defense system failure. Orbital countermeasures disabled.","","","","","","","","Тревога! Сбой стационарных средств защиты. Система орбитального подавления - отключена.",15511,1,0,0,"Flame Leviathan towers down"), +(-1603213,"'Hodir's Fury' online. Acquiring target.","","","","","","","","Ярость Ходира - активирована. Поиск цели.",15512,1,0,0,"Flame Leviathan frost"), +(-1603214,"'Mimiron's Inferno' online. Acquiring target.","","","","","","","","Адский огонь Мимирона - активировано. Поиск цели.",15513,1,0,0,"Flame Leviathan fire"), +(-1603215,"'Thorim's Hammer' online. Acquiring target.","","","","","","","","Молот Торима - активирован. Поиск цели.",15515,1,0,0,"Flame Leviathan energy"), +(-1603216,"'Freya's Ward' online. Acquiring target.","","","","","","","","Оберег Фреи - активировано. Поиск цели.",15514,1,0,0,"Flame Leviathan nature"), +(-1603217,'PursueWarn' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_pursue'), + +-- Thorim: +(-1603221,"Interlopers! You mortals who dare to interfere with my sport will pay... Wait--you...","","","","","","","","",15733,1,0,0,"thorim aggro 1"), +(-1603222,"I remember you... In the mountains... But you... what is this? Where am--","","","","","","","","",15734,1,0,0,"thorim aggro 2"), +(-1603223,"Behold the power of the storms and despair!","","","","","","","","",15735,1,0,0,"thorim special 1"), +(-1603224,"Do not hold back! Destroy them!","","","","","","","","",15736,1,0,0,"thorim special 2"), +(-1603225,"Have you begun to regret your intrusion?","","","","","","","","",15737,1,0,0,"thorim special 3"), +(-1603226,"Impertinent whelps! You dare challenge me atop my pedestal! I will crush you myself!","","","","","","","","",15738,1,0,0,"thorim jump"), +(-1603227,"Can't you at least put up a fight!?","","","","","","","","",15739,1,0,0,"thorim slay1"), +(-1603228,"Pathetic!","","","","","","","","",15740,1,0,0,"thorim slay2"), +(-1603229,"My patience has reached its limit!","","","","","","","","",15741,1,0,0,"Thorim berserk"), +(-1603230,"Failures! Weaklings!","","","","","","","","",15742,1,0,0,"thorim arena wipe"), +(-1603231,"Stay your arms! I yield!","","","","","","","","",15743,1,0,0,"thorim defeat"), +(-1603232,"I feel as though I am awakening from a nightmare, but the shadows in this place yet linger.","","","","","","","","",15744,1,0,0,"thorim outro n1"), +(-1603233,"Sif... was Sif here? Impossible--she died by my brother's hand. A dark nightmare indeed....","","","","","","","","",15745,1,0,0,"thorim outro n2"), +(-1603234,"I need time to reflect.... I will aid your cause if you should require it. I owe you at least that much. Farewell.","","","","","","","","",15746,1,0,0,"thorim outro n3"), +(-1603235,"You! Fiend! You are not my beloved! Be gone!","","","","","","","","",15747,1,0,0,"thorim outro hard1"), +(-1603236,"Behold the hand behind all the evil that has befallen Ulduar! Left my kingdom in ruins, corrupted my brother and slain my wife!","","","","","","","","",15748,1,0,0,"thorim outro hard2"), +(-1603237,"And now it falls to you, champions, to avenge us all! The task before you is great, but I will lend you my aid as I am able. You must prevail!","","","","","","","","",15749,1,0,0,"thorim outro hard3"), +(-1603238,"Golganneth, lend me your strengh! Grant my mortal allies the power of thunder!","","","","","","","","",15750,1,0,0,"thorim yogg"), +-- Sif: +(-1603185,"Thorim, my lord, why else would these invaders have come into your sanctum but to slay you? They must be stopped!","","","","","","","","",15668,1,0,0,"sif start"), +(-1603186,"Impossible! Lord Thorim, I will bring your foes a frigid death!","","","","","","","","",15670,1,0,0,"sif event"), +(-1603187,"These pathetic mortals are harmless, beneath my station. Dispose of them!","","","","","","","","",15669,1,0,0,"sif despawn"), +(-1603369,'Runic Colossus surrounds itself with a crackling Runic Barrier!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_barrier'), +(-1603370,'Ancient Rune Giant fortifies nearby allies with runic might!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_barrier'), + +-- Mimiron: +(-1603241,"Oh, my! I wasn't expecting company! The workshop is such a mess! How embarrassing!","","","","","","","","Вот те на! Я не ждал гостей! Тут везде такой безпорядок! Как не ловко!",15611,1,0,0,"mimiron aggro"), +(-1603242,"Now why would you go and do something like that? Didn't you see the sign that said 'DO NOT PUSH THIS BUTTON!'? How will we finish testing with the self-destruct mechanism active?","","","","","","","","Так, зачем вы это сделали? Разве вы не видели табличку 'НЕ НАЖИМАЙТЕ ЭТУ КНОПКУ!'? Ну как мы сумеем завершить испытания при включенном механизме самоликвидации, ааа?",15629,1,0,0,"mimiron hard mode"), +(-1603243,"Oh, my! It would seem that we are out of time, my friends!","","","","","","","","Ааа! Очевидно наше время истекло, друзья мои!",15628,1,0,0,"mimiron berserk"), +(-1603244,"We haven't much time, friends! You're going to help me test out my latest and greatest creation. Now, before you change your minds, remember, that you kind of owe it to me after the mess you made with the XT-002.","","","","","","","","У нас мало времени, друзья! Вы поможете испытать новейшие и величайшие из моих изобретений, и учтите, после того что вы натворили с ХТ002, отказыватся просто не красиво.",15612,1,0,0,"tank active"), +(-1603245,"MEDIC!","","","","","","","","ДОКТОРА!",15613,1,0,0,"tank kill1"), +(-1603246,"I can fix that... or, maybe not! Sheesh, what a mess...","","","","","","","","Я могу починить это... а может и не могу! Ну и бардак...",15614,1,0,0,"tank kill2"), +(-1603247,"WONDERFUL! Positively marvelous results! Hull integrity at 98.9 percent! Barely a dent! Moving right along.","","","","","","","","Превосходно! Просто восхитительный результат! Целостность обшивки 98.9 процента! Почти что не царапинки! Продолжаем.",15615,1,0,0,"tank dead"), +(-1603248,"Behold the VX-001 Anti-personnel Assault Cannon! You might want to take cover.","","","","","","","","Представляю вам противопехотную штормовую пушку - VX-001! советую поискать укрытие.",15616,1,0,0,"torso active"), +(-1603249,"Fascinating. I think they call that a 'clean kill'.","","","","","","","","Потрясающе. Помоему это называется 'Прямо в яблочко'.",15617,1,0,0,"torso kill1"), +(-1603250,"Note to self: Cannon highly effective against flesh.","","","","","","","","Надо запомнить: Пушка крайне эффективна против созданий из плоти и крови.",15618,1,0,0,"torso kill2"), +(-1603251,"Thank you, friends! Your efforts have yielded some fantastic data! Now, where did I put-- oh, there it is!","","","","","","","","Спасибо друзья! Благодаря вам я получил ценнейшие сведения! Так, куда же я дел... ах, вот куда!",15619,1,0,0,"torso dead"), +(-1603252,"Isn't it beautiful? I call it the magnificent aerial command unit!","","","","","","","","Ха! Ха! Ха! Ха! Красота правда? Я называю это непревзойденной воздушной боевой единицей!",15620,1,0,0,"head active"), +(-1603253,"Outplayed!","","","","","","","","Обхитрил!",15621,1,0,0,"head kill1"), +(-1603254,"You can do better than that!","","","","","","","","Плохо стараешся!",15622,1,0,0,"head kill2"), +(-1603255,"Preliminary testing phase complete. Now comes the true test!!","","","","","","","","Фаза предварительной проверки завершена. Пора начать главный тест! Ха! Ха! Ха! Ха!",15623,1,0,0,"head defeat"), +(-1603256,"Gaze upon its magnificence! Bask in its glorious, um, glory! I present you... V-07-TR-0N!","","","","","","","","Насладитесь его великолепием! Грейтесь в его сияющем, эмм, сиянии! Перед вами потрясающий - V-07-ДР-ОН",15624,1,0,0,"robot active"), +(-1603257,"Prognosis: Negative!","","","","","","","","Прогноз: Негативный!",15625,1,0,0,"robot kill1"), +(-1603258,"You're not going to get up from that one, friend.","","","","","","","","От этого тебе не оправится, дружок.",15626,1,0,0,"robot kill2"), +(-1603259,"It would appear that I've made a slight miscalculation. I allowed my mind to be corrupted by the fiend in the prison, overriding my primary directive. All systems seem to be functional now. Clear.","","","","","","","","Очевидно я совершил не большую ошибку в расчетах. Пленный злодей затуманил мой разум и заставил меня отклониться от инструкций. Сейчас все системы в норме. Конец связи!",15627,1,0,0,"robot defeat"), +(-1603260,"Combat matrix enhanced. Behold wonderous rapidity!","","","","","","","","Боевая матрица разширена. Оо, какая невероятная скорость!",15630,1,0,0,"mimiron yogg"), +(-1603371,"Leviathan Mk II begins to cast Plasma Blast!" ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_plasma_blast'), +(-1606241,"Self-destruct sequence initiated.","","","","","","","","Отсчет времени до самоуничтожения начат.",15413,1,0,0,"mimiron aggro"), +(-1606242,"This area will self-destruct in ten minutes.","","","","","","","","Самоуничтожение области через десять минут.",15415,1,0,0,"mimiron aggro"), +(-1606243,"This area will self-destruct in nine minutes.","","","","","","","","Самоуничтожение области через девять минут.",15416,1,0,0,"mimiron aggro"), +(-1606244,"This area will self-destruct in eight minutes.","","","","","","","","Самоуничтожение области через восемь минут.",15417,1,0,0,"mimiron aggro"), +(-1606245,"This area will self-destruct in seven minutes.","","","","","","","","Самоуничтожение области через семь минут.",15418,1,0,0,"mimiron aggro"), +(-1606246,"This area will self-destruct in six minutes.","","","","","","","","Самоуничтожение области через шесть минут.",15419,1,0,0,"mimiron aggro"), +(-1606247,"This area will self-destruct in five minutes.","","","","","","","","Самоуничтожение области через пять минут.",15420,1,0,0,"mimiron aggro"), +(-1606248,"This area will self-destruct in four minutes.","","","","","","","","Самоуничтожение области через четыре минуты.",15421,1,0,0,"mimiron aggro"), +(-1606249,"This area will self-destruct in three minutes.","","","","","","","","Самоуничтожение области через три минуты.",15422,1,0,0,"mimiron aggro"), +(-1606250,"This area will self-destruct in two minutes.","","","","","","","","Самоуничтожение области через две минуты.",15423,1,0,0,"mimiron aggro"), +(-1606251,"This area will self-destruct in one minute.","","","","","","","","Самоуничтожение области через одну минуту.",15424,1,0,0,"mimiron aggro"), +(-1606252,"The self-destruction timer is over. Have a nice day.","","","","","","","","Отсчет времени до самоуничтожения завершен. Всего хорошего.",15425,1,0,0,"mimiron aggro"), +(-1606253,"The self-destruction timer canceled. Exit code A905.","","","","","","","","Отсчет времени до самоуничтожения прерван. Код отмены А905.",15414,1,0,0,"mimiron aggro"), + +-- vezax +(-1603120,'Your destruction will herald a new age of suffering!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Ваша смерть возвестит новую эру страданий!",15542,1,0,0,'vezax aggro'), +(-1603121,'You thought to stand before the legions of death... and survive?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Тебе не выстоять перед легионом смерти...",15543,1,0,0,'vezax kill1'), +(-1603122,'Defiance... a flaw of mortality.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Неповиновение... Ха, ха, ха, ха, это слабость смертных.",15544,1,0,0,'vezax kill2'), +(-1603123,'The black blood of Yogg-Saron courses through me! I. AM. UNSTOPPABLE!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Во мне течет черная кровь Йогг-Сарона! Меня не остановить!",15545,1,0,0,'vezaz surge'), +(-1603124,'Oh, what horrors await....',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Ха! Ха! Ха! Ха... Какие ужасы вас ожидают...",15546,1,0,0,'vezax death'), +(-1603125,'Your defeat was inevitable!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Ваше поражение, было неизбежно!",15547,1,0,0,'vezax enrage'), +(-1603126,'Behold, now! Terror, absolute!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Познайте, же! Абсолютный, ужас!",15548,1,0,0,'vezax hard'), +(-1603366,'A cloud of saronite vapors coalesces nearby!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_vapors'), +(-1603367,'General Vezax roars and surges with dark might!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_might'), +(-1603368,'The saronite vapors mass and swirl violently, merging into a monstrous form!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_animus'), + +-- Yogg: +-- Sara: +(-1603300,'The time to strike at the head of the beast will soon be upon us! Focus your anger and hatred on his minions!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Скоро мы сразимся с главарем этих извергов! Обратите гнев и ненависть против его прислужников!",15775,1,0,0,'sara aggro'), +(-1603301,'Yes! YES! Show them no mercy! Give no pause to your attacks!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Да! ДА! Не щадите их! Бейте без промахов!",15773,1,0,0,'sara help1'), +(-1603302,'Let hatred and rage guide your blows!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Пусть ненависть и ярость направляют ваши удары!",15774,1,0,0,'sara help2'), +(-1603303,'Could they have been saved?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Был ли у них шанс на спасение?",15779,1,0,0,'sara kill1'), +(-1603304,'Powerless to act...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Какое безсилие...",15778,1,0,0,'sara kill 1'), +(-1603305,'Tremble, mortals, before the coming of the end!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Трепищите, смертные, конец близок!",15777,1,0,0,'sara yell2 p2'), +(-1603306,'Suffocate upon your own hate!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Задохнитесь в собственной ненависти!",15776,1,0,0,'sara yell1 p1'), +(-1603307,'Aaaaaaaaaaaaaaaaa... Help me!!! Please got to help me!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Ааааааааа... На помощь! Помогите отделаться от них!",15771,1,0,0,'sara prefight'), +(-1603308,'What do you want from me? Leave me alone!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Что вам нужно? Прочь от меня!",15772,1,0,0,'sara prefight2'), +(-1603309,'Weak-minded fools!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Вот тупица!",15780,4,0,0,'sara slay phase1'), + +-- Yogg: +(-1603321,'I am the lucid dream. The monster in your nightmares. The fiend of a thousand faces. Cower before my true form. BOW DOWN BEFORE THE GOD OF DEATH!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Я... Это сон на яву. Чудовище из ваших кошмаров. Демон с тысячью лиц. Трепещите, ибо Я обретаю истинную форму. ПАДИТЕ ВНИЗ ПЕРЕД БОГОМ СМЕРТИ!",15754,1,0,0,'yogg p2 intro'), +(-1603322,'MADNESS WILL CONSUME YOU!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Безумие поглотит вас!",15756,1,0,0,'yogg vision'), +(-1603323,'Look upon the true face of death and know that your end comes soon!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Взгляните в истинное лицо смерти и знайте, что ваш конец близок!",15755,1,0,0,'yogg phase 3'), +(-1603324,'Hoohehehahahaha... AHAHAHAHAHAHA!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Уммхехехахахаха... ХАХАХАХАХАХАХАХА!",15757,1,0,0,'yogg slay1'), +(-1603325,'Eternal suffering awaits!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Впереди вечные страдания!",15758,1,0,0,'yogg slay2'), +(-1603326,'Your fate is sealed. The end of days is finally upon you and ALL who inhabit this miserable little seedling. Uulwi ifis halahs gag erh\'ongg w\'ssh.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Хахахахахаха! Вы обречены. Не вы, никто другой, не в силах избежать близящегося конца света. Ульви ифи Халаш гага вонг ущь.",15761,1,0,0,'yogg death'), +(-1603327,'Your will is no longer you own...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Вы теперь в моей власти...",15759,4,0,0,'yogg insanity1'), +(-1603328,'Destroy them minion, your master commands it!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Слуга убей их, исполни приказ хозяина!",15760,4,0,0,'yogg insanity2'), +(-1603372,'Portals open into Yogg-Saron\'s mind!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_vision_blast'), +(-1603373,'The illusion shatters and a path to the central chamber opens!' ,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_shatter_blast'), +-- Visions: +-- lich king v3 +(-1603330,'Your resilience is admirable.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15598,0,0,0,'v1 lich king1'), +(-1603331,'Arrrrrrgh!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15470,1,0,0,'v1 champ1'), +(-1603332,'I\'m not afraid of you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15471,0,0,0,'v1 champ2'), +(-1603333,'I will break you as I broke him.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15599,0,0,0,'v1 lich king2'), +(-1603334,'Yrr n\'lyeth... shuul anagg!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15766,0,0,0,'v1 yogg1'), +(-1603335,'He will learn... no king rules forever; only death is eternal!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15767,0,0,0,'v1 yogg2'), +-- dragons v2 +(-1603336,'It is done... All have been given that which must be given. I now seal the Dragon Soul forever...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15631,0,0,0,'v2 neltharion1'), +(-1603337,'That terrible glow... should that be?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15784,0,0,0,'v2 ysera1'), +(-1603338,'For it to be as it must, yes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15632,0,0,0,'v2 neltharion2'), +(-1603339,'It is a weapon like no other. It must be like no other.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15610,0,0,0,'v2 malygos1'), +(-1603340,'His brood learned their lesson before too long, you shall soon learn yours!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15765,0,0,0,'v2 yogg1'), +-- stormwind v1 +(-1603341,'Bad news sire. The clans are united under Blackhand in this assault. They will stand together until Stormwind has fallen.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15538,0,0,0,'v3 garona1'), +(-1603342,'Gul\'dan is bringing up his warlocks by nightfall. Until then, the Blackrock clan will be trying to take the Eastern Wall.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15539,0,0,0,'v3 garona2'), +(-1603343,'A thousand deaths... ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15762,0,0,0,'v3 yogg1'), +(-1603344,'or one murder.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15763,0,0,0,'v3 yogg2'), +(-1603345,'We will hold until the reinforcements come. As long as men with stout hearts are manning the walls and throne Stormwind will hold.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'v3 king llane1'), +(-1603346,'The orc leaders agree with your assessment.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'v3 garona3'), +(-1603347,'Your petty quarrels only make me stronger!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,15764,0,0,0,'v3 yogg3'), + +-- Alagon: +(-1603140,'Your actions are illogical. All possible results for this encounter have been calculated. The pantheon will receive the observer\'s message regardless outcome.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Ваши действия не логичны. Все возможные исходы этой схватки просчитаны. Пантеон получит сообщение от наблюдателя в любом случае.",15386,1,0,0,'Agro_algalon the observer'), +(-1603141,'See your world through my eyes. A universe so vast as to be immeasurable. Incomprehensible even to your greatest minds.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Взгляните на мир моими глазами. Узрите необьятную вселенную. Непостежимую даже для величайших умов.",15390,1,0,0,'Engaged for the first time algalon'), +(-1603142,'Witness the fury of cosmos!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Космос покарает вас!",15396,1,0,0,'BIG BANG 1_Algalon'), +(-1603143,'Behold the tools of creation!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Узрите чудо созидания!",15397,1,0,0,'BIG BANG 2_Algalon\r\n'), +(-1603144,'Beware!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Берегитесь!",15391,1,0,0,'Phase2_algalon\r\n'), +(-1603145,'Loss of life, unavoidable.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Жизнь, не может быть вечной.",15387,1,0,0,'Killing a player_alagalon\r\n'), +(-1603146,'I do what I must.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Я делаю то, что должен.",15388,1,0,0,'killing a player2_algalon\r\n'), +(-1603147,'You are... out of time.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Ваше время... Вышло.",15394,1,0,0,'BERSEKER_ALGALON'), +(-1603148,'The stars come to my aid.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"Звезды помогут мне.",15392,1,0,0,'Summoning Collapsing Stars_Algalon1'), +(-1603149,'I lack the strength to transmit this signal. You must hurry. Find a place of power, close to the skies.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,"У меня нет сил, чтобы передать сигнал. Поторопитесь, найдите истоичник энергии. Ищите в небесах.",15403,1,0,0,'Summoning Collapsing Stars_Algalon2'), +(-1603279,"Do not worry about my fate . If the signal is not transmitted in time re-origination will proceed regardless. Save. Your. World.","","","","","","","","",15404,1,0,0,"algalon outro 5"), +(-1603278,"I've rearranged the reply code. Your planet will be spared. I cannot be certain of my own calculations anymore.","","","","","","","","Я изменил код отклика. Ваша планета будет спасена. Я больше не могу полагаться на свои расчеты.",15402,1,0,0,"algalon outro 3"), +(-1603277,"Perhaps it is your imperfection that which grants you free will. That allows you to persevere against cosmically calculated odds. You prevailed where the Titans' own perfect creations have failed.","","","","","","","","Похоже ваша сила кроется именно в несовершенстве. Дарованная вам свобода воли позволяет принебрегать законами космоса и выходить победителями, тогда когда идеальные создания Титанов оказываются безсильными.",15401,1,0,0,"algalon outro 2"), +(-1603276,"I have seen worlds bathed in the Makers' flames. Their denizens fading without so much as a whimper. Entire planetary systems born and raised in the time that it takes your mortal hearts to beat once. Yet all throughout, my own heart, devoid of emotion... of empathy. I... have... felt... NOTHING! A million, million lives wasted. Had they all held within them your tenacity? Had they all loved life as you do?","","","","","","","","Я видел миры, охваченные пламенем творцов. Их жители гибли не успев издать ни звука. Я был свидетелм того, как Галактики рождались и умерали в мгновение ока, и все время Я оставался холодным... И безразличным... Я... Не чуствовал! Ничего! Триллионы загубленных судеб, неужели все они были подобны вам? Неужели все они так же любили жизнь?",15393,1,0,0,"algalon outro1"), +(-1603275,"Farewell, mortals. Your bravery is admirable, for such flawed creatures.","","","","","","","","Прощайте, смертные. Я восхищаюсь вашей отвагой, несовершенные существа.",15400,1,0,0,"algalon despwnd 3"), +(-1603274,"Begin uplink: Reply Code: 'Omega'. Planetary re-origination requested.","","","","","","","","Выход на связь. Код отклика: 'Омега'. Запрос на пересоздание планеты.",15399,1,0,0,"algalon despawn 2"), +(-1603273,"Analysis complete. There is partial corruption in the plane's life-support systems as well as complete corruption in most of the planet's defense mechanisms.","","","","","","","","Анализ завершен. Система жизнеобеспечения планеты частично поражена, большинство защитных механизмов поражены полностью.",15398,1,0,0,"algalon despawn1"), +(-1603272,"It is in the universe's best interest to re-originate this planet should my analysis find systemic corruption. Do not interfere.","","","","","","","","Для блага вселенной эту планету необходимо пересоздать. Я запускаю системный анализ, чтобы выявить зоны поражения. Не вмешивайтесь.",15407,1,0,0,"algalon intro3"), +(-1603271,"Stand back, mortals. I am not here to fight you.","","","","","","","","Смертные. Я здесь не для того, чтобы сражаться с вами.",15406,1,0,0,"Algalon intro2"), +(-1603270,"Trans-location complete. Commencing planetary analysis of Azeroth.","","","","","","","","Перемещение завершено. Запуск планитарного анализа Азерота.",15405,1,0,0,"Algalon intro1"); + +-- Archivum dialogue: TODO: +-- Brann +-- Archivum + +-- teleporter from /dev/rsa +DELETE FROM `gossip_texts` WHERE `entry` BETWEEN -3050009 AND -3050000; +INSERT INTO `gossip_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `comment`) VALUES +(-3050001, "Expedition Base Camp", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Лагерь экспедиции", "Ulduar teleporter text 1"), +(-3050002, "Formation Grounds", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Железный двор", "Ulduar teleporter text 2"), +(-3050003, "Colossal Forge", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Колоссальный горн", "Ulduar teleporter text 3"), +(-3050004, "Scrapyard", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Мусорная свалка", "Ulduar teleporter text 4"), +(-3050005, "Antechamber of Ulduar", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Вестибюль Ульдуара", "Ulduar teleporter text 5"), +(-3050006, "Shattered Walkway", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Обвалившаяся галерея", "Ulduar teleporter text 6"), +(-3050007, "Conservatory of Life", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Круг наблюдения", "Ulduar teleporter text 7"), +(-3050008, "Spark of Imagination", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Искра воображения", "Ulduar teleporter text 8"), +(-3050009, "Prison of Yogg-Saron", NULL, NULL, NULL, NULL, NULL, NULL, NULL, "Провал безумия", "Ulduar teleporter text 9"); diff --git a/sql_mr/mr00250_mangos_quests_scripts.sql b/sql_mr/mr00250_mangos_quests_scripts.sql new file mode 100644 index 0000000..6a9e29d --- /dev/null +++ b/sql_mr/mr00250_mangos_quests_scripts.sql @@ -0,0 +1,733 @@ +-- ---------------------- +-- QUEST && Ect Support - +-- ---------------------- +-- temp fix need to find true fix +-- help fix quest 12813 currently +-- insert been commented out til i figure out how to handle this guy in this area he shouldn't be here like this or in this form or something +DELETE FROM `creature` WHERE `id`=29560; +-- INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +-- (88692, 29560, 571, 1, 1, 0, 0, 7458.74, 4846.24, 54.1606, 0.0676441, 300, 0, 0, 63000, 19970, 0, 0); + + +-- ---------------------------------------- +-- mangosR2 EAI CleanUp for Quests && SD2 - +-- ---------------------------------------- + +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 25316; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 26127; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 27483; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 27600; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 28610; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 28939; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29199; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29200; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29204; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29206; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29219; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 32149; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 32257; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 36626; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 36678; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29395; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30660; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30661; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30662; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30663; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30664; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30666; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30667; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30668; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 32191; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 30695; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 31011; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 31079; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 32191; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 31118; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 29395; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 31513; + + +-- fixes for YTDB DB update +UPDATE creature_template SET ScriptName='' WHERE entry IN (35035, 35770, 35771, 35766); +UPDATE creature_template SET ScriptName='' WHERE entry=36549; +UPDATE `creature_template` SET `npcflag`=1, `scriptname`='npc_toc_announcer' WHERE `entry`=34816; -- needed to be rerun +UPDATE `creature_template` SET `pickpocketloot` = 0 WHERE `entry` = 37444; +UPDATE `creature_template` SET `pickpocketloot` = 0 WHERE `entry` = 31818; +UPDATE `creature_template` SET `pickpocketloot` = 0 WHERE `entry` = 37283; +UPDATE `creature_template` SET `pickpocketloot` = 0 WHERE `entry` = 31818; +UPDATE `creature_template` SET `pickpocketloot` = 0 WHERE `entry` = 37283; +UPDATE `creature_template` SET `pickpocketloot` = 0 WHERE `entry` = 37444; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 20159; + + +DELETE FROM `gameobject` WHERE `id`=190643; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(310000, 190643, 571, 1, 1, 5545.45, 5767.53, -77.8042, 5.39307, 0, 0, 0.959937, 0.280215, -25, 0, 1), +(47391, 190643, 571, 1, 1, 5547.61, 5767.75, -78.0231, 4.08966, 0, 0, 0.889734, -0.456479, -120, 100, 1); + +-- EAI Text clean up for quests/sd2 +DELETE FROM `creature_ai_texts` WHERE (`entry`='-1120') OR (`entry`='-1121') OR (`entry`='-1122') OR (`entry`='-1123') OR (`entry`='-1124') OR (`entry`='-1125') OR (`entry`='-1126') OR (`entry`='-1127') OR (`entry`='-1128'); +DELETE FROM `creature_ai_texts` WHERE (`entry`='-555') OR (`entry`='-556') OR (`entry`='-557') OR (`entry`='-558') OR (`entry`='-559') OR (`entry`='-560') OR (`entry`='-561') OR (`entry`='-562') OR (`entry`='-563') OR (`entry`='-564') OR (`entry`='-565'); +DELETE FROM `creature_ai_texts` WHERE (`entry`='-696') OR (`entry`='-697'); +DELETE FROM `creature_ai_texts` WHERE (`entry`='-312491') OR (`entry`='-312492') OR (`entry`='-312493'); +DELETE FROM `creature_ai_texts` WHERE `entry`= -1137; + +-- Official Sd2 Clean up +DELETE FROM scripted_event_id WHERE id = 9735; +UPDATE creature_template SET ScriptName='' WHERE entry IN (30679,32174); +UPDATE gameobject_template SET ScriptName='' WHERE entry = 193611; + +DELETE FROM scripted_areatrigger WHERE entry=3626; +INSERT INTO scripted_areatrigger VALUES (3626, 'at_vaelastrasz'); + +-- ---------------------------------------------------------------- +-- Start of Quest and related data and fixes ---------------------- +-- ---------------------------------------------------------------- + + +-- ------------- +-- Quest 11560 - +-- ------------- +UPDATE `gameobject_template` SET `ScriptName` = "", `data2` = 11560 WHERE `entry` = 187373; +UPDATE `creature_template` SET `ScriptName` = "npc_tadpole" WHERE `entry` = 25201; +UPDATE `creature` SET `MovementType` = 0 WHERE `id` = 25201; +DELETE FROM `scripted_event_id` WHERE `id` = 11560; +INSERT INTO `scripted_event_id` (`id`,`ScriptName`) VALUES (11560,"go_tadpole_cage"); + +-- -------------- +-- Quest 12240 - +-- -------------- +UPDATE `creature_template` SET `modelid_1` = 17612 WHERE `entry` = 27353; +DELETE FROM `creature` WHERE `id`=27238; +UPDATE `creature_template` SET `armor` = 7618, `faction_A` = 67, `faction_H` = 67 WHERE `entry` = 27238; + +-- ------------- +-- Quest 14104 - +-- ------------- +DELETE FROM `event_scripts` WHERE `id` = 22030; +INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`x`,`y`,`z`,`o`,`comments`) VALUES (22030,3,10,35012,300000,10006.4,650.6,10.34,4.542,""); + +DELETE FROM `creature_equip_template` WHERE (`entry`=110000); +INSERT INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (110000, 34816, 34816, 0); + +UPDATE `creature_template` SET `equipment_id` = 110000 WHERE `entry` = 35012; + +-- ------------ +-- Quest 9164 - +-- ------------ +UPDATE `creature_template` SET `modelid_2` = 18682 WHERE `entry` = 16206; +DELETE FROM `creature` WHERE `id`=16206; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(75331, 16206, 530, 1, 1, 0, 0, 6435.93, -6636.06, 108.881, 0.270366, 600, 0, 0, 247, 0, 0, 0); + +UPDATE `creature_template` SET `modelid_2` = 16113 WHERE `entry` = 16208; +DELETE FROM `creature` WHERE `id`=16208; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(81222, 16208, 530, 1, 1, 0, 0, 6640.26, -6343.53, 8.94499, 4.61578, 600, 0, 0, 247, 0, 0, 0); + +UPDATE `creature_template` SET `modelid_2` = 18683 WHERE `entry` = 16209; +DELETE FROM `creature` WHERE `id`=16209; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(81221, 16209, 530, 1, 1, 0, 0, 6287.23, -6365.73, 79.4685, 4.04323, 600, 0, 0, 247, 0, 0, 0); + +-- --- +-- -Quest 8468 +-- --- +-- Thaelis has wrong faction was gettting killed by his own kind 8P +UPDATE `creature_template` SET `faction_A` = 16, `faction_H` = 16 WHERE `entry` = 15949; + +-- ------------ +-- Quest 13663 +-- ------------ +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_black_knights_gryphon' WHERE `entry` = 33519; +UPDATE creature_template SET vehicle_id = 402 WHERE entry = 33519; -- vehicle_id can be 88 107 108 112 143 etc. +UPDATE creature_template SET KillCredit1 = 33341 WHERE entry = 33229; +UPDATE creature_template SET KillCredit1 = 38595 WHERE entry = 33448; + +UPDATE `creature_template` SET `modelid_2` = 28652 WHERE `entry` = 33513; +UPDATE `creature_template` SET `modelid_2` = 28652 WHERE `entry` = 33519; + +-- ------------------ +-- Quests 13665, 13745, 13750, 13756, 13761, 13767, 13772, 13777, 13782, 13787, 13790, 13793, 13811, 13814 +-- ------------------ +-- dk fix + +UPDATE quest_template SET RequiredClasses = 0 WHERE entry = 13794; +UPDATE quest_template SET PrevQuestId = 13795 WHERE entry IN (13793,13814,13791,13813); +UPDATE quest_template SET PrevQuestId = 13794, ExclusiveGroup = 0 WHERE entry = 13795; + +-- it is also necessary (otherwise spell=63010 do not work) +UPDATE creature_template SET unit_flags = 8 WHERE entry IN +(33217,33316,33317,33318,33319,33320,33321,33322,33323,33324); + +-- The Valiant's Challenge (10 quests) +DELETE FROM creature WHERE id = 33707; -- Argent Champion +DELETE FROM creature_addon WHERE guid = 129089; +UPDATE creature_template SET faction_A = 7, faction_H = 7, npcflag = 0, KillCredit1 = 33708 WHERE entry = 33707; +REPLACE INTO creature_template_addon (`entry`,`mount`,`auras`) VALUES (33707,14337,63501); +UPDATE gossip_scripts SET datalong = 33707 WHERE id IN (33518,50102); +UPDATE creature_template SET npcflag = 0 WHERE entry = 33448; -- Argent Valiant + +-- Among the Champions (4 quests) +DELETE FROM gossip_scripts WHERE id IN (10453,10454,10455,10456,10457,10458,10459,10460,10461,10462); +DELETE FROM gossip_menu_option WHERE menu_id IN (10453,10454,10455,10456,10457,10458,10459,10460,10461,10462); + +INSERT INTO `gossip_menu_option`(`menu_id`,`id`,`option_icon`,`option_text`,`option_id`,`npc_option_npcflag`, +`action_menu_id`,`action_poi_id`,`action_script_id`,`box_coded`,`box_money`,`box_text`,`cond_1`,`cond_1_val_1`, +`cond_1_val_2`,`cond_2`,`cond_2_val_1`,`cond_2_val_2`,`cond_3`,`cond_3_val_1`,`cond_3_val_2`) VALUES +(10453,0,0,'I am ready to fight!',1,1,-1,0,10453,0,0,NULL,1,62853,0,6,469,0,0,0,0), +(10454,0,0,'I am ready to fight!',1,1,-1,0,10454,0,0,NULL,1,62853,0,6,469,0,0,0,0), +(10455,0,0,'I am ready to fight!',1,1,-1,0,10455,0,0,NULL,1,62853,0,6,469,0,0,0,0), +(10456,0,0,'I am ready to fight!',1,1,-1,0,10456,0,0,NULL,1,62853,0,6,469,0,0,0,0), +(10457,0,0,'I am ready to fight!',1,1,-1,0,10457,0,0,NULL,1,62853,0,6,67,0,0,0,0), +(10458,0,0,'I am ready to fight!',1,1,-1,0,10458,0,0,NULL,1,62853,0,6,67,0,0,0,0), +(10459,0,0,'I am ready to fight!',1,1,-1,0,10459,0,0,NULL,1,62853,0,6,67,0,0,0,0), +(10460,0,0,'I am ready to fight!',1,1,-1,0,10460,0,0,NULL,1,62853,0,6,469,0,0,0,0), +(10461,0,0,'I am ready to fight!',1,1,-1,0,10461,0,0,NULL,1,62853,0,6,67,0,0,0,0), +(10462,0,0,'I am ready to fight!',1,1,-1,0,10462,0,0,NULL,1,62853,0,6,67,0,0,0,0); + +INSERT INTO `gossip_scripts`(`id`,`delay`,`command`,`datalong`,`datalong2`,`datalong3`,`datalong4`, +`data_flags`,`dataint`,`dataint2`,`dataint3`,`dataint4`,`x`,`y`,`z`,`o`,`comments`) VALUES +(10453,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10453,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10454,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10454,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10455,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10455,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10456,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10456,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10457,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10457,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10458,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10458,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10459,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10459,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10460,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10460,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10461,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10461,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''), +(10462,1,22,14,0,0,0,2,0,0,0,0,0,0,0,0,''), +(10462,0,0,0,0,0,0,4,2000000449,2000000450,2000000451,0,0,0,0,0,''); + +DELETE FROM creature_ai_texts WHERE entry = -335621; +DELETE FROM creature_ai_scripts WHERE creature_id IN (33285,33306,33382,33383,33384,33558,33559,33561,33562,33564); +UPDATE gossip_scripts SET datalong2 = 0 WHERE command = 22 AND id IN (10469,10468,10470,10472,10473,10466,10464,10471,10465,10467); +UPDATE `creature_template` SET `gossip_menu_id` = 10470 WHERE `entry` = 33382; + +-- valiants +UPDATE creature_template SET unit_flags = 0, AIName = '', ScriptName = 'npc_valiants' WHERE entry IN (33285,33306,33382,33383,33384,33558,33559,33561,33562,33564); + +-- Champions +UPDATE creature_template SET ScriptName = 'npc_champions', AIName = '' WHERE entry IN +(33738,33739,33740,33743,33744,33745,33746,33747,33748,33749); + +UPDATE creature_template SET spell1 = 63010, spell2 = 64342 WHERE entry IN (33217,33316,33317,33318,33319,33320,33321,33322,33323,33324); +UPDATE creature_template SET spell3 = 0,spell4 = 0,spell5 = 0,spell6 = 0 WHERE entry IN (33217,33316,33317,33318,33319,33320,33321,33322,33323,33324); +DELETE FROM creature_spell WHERE guid IN (33217,33316,33317,33318,33319,33320,33321,33322,33323,33324); + +-- ------------------ +-- Quest 12065/12066 +-- ------------------ +-- Just a side note i dont think the mobs are correctly spawned/Placed around this area need to research or get someone to screen shot in live + +-- Added Quest credit +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '26773'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2677351'); +INSERT INTO `creature_ai_scripts` VALUES ('2677351', '26773', '8', '0', '100', '1', '50546', '-1', '1000', '1000', '11', '47390', '6', '6', '33', '26773', '6', '0', '0', '0', '0', '0', 'ytdb/R2'); +-- npc 26773 -- not selectable -- kill bunny credit +UPDATE `creature_template` SET `unit_flags` = 33554688 WHERE `entry` = 26773; + +-- ------------------ +-- Quest 12860/12927- +-- ------------------ + +-- after testing again not needed +DELETE FROM `item_required_target` WHERE `entry` = 29746; + +-- correct target and take quest item away when quest is done and remove uneeded reqspellcast +UPDATE `quest_template` SET `ReqSourceId1` = 41179, `ReqSourceCount1` = 1, `ReqCreatureOrGOId1` = 29746, `ReqSpellCast1` = 0 WHERE `entry` = 12860; + +-- correct target and take quest item away when quest is done and remove uneeded reqspellcast +UPDATE `quest_template` SET `ReqSourceId1` = 41179, `ReqSourceCount1` = 1, `ReqCreatureOrGOId1` = 29746, `ReqSpellCast1` = 0 WHERE `entry` = 12927; + +-- --------------- +-- Quest 12813 --- +-- --------------- + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 29329; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 29330; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 29333; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 29338; + + +-- fixed spawn of onslaught harbor guards +DELETE FROM `creature` WHERE `id`=29330; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(120868, 29330, 571, 1, 1, 0, 0, 7524.52, 4846.26, 54.1595, 0.0303891, 600, 0, 0, 12175, 0, 0, 0), +(120869, 29330, 571, 1, 1, 0, 0, 7524.35, 4849.76, 54.1595, 0.0343194, 600, 0, 0, 12175, 0, 0, 0), +(120870, 29330, 571, 1, 1, 0, 0, 7505.04, 4845.96, 54.1604, 0.0186107, 600, 0, 0, 12175, 0, 0, 0), +(120871, 29330, 571, 1, 1, 0, 0, 7505.39, 4849.73, 54.1604, 0.0421631, 600, 0, 0, 12175, 0, 0, 0), +(120874, 29330, 571, 1, 1, 0, 0, 7698.62, 4863.31, 8.10987, 0.0421443, 600, 0, 0, 12175, 0, 0, 0), +(120875, 29330, 571, 1, 1, 0, 0, 7698.12, 4852.14, 8.2296, 0.0264354, 600, 0, 0, 12175, 0, 0, 0), +(56765, 29330, 571, 1, 1, 0, 0, 7822.03, 5065.76, 1.34168, 3.19317, 600, 0, 0, 12175, 0, 0, 0), +(56764, 29330, 571, 1, 1, 0, 0, 7826.57, 5022.96, 2.33828, 1.49592, 600, 0, 0, 12175, 0, 0, 0), +(56763, 29330, 571, 1, 1, 0, 0, 7893.25, 4991.14, 6.24547, 0.0986963, 600, 0, 0, 12175, 0, 0, 0), +(56762, 29330, 571, 1, 1, 0, 0, 7890.09, 4918.48, 1.80733, 0.177237, 600, 0, 0, 12175, 0, 0, 0), +(56761, 29330, 571, 1, 1, 0, 0, 7905.39, 4864.59, 1.58049, 5.86509, 600, 0, 0, 12175, 0, 0, 0), +(56760, 29330, 571, 1, 1, 0, 0, 7900.21, 4824.12, 2.04582, 2.19414, 600, 0, 0, 12175, 0, 0, 0), +(56759, 29330, 571, 1, 1, 0, 0, 7845.14, 4863.29, 4.0894, 5.96169, 600, 0, 0, 12175, 0, 0, 0), +(56766, 29330, 571, 1, 1, 0, 0, 7836.08, 5117.19, 1.62269, 1.46293, 600, 0, 0, 12175, 0, 0, 0), +(56767, 29330, 571, 1, 1, 0, 0, 7622.53, 4814.38, 20.3294, 0.700302, 600, 0, 0, 12175, 0, 0, 0), +(56768, 29330, 571, 1, 1, 0, 0, 7625.13, 4889.11, 19.9184, 4.97915, 600, 0, 0, 12175, 0, 0, 0), +(600009, 29330, 571, 1, 1, 0, 989, 7459.84, 4851.9, 54.1595, 0.00143623, 600, 0, 0, 12600, 0, 0, 0), +(600010, 29330, 571, 1, 1, 0, 989, 7459.58, 4840.95, 54.1595, 0.0367786, 600, 0, 0, 12387, 0, 0, 0); + +-- ACID scripts (ytdb and R2 acid combined 8P ) and related fixes + +-- Still needs texts if any +-- Timers could use adjusting + +-- onslaught Paladin +UPDATE `creature_template` SET `maxmana` = 7988 WHERE `entry` = 29329; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2932951'); +INSERT INTO `creature_ai_scripts` VALUES ('2932951', '29329', '8', '0', '100', '0', '52741', '-1', '0', '0', '11', '54415', '0', '22', '33', '29398', '6', '0', '41', '0', '0', '0', 'ytdb-q12813'); +DELETE FROM `creature_ai_scripts` WHERE (`id`='2932952'); +INSERT INTO `creature_ai_scripts` VALUES ('2932952', '29329', '0', '0', '100', '0', '4000', '6000', '10000', '14000', '11', '19131', '1', '4', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast shield charge'); +DELETE FROM `creature_ai_scripts` WHERE (`id`='2932953'); +INSERT INTO `creature_ai_scripts` VALUES ('2932953', '29329', '0', '0', '100', '0', '7000', '9000', '13000', '16000', '11', '32774', '1', '4', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast Avengers shield'); + +-- onslaught gryphon rider +UPDATE `creature_template` SET `spell2` = 40652, `spell3` = '0' WHERE `entry` = 29333; -- removed incorrect and dupe throw spear spell +UPDATE `creature_template` SET `maxmana` = 7988 WHERE `entry` = 29333; +UPDATE `creature_template` SET `maxhealth` = 12600 WHERE `entry` = 29333; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933351'); +INSERT INTO `creature_ai_scripts` VALUES ('2933351', '29333', '8', '0', '100', '0', '52741', '-1', '0', '0', '11', '54415', '0', '22', '33', '29398', '6', '0', '41', '0', '0', '0', 'ytdb_q12813'); +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933352'); +INSERT INTO `creature_ai_scripts` VALUES ('2933352', '29333', '9', '0', '100', '0', '10', '40', '5000', '7000', '11', '54617', '1', '4', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast throw spear '); +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933353'); +INSERT INTO `creature_ai_scripts` VALUES ('2933353', '29333', '9', '0', '100', '0', '1', '5', '5000', '7000', '11', '40652', '1', '4', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast wing clip'); + +-- onslaught harbor guard +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933051'); +INSERT INTO `creature_ai_scripts` VALUES ('2933051', '29330', '8', '0', '100', '0', '52741', '-1', '0', '0', '11', '54415', '0', '22', '33', '29398', '6', '0', '41', '0', '0', '0', 'ytdb-q12813'); +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933052'); +INSERT INTO `creature_ai_scripts` VALUES ('2933052', '29330', '9', '0', '100', '0', '5', '30', '5000', '6000', '11', '6660', '1', '4', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast shoot'); +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933053'); +INSERT INTO `creature_ai_scripts` VALUES ('2933053', '29330', '9', '0', '100', '0', '5', '30', '7000', '8000', '11', '18802', '1', '4', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast frost shoot'); + +-- just some area related fixes + +-- onslauhgt raven bishop +UPDATE `creature_template` SET `maxmana` = 17628 WHERE `entry` = 29338; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933801'); +INSERT INTO `creature_ai_scripts` VALUES ('2933801', '29338', '0', '0', '100', '0', '6000', '7500', '8000', '10000', '11', '50740', '1', '4', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast raven flock'); +DELETE FROM `creature_ai_scripts` WHERE (`id`='2933802'); +INSERT INTO `creature_ai_scripts` VALUES ('2933802', '29338', '2', '0', '100', '0', '40', '30', '20', '40', '11', '50750', '0', '21', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - cast raven heal'); +-- need to implent blessing of the light need to do more research on this spell -- server side script effevt + +-- onslaught darkweaver +UPDATE `creature_template` SET `maxmana` = 35256 WHERE `entry` = 29614; + +-- --------------- +-- Quest 14107 --- +-- --------------- + +-- still needs support to grip of scourge server side effect and immue to the spell for quest + +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_fallen_hero_spirit' WHERE `entry` = 32149; +UPDATE `creature_template` SET `AIName` = '', `ScriptName` = 'npc_scourge_conventor' WHERE `entry` = 32257; + +UPDATE `gameobject_template` SET `castBarCaption` = 'Discarded Soul Crytal' WHERE `entry` = 195344; +DELETE FROM `item_required_target` WHERE `entry` = 47033; +INSERT INTO `item_required_target` (`entry`, `type`, `targetEntry`) VALUES ('47033', '1', '32149'); +UPDATE `creature_template` SET `KillCredit1` = 35055 WHERE `entry` = 32149; -- set fallen proxy +UPDATE `quest_template` SET `ReqCreatureOrGOId1` = 35055 WHERE `entry` = 14107; +UPDATE `creature_template` SET `faction_A` = 7, `faction_H` = 7 WHERE `entry` = 32149; -- Fallens arent suppose to attack unless attacked +UPDATE `creature_template` SET `maxmana` = 7786 WHERE `entry` = 32149; -- updated fallen mana to 3.3.5 standard +UPDATE `creature_template` SET `maxmana` = 7988 WHERE `entry` = 32257; -- updated scourgeconv mob mana to 3.3.5 +UPDATE `creature_template` SET `modelid_1` = 27651, `modelid_2` = 27651, `modelid_3` = 27651 WHERE `entry` = 32257; -- conventors are skeletons +-- --------------------- +-- Quest::14111--------- +-- --------------------- +UPDATE `quest_template` SET `RewSpell` = '0', `RewSpellCast` = '0', `RewItemId1` = '46978', `RewItemCount1` = '1' WHERE `entry` = 14111; + +-- ---------------------------------------- +-- Quest 12470 ---------------------------- +-- ---------------------------------------- +UPDATE creature_template SET ScriptName='npc_hourglass', AIName = '' WHERE entry=27840; +DELETE FROM `creature_ai_scripts` WHERE `creature_id` = 27840; +UPDATE `creature_template` SET `unit_flags` = 516, `dynamicflags` = 8 WHERE `entry` = 27840; -- added root, disable movement, passive + +-- spawn more sands (really should be able to use the whole area) +DELETE FROM `gameobject` WHERE `id`=300209; +INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(42417, 300209, 571, 1, 1, 4105.65, -404.624, 117.868, 5.27991, 0, 0, 0.480862, -0.876796, -300, 0, 1), +(600011, 300209, 571, 1, 1, 4102.71, -444.36, 124.134, 1.774, 0, 0, 0.775178, 0.631742, -300, 0, 1), +(600012, 300209, 571, 1, 1, 4076.75, -441.368, 120.635, 0.995666, 0, 0, 0.477523, 0.878619, -300, 0, 1), +(600013, 300209, 571, 1, 1, 4070.94, -418.43, 120.234, 6.23349, 0, 0, 0.0248472, -0.999691, -300, 0, 1), +(600014, 300209, 571, 1, 1, 4128.17, -436.042, 125.947, 3.17357, 0, 0, 0.999872, -0.0159903, -300, 0, 1), +(600015, 300209, 571, 1, 1, 4145.28, -419.433, 124.344, 3.38956, 0, 0, 0.992324, -0.123666, -300, 0, 1), +(600016, 300209, 571, 1, 1, 4150.45, -390.681, 120.723, 3.66602, 0, 0, 0.965819, -0.259218, -300, 0, 1), +(600017, 300209, 571, 1, 1, 4126.18, -391.728, 119.142, 5.33813, 0, 0, 0.455137, -0.890421, -300, 0, 1); +-- ---------------------------------------- +-- Bury Those Cockroaches Quest 11608 ----- +-- ---------------------------------------- + +UPDATE creature_template SET ScriptName='npc_seaforium_depth_charge' WHERE entry=25401; + +-- ---------------------------------------- +-- Quest 11466 fixes and improvements ----- +-- ---------------------------------------- + +DELETE FROM creature_addon WHERE guid = 115895; +INSERT INTO creature_addon (guid,mount,bytes1,b2_0_sheath,b2_1_pvp_state,emote) VALUES +(115895,0,0,0,0,10); + +UPDATE creature_template SET ScriptName = 'npc_olga', AIName = '' WHERE entry = 24639; +UPDATE creature_template SET ScriptName = 'npc_jack_adams', AIName = '' WHERE entry = 24788; + +-- ------------------------- +-- -Quest:: 11656 ---------- +-- ------------------------- +-- better support + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '25510'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2551051'); +INSERT INTO `creature_ai_scripts` VALUES ('2551051', '25510', '8', '0', '100', '1', '45692', '-1', '0', '0', '33', '25510', '6', '0', '11', '64561', '0', '22', '41', '240000', '0', '0', 'ytdb-q11656'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '25511'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2551151'); +INSERT INTO `creature_ai_scripts` VALUES ('2551151', '25511', '8', '0', '100', '1', '45692', '-1', '0', '0', '33', '25511', '6', '0', '11', '64561', '0', '22', '41', '240000', '0', '0', 'ytdb-q11656'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '25512'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2551251'); +INSERT INTO `creature_ai_scripts` VALUES ('2551251', '25512', '8', '0', '100', '1', '45692', '-1', '0', '0', '33', '25512', '6', '0', '11', '64561', '0', '22', '41', '240000', '0', '0', 'ytdb-q11656'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '25513'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2551351'); +INSERT INTO `creature_ai_scripts` VALUES ('2551351', '25513', '8', '0', '100', '1', '45692', '-1', '0', '0', '33', '25513', '6', '0', '11', '64561', '0', '22', '41', '240000', '0', '0', 'ytdb-q11656'); + +-- ------------------------- +-- Quest :: 12644 +-- ------------------------- + +UPDATE gameobject_template SET +ScriptName='go_still_at_it_quest' +WHERE entry IN(190638,190637,190635,190636,190639); + +UPDATE creature_template SET +ScriptName='npc_tipsy_mcmanus' +WHERE entry=28566; + +DELETE FROM `gameobject` WHERE guid = '200000'; +INSERT INTO `gameobject` VALUES ('200000','190643','571','1','1','5545.45','5767.53','-77.8042','5.39307','0','0','0.959937','0.280215','-25','0','1'); + +DELETE FROM creature where id=28537; +INSERT INTO creature VALUES +(600018,28537,571,1,1,0,0,5550.404,5768.214,-78.02,1.278,300,0,0,0,0,0,0); +UPDATE `creature_template` SET `minhealth` = 0, `maxhealth` = 1 WHERE `entry` = 28537; + +DELETE from spell_script_target WHERE entry in(51932,51931,51933); +INSERT into spell_script_target VALUES +(51932,1,28537), +(51931,1,28537), +(51933,1,28537); + +UPDATE creature_template SET +flags_extra=flags_extra |128 +WHERE entry=28537; + +-- ------------------------- +-- Quest :: 12645 +-- ------------------------- + +UPDATE item_template SET ScriptName = 'item_jungle_punch_sample' WHERE entry = 38697; +UPDATE creature_template SET ScriptName = 'mob_taste_test' WHERE entry IN (28047,28568,27986); + +-- ------------------------- +-- quest 11542/11543 +-- ------------------------- + +UPDATE creature_template SET modelid_1 = 11686, modelid_2 = 11686 WHERE entry = 25090; +UPDATE creature_template SET modelid_1 = 11686, modelid_2 = 11686 WHERE entry = 25091; +UPDATE creature_template SET modelid_1 = 11686, modelid_2 = 11686 WHERE entry = 25092; +UPDATE `creature_template` SET `flags_extra` = 0 WHERE `entry` = 25090; +UPDATE `creature_template` SET `flags_extra` = 0 WHERE `entry` = 25091; +UPDATE `creature_template` SET `flags_extra` = 0 WHERE `entry` = 25092; +UPDATE `creature_template` SET `scale` = 4 WHERE `entry` = 25090; +UPDATE `creature_template` SET `scale` = 4 WHERE `entry` = 25091; +UPDATE `creature_template` SET `scale` = 4 WHERE `entry` = 25092; + +DELETE FROM `creature` WHERE `id`=25092; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(100708, 25092, 530, 1, 1, 0, 0, 13272.2, -7144.51, 4.93783, 3.72311, 300, 0, 0, 1, 0, 0, 0), +(600019, 25092, 530, 1, 1, 0, 0, 13261.8, -7144.76, 29.6207, 3.73767, 25, 0, 0, 1, 0, 0, 0), +(600020, 25092, 530, 1, 1, 0, 0, 13313.5, -7149.11, 23.029, 0.326681, 25, 0, 0, 1, 0, 0, 0), +(600021, 25092, 530, 1, 1, 0, 0, 13263.9, -7144.98, 18.0722, 2.95227, 25, 0, 0, 1, 0, 0, 0), +(600022, 25092, 530, 1, 1, 0, 0, 13271.3, -7146.79, 19.1243, 5.98391, 25, 0, 0, 1, 0, 0, 0), +(600023, 25092, 530, 1, 1, 0, 0, 13289.9, -7151.84, 20.5758, 2.77005, 25, 0, 0, 1, 0, 0, 0), +(600024, 25092, 530, 1, 1, 0, 0, 13300.4, -7149.66, 3.98094, 1.67521, 25, 0, 0, 1, 0, 0, 0), +(600025, 25092, 530, 1, 1, 0, 0, 13305.6, -7147.99, 19.165, 2.99467, 25, 0, 0, 1, 0, 0, 0), +(600026, 25092, 530, 1, 1, 0, 0, 13331.7, -7150.1, 25.3583, 3.09835, 25, 0, 0, 1, 0, 0, 0), +(600027, 25092, 530, 1, 1, 0, 0, 13348.8, -7151.36, 29.4228, 3.06536, 25, 0, 0, 1, 0, 0, 0); + +DELETE FROM `creature` WHERE `id`=25090; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(100709, 25090, 530, 1, 1, 0, 0, 13200.6, -7048.38, 3.82285, 3.17961, 300, 0, 0, 1, 0, 0, 0), +(600028, 25090, 530, 1, 1, 0, 0, 13252.6, -7054.9, 22.4681, 3.5688, 25, 0, 0, 1, 0, 0, 0), +(600029, 25090, 530, 1, 1, 0, 0, 13229.6, -7052.88, 4.3433, 2.60276, 25, 0, 0, 1, 0, 0, 0), +(600030, 25090, 530, 1, 1, 0, 0, 13213.4, -7053.09, 18.7827, 1.69955, 25, 0, 0, 1, 0, 0, 0), +(600031, 25090, 530, 1, 1, 0, 0, 13226.3, -7052.35, 17.7073, 2.66795, 25, 0, 0, 1, 0, 0, 0), +(600032, 25090, 530, 1, 1, 0, 0, 13256.7, -7056.42, 23.4799, 6.09779, 25, 0, 0, 1, 0, 0, 0), +(600033, 25090, 530, 1, 1, 0, 0, 13241, -7054.83, 19.4747, 3.12191, 25, 0, 0, 1, 0, 0, 0), +(600034, 25090, 530, 1, 1, 0, 0, 13272, -7058.13, 27.1397, 2.9664, 25, 0, 0, 1, 0, 0, 0); + +DELETE FROM `creature` WHERE `id`=25091; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(100710, 25091, 530, 1, 1, 0, 0, 13317.5, -6988.85, 4.13809, 3.11521, 300, 0, 0, 1, 0, 0, 0), +(600035, 25091, 530, 1, 1, 0, 0, 13328.7, -6993.48, 11.8975, 1.60531, 25, 0, 0, 1, 0, 0, 0), +(600036, 25091, 530, 1, 1, 0, 0, 13346, -6993.5, 3.21209, 1.40346, 25, 0, 0, 1, 0, 0, 0), +(600037, 25091, 530, 1, 1, 0, 0, 13323, -6989.96, 18.1137, 5.29668, 25, 0, 0, 1, 0, 0, 0), +(600038, 25091, 530, 1, 1, 0, 0, 13309.5, -6987.26, 16.2246, 4.39818, 25, 0, 0, 1, 0, 0, 0), +(600039, 25091, 530, 1, 1, 0, 0, 13354.3, -6990.59, 19.2655, 1.4121, 25, 0, 0, 1, 0, 0, 0), +(600040, 25091, 530, 1, 1, 0, 0, 13360.6, -6991.35, 20.7843, 6.2588, 25, 0, 0, 1, 0, 0, 0), +(600041, 25091, 530, 1, 1, 0, 0, 13339.9, -6989.69, 17.719, 6.27843, 25, 0, 0, 1, 0, 0, 0), +(600045, 25091, 530, 1, 1, 0, 0, 13379.1, -6991.55, 25.1392, 3.19418, 25, 0, 0, 1, 0, 0, 0), +(600046, 25091, 530, 1, 1, 0, 0, 13328.7, -6993.48, 11.8975, 1.60531, 25, 0, 0, 1, 0, 0, 0); + +-- EventAI -- one additional has been made to YTDB acid a despawn so quest graphics and effects reset for next player at the moment its 2 mins to despawn and 30 secs to respawn (credit triggers are invis) quest might take longer then 2 mins +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '25090'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2509051'); +INSERT INTO `creature_ai_scripts` VALUES ('2509051', '25090', '8', '0', '100', '1', '45115', '-1', '0', '0', '33', '25090', '6', '0', '11', '73119', '0', '22', '41', '120000', '0', '0', 'ytdb-q11542,11543&R2'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '25091'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2509151'); +INSERT INTO `creature_ai_scripts` VALUES ('2509151', '25091', '8', '0', '100', '1', '45115', '-1', '0', '0', '33', '25091', '6', '0', '11', '73119', '0', '22', '41', '120000', '0', '0', 'ytdb-q11542,11543&R2'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '25092'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2509251'); +INSERT INTO `creature_ai_scripts` VALUES ('2509251', '25092', '8', '0', '100', '1', '45115', '-1', '0', '0', '33', '25092', '6', '0', '11', '73119', '0', '22', '41', '120000', '0', '0', 'ytdb-q11542,11543&R2'); + +-- ------------------------- +-- fix quest toxic_test 9051 -- still not working is kill credit +-- ------------------------- +UPDATE `quest_template` SET `ReqCreatureOrGOId1` = '6498' WHERE `entry` =9051; -- fixes spell credit +UPDATE `quest_template` SET `ReqCreatureOrGOCount1` = 1 WHERE `entry` = 9051; -- fixes spell credit + +DELETE FROM `creature_ai_scripts` WHERE `id` =649802; -- clean up of testing hack to get kill credit + +UPDATE `quest_template` SET `ReqSourceId1` = 22432, `ReqSourceCount1` = 1 WHERE `entry` = 9051; -- take item out of player inventory upon completetion + +-- ------------------------------ +-- Quest : 12078 Worm Wrangler -- +-- ------------------------------ + +DELETE FROM `item_required_target` WHERE `entry` = 36771 AND `type` = 1 AND `targetEntry` = 26359; +INSERT INTO `item_required_target` (`entry`, `type`, `targetEntry`) VALUES +('36771', '1', '26359'); + +-- ------------------------------ +-- Quest: Drake Hunt (11940/11919) +-- ------------------------------ +UPDATE `creature_template` SET ScriptName='npc_nexus_drake', AIName='' WHERE entry = 26127; + +-- ------------------------------- +-- Quest: Merciful Freedom (11676) +-- ------------------------------- +UPDATE gameobject_template SET ScriptName='go_scourge_cage' WHERE entry IN (187854,187855,187856,187857,187858,187859,187860,187862,187863,187864,187865,187866,187867,187868,187870,187871,187872,187873,187874,187861,190803); + +-- ------------------------ +-- Quest: Abduction (11590) +-- ------------------------ + +UPDATE `creature_template` SET +minhealth=6387, +maxhealth=7185, +minlevel=64, +maxlevel=70, +minmana=7031, +maxmana=7196 +WHERE entry=25474; + +UPDATE `creature_template` SET `ScriptName`='npc_beryl_sorcerer' , AIName='' WHERE entry=25316; + +-- --------------------------------------------------- +-- Mob support for Quest: Powering Our Defenses (8490) +-- --------------------------------------------------- +-- Enraged Wraith +DELETE FROM `creature` WHERE id = 17086; +UPDATE `creature_template` SET AIName='EventAI', flags_extra=flags_extra|64 WHERE entry=17086; + +DELETE FROM `creature_ai_scripts` WHERE creature_id = 17086; +INSERT INTO `creature_ai_scripts` VALUES +(1708601,17086,2,0,100,0,25,0,0,0,11,8599,0,1,1,-106,0,0,0,0,0,0,'R2 - Enraged Wraith - Cast Enrage on 50% HP'); + +-- --------------- +-- Gamel the Cruel +-- --------------- +UPDATE creature SET spawntimesecs = 30 WHERE id = 26449; + +UPDATE creature_template SET AIName = 'EventAI', dmg_multiplier = 2 WHERE entry = 26449; +DELETE FROM creature_ai_scripts WHERE creature_id = 26449; +INSERT INTO creature_ai_scripts VALUES +(2644901, 26449, 0,0,80,1, 2000,2000,5000,5000, 11,19643,1,0, 0,0,0,0, 0,0,0,0,'R2 - Gamel the Cruel - mortal strike'); + +-- --------------------------- +-- fix quest _abduction 11590 +-- --------------------------- +-- item (Arcane Binder) +DELETE FROM item_required_target WHERE entry = 34691; +INSERT INTO item_required_target VALUES +(34691,1,25316); + + +-- -------------------------------------------------- +-- fixes for Quest Kickin'Nass and Takin manes (12630) +-- -------------------------------------------------- +UPDATE `creature_template` SET `flags_extra` = 64 WHERE `entry` = 28523; +DELETE FROM creature WHERE id=28523; -- deletes nass kc bunny credit needs to be summoned not already spawn + +-- ----------------------------- +-- Quest Fixes to Hard_to_sallow +-- ----------------------------- +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '26293'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2629302'); +INSERT INTO `creature_ai_scripts` VALUES ('2629302', '26293', '2', '0', '100', '0', '70', '50', '0', '0', '1', '-262930', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'R2 - Hulking Jormungar - emote between 70% and 50% '); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = '26293'; +DELETE FROM `creature_ai_scripts` WHERE (`id`='2629301'); +INSERT INTO `creature_ai_scripts` VALUES ('2629301', '26293', '9', '0', '100', '1', '0', '30', '14000', '17000', '11', '50293', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', ' R2 - Hulking Jormungar - Cast Corrosive Poison'); + +DELETE FROM `creature_ai_texts` WHERE entry IN ('-262930'); +INSERT INTO `creature_ai_texts` VALUES ('-262930', 'The Hulking Jormungar falters for a moment, opening its mouth wide.', '', '', '', '', '', '', '', '', '3', '0', '0', '0', 'R2 - Hulking Jormungar-raid emote'); + +-- ------------------------------------------ +-- Support for quest The Denouncement (12273) +-- ------------------------------------------ + +-- Remove creature +DELETE FROM creature WHERE guid=105029 AND id=27237; + +-- Rod of Compulsion Item (37438) + +DELETE FROM item_required_target WHERE entry=37438; +INSERT INTO item_required_target VALUES +(37438,1,27237), +(37438,1,27235), +(37438,1,27234), +(37438,1,27236); + +-- Rod of Compulsion Spell (48712) + +-- Texts +DELETE FROM creature_ai_texts WHERE entry IN (-272371,-272351,-272341,-272361); +INSERT INTO creature_ai_texts VALUES +(-272371,'High general Abbendis personally told me that it was a mistake to come north and that we\'re doomed! I urge you all to lay down your weapons and leave before it\'s too late!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'R2 - Commander Jordan yell'), +(-272351,'Renounce the Scarlet Onslaught! Don\'t listen to the lies of the high general and the grand admiral any longer!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'R2 - Lead Cannoneer Zierhut yell'), +(-272341,'You are being misled! The Onslaught is all lies! The Scourge and the Forsaken are not our enemies! Wake up!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'R2 - Blacksmith Goodman yell'), +(-272361,'Abbendis is nothing but a harlot and Grand Admiral Westwind is selling her cheap like he sold us out!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'R2 - Stable Master Mercer yell'); + +-- ACID +DELETE FROM creature_ai_scripts WHERE id IN (2723701,2723702,2723703,2723704,2723705,2723501,2723502,2723503,2723504,2723401,2723402,2723403,2723404,2723405,2723601,2723602,2723603,2723604); +INSERT INTO creature_ai_scripts VALUES + +-- Commander Jordan (27237) + +-- yell +(2723701,27237,4,0,100,6,0,0,0,0,1,-272371,0,0,0,0,0,0,0,0,0,0,'R2 - Commander Jordan - Yell on Aggro'), +-- Avenging Wrath (50837) +(2723702,27237,0,0,100,1,1000,3000,25000,30000,11,50837,0,0,0,0,0,0,0,0,0,0,'R2 - Commander Jordan - Cast Avenging Wrath'), +-- Consecration (32773) +(2723703,27237,9,0,100,1,0,10,18000,23000,11,32773,0,1,0,0,0,0,0,0,0,0,'R2 -Commander Jordan - Cast Consecration'), +-- Kill credit (48723/48724) +(2723704,27237,8,0,100,0,48712,-1,0,0,22,1,0,0,0,0,0,0,0,0,0,0,'R2 - Commander Jordan - Set Phase 2 after spell hit'), +(2723705,27237,6,1,100,0,0,0,0,0,33,27426,6,3,0,0,0,0,0,0,0,0,'R2 -Commander Jordan - Kill Credit on Death (Phase 2)'), + + +-- Lead Cannoneer Zierhut (27235) + +-- yell +(2723501,27235,4,0,100,6,0,0,0,0,1,-272351,0,0,0,0,0,0,0,0,0,0,'R2 - Lead Cannoneer Zierhut - Yell on Aggro'), +-- Torch Toss (50832) +(2723502,27235,0,0,100,1,3000,7000,12000,15000,11,50832,4,0,0,0,0,0,0,0,0,0,'R2 - Lead Cannoneer Zierhut - Cast Torch Toss'), +-- Kill Credit (48725/48726) +(2723503,27235,8,0,100,0,48712,-1,0,0,22,1,0,0,0,0,0,0,0,0,0,0,'R2 - Lead Cannoneer Zierhut - Set Phase 2 after spell hit'), +(2723504,27235,6,1,100,0,0,0,0,0,33,27427,6,3,0,0,0,0,0,0,0,0,'R2 - Lead Cannoneer Zierhut - Kill Credit on Death (Phase 2)'), + +-- Blacksmith Goodman (27234) + +-- yell +(2723401,27234,4,0,100,6,0,0,0,0,1,-272341,0,0,0,0,0,0,0,0,0,0,' R2 - Blacksmith Goodman - Yell on Aggro'), +-- Crush Armor (33661) +(2723402,27234,0,0,100,1,2000,5000,5000,7000,11,33661,1,0,0,0,0,0,0,0,0,0,'R2 - Blacksmith Goodman - Cast Crush Armor'), +-- Skull Crack (15621) +(2723403,27234,0,0,100,1,6000,9000,10000,14000,11,15621,1,1,0,0,0,0,0,0,0,0,'R2 - Blacksmith Goodman - Cast Skull Crack'), +-- Kill credit (48727/48728) +(2723404,27234,8,0,100,0,48712,-1,0,0,22,1,0,0,0,0,0,0,0,0,0,0,'R2 - Blacksmith Goodman - Set Phase 2 after spell hit'), +(2723405,27234,6,1,100,0,0,0,0,0,33,27428,6,3,0,0,0,0,0,0,0,0,'R2 - Blacksmith Goodman - Kill Credit on Death (Phase 2)'), + +-- Stable Master Mercer (27236) + +-- yell +(2723601,27236,4,0,100,6,0,0,0,0,1,-272361,0,0,0,0,0,0,0,0,0,0,'R2 - Stable Master Mercer - Yell on Aggro'), +-- Summon Warhorse (50829) +(2723602,27236,4,0,100,0,0,0,0,0,11,50829,0,1,12,28187,6,0,0,0,0,0,'R2 - Stable Master Mercer - Summon Warhorse on Aggro'), +-- Kill credit (48729/48730) +(2723603,27236,8,0,100,0,48712,-1,0,0,22,1,0,0,0,0,0,0,0,0,0,0,'R2 - Stable Master Mercer - Set Phase 2 after spell hit'), +(2723604,27236,6,1,100,0,0,0,0,0,33,27429,6,3,0,0,0,0,0,0,0,0,'R2 - Stable Master Mercer - Kill Credit on Death (Phase 2)'); + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 27236; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 27234; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 27235; +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 27237; + +-- ---------------------------------------------- +-- Support for quest Defiling Uther's Tomb (9444) +-- ---------------------------------------------- +DELETE FROM creature_ai_scripts WHERE creature_id=27002; +INSERT INTO creature_ai_scripts VALUES +(2700201,27002,11,0,100,0,0,0,0,0,1,-270021,0,0,0,0,0,0,0,0,0,0,'Grom\'thar the Thunderbringer - Yell on Spawn'), +(2700202,27002,9,0,100,1,5,45,19000,25000,11,52167,1,0,0,0,0,0,0,0,0,0,'Grom\'thar the Thunderbringer - Cast Magnataur Charge'), +(2700203,27002,0,0,100,1,7000,14000,12000,16000,11,52166,0,1,0,0,0,0,0,0,0,0,'Grom\'thar the Thunderbringer - Cast Thunder'), +(2700204,27002,6,0,100,0,0,0,0,0,1,-270022,0,0,0,0,0,0,0,0,0,0,'Grom\'thar the Thunderbringer - Yell on Death'); + +DELETE FROM creature_ai_texts WHERE entry IN (-270021,-270022); +INSERT INTO creature_ai_texts (entry, content_default, type, comment) VALUES +(-270021,'I\'ll consume your flesh and pick my teeth with your bones!',1,'R2 - Grom\'thar the Thunderbringer yell1'), +(-270022,'You\'re no magnataur! Where... did you... find... such strength?',1,'R2 - Grom\'thar the Thunderbringer yell2'); + +-- ---------- +-- Quest 9076 +-- ---------- +DELETE FROM `creature` WHERE `id`=16294; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(67521, 16294, 530, 1, 1, 0, 160, 8777.19, -6101.27, 72.6775, 3.21199, 300, 0, 0, 148, 825, 0, 0); + +-- ------------------------------------------------- +-- Support for quest A Necessary Distraction (10637) +-- ------------------------------------------------- + +-- Azaloth (21506) + +-- TODO ( really tired right now) +-- still need to make him attack and make the circle of casters around him being channeled a dumby spell -> only visual stuff is missing + +UPDATE `creature_template` SET `AIName` = 'EventAI', `ScriptName` = '' WHERE `entry` = 21506; +UPDATE `creature_template` SET `modelid_2` = 17287 WHERE `entry` = 21506; -- this isnt correct display yet + +DELETE FROM creature_ai_scripts WHERE creature_id=21506; +INSERT INTO creature_ai_scripts VALUES +(2150601, 21506, 8, 0, 100, 1, 37834, -1, 0, 0, 1, -21506, 0, 0, 28, 0, 37833, 0, 33, 21892, 6, 0, 'Azaloth - Yell and Start Combat Movements -R2'), +(2150602,21506,0,0,100,1,4000,4000,8000,8000,11,40504,1,0,0,0,0,0,0,0,0,0,'Azaloth - Cast Cleave-R2'), +(2150603,21506,0,0,100,1,3000,3000,17000,17000,11,11443,1,1,0,0,0,0,0,0,0,0,'Azaloth Cast Cripple-R2'), +(2150604,21506,0,0,100,1,10000,12000,33000,33000,11,38741,4,3,0,0,0,0,0,0,0,0,'Azaloth - Cast Rain of Fire-R2'), +(2150605,21506,0,0,100,1,6000,6000,14000,14000,11,38750,1,3,0,0,0,0,0,0,0,0,'Azaloth - Cast War Stomp-R2'); + + +DELETE FROM creature_ai_texts WHERE entry=-21506; +INSERT INTO creature_ai_texts (entry,content_default,type,comment) VALUES +(-21506,'Illidan\s lapdogs! You will pay for my imprisonment with your lives!',1,'Azaloth yell1'); + +DELETE FROM `creature_template_addon` WHERE (`entry`=21506); +INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `b2_0_sheath`, `b2_1_pvp_state`, `emote`, `moveflags`, `auras`) VALUES (21506, 0, 0, 0, 0, 0, 0, ''); + diff --git a/sql_mr/mr00257_mangos_culling_of_stratholme.sql b/sql_mr/mr00257_mangos_culling_of_stratholme.sql new file mode 100644 index 0000000..0ed379f --- /dev/null +++ b/sql_mr/mr00257_mangos_culling_of_stratholme.sql @@ -0,0 +1,212 @@ +-- ------------------------------ +-- Instance CoS - +-- ------------------------------ + +UPDATE `instance_template` SET `ScriptName` = 'instance_culling_of_stratholme' WHERE map=595; + +UPDATE `creature_template` SET `AIName` = '', `ScriptName` ='npc_mike' WHERE entry = 30571; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_chromi_start' WHERE entry=26527; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_roger' WHERE entry=27903; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_morigan' WHERE entry=27877; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='' WHERE entry=30996; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_stratholme_crates' WHERE entry=27827; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_jena' WHERE entry=27885; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_malcolm' WHERE entry=27891; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_bartleby_cs' WHERE entry=27907; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_chromi_middle' WHERE entry=27915; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_uther' WHERE entry=26528; +UPDATE `creature_template` SET `AIName` = '', `ScriptName`='npc_arthas' WHERE entry=26499; +UPDATE `creature_template` SET `AIName` = 'EventAI',`ScriptName`='' WHERE entry = 27747; +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=27747); +INSERT INTO `creature_ai_scripts` VALUES +(2774701, 27747, 1, 0, 100, 6, 0, 0, 0, 0, 21, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Prevent Combat Movement and Set Phase to 0 on Spawn'), +(2774702, 27747, 4, 0, 100, 6, 0, 0, 0, 0, 11, 34232, 1, 0, 23, 1, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Cast Holy Bolt and Set Phase 1 on Aggro'), +(2774703, 27747, 9, 13, 100, 7, 0, 40, 3400, 4800, 11, 34232, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Cast Holy Bolt (Phase 1)'), +(2774704, 27747, 3, 13, 100, 6, 7, 0, 0, 0, 21, 1, 0, 0, 23, 1, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Start Combat Movement and Set Phase 2 when Mana is at 7% (Phase 1)'), +(2774705, 27747, 9, 13, 100, 6, 35, 80, 0, 0, 21, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Start Combat Movement at 35 Yards (Phase 1)'), +(2774706, 27747, 9, 13, 100, 6, 5, 15, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Prevent Combat Movement at 15 Yards (Phase 1)'), +(2774707, 27747, 9, 13, 100, 6, 0, 5, 0, 0, 21, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Start Combat Movement Below 5 Yards (Phase 1)'), +(2774708, 27747, 3, 11, 100, 7, 100, 15, 100, 100, 23, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Set Phase 1 when Mana is above 15% (Phase 2)'), +(2774709, 27747, 14, 0, 100, 7, 5000, 40, 12000, 18000, 11, 15586, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Cast Heal on Friendlies'), +(2774710, 27747, 2, 0, 100, 6, 15, 0, 0, 0, 22, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Set Phase 3 at 15% HP'), +(2774711, 27747, 2, 7, 100, 6, 15, 0, 0, 0, 21, 1, 0, 0, 25, 0, 0, 0, 1, -47, 0, 0, 'High Elf Mage-Priest - Start Combat Movement and Flee at 15% HP (Phase 3)'), +(2774712, 27747, 7, 0, 100, 6, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Elf Mage-Priest - Set Phase to 0 on Evade'); +UPDATE `creature_template` SET `AIName` = 'EventAI',`ScriptName`='' WHERE entry = 27745; +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=27745); +INSERT INTO `creature_ai_scripts` VALUES +(2774501, 27745, 9, 0, 100, 7, 0, 5, 5000, 8000, 11, 25710, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Lordaeron Footman - Cast Heroic Strike'), +(2774502, 27745, 0, 0, 100, 7, 7000, 12000, 9000, 15000, 11, 52317, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lordaeron Footman - Cast Defend'); +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_arthas_priest' WHERE entry IN (70004, 70005); +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_arthas_marine' WHERE entry IN (70000, 70001, 70002, 70003); +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_dark_conversion' WHERE entry IN (31127, 31126, 28167, 28169); +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_cs_gnoul' WHERE entry=28249; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_cs_necromancer' WHERE entry=28200; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_cs_field' WHERE entry=27734; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_cs_acolyte' WHERE entry=27731; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_cs_butcher' WHERE entry=27736; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='boss_meathook' WHERE entry=26529; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='boss_salramm' WHERE entry=26530; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_salramm_gnoul' WHERE entry=27733; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='boss_lord_epoch' WHERE entry=26532; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='boss_malganis' WHERE entry=26533; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='npc_time_riftCS' WHERE entry=28409; +UPDATE `creature_template` SET `AIName` = '',`ScriptName`='boss_infinite_corruptor' WHERE entry=32273; + +-- ACID CLEAN UP +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26499); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26529); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26499); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26530); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26532); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=26533); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=27731); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=27734); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=27736); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=28200); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=28249); +DELETE FROM `creature_ai_scripts` WHERE (`creature_id`=32273); + +-- Clean up ACID texts +DELETE FROM `creature_ai_texts` WHERE `entry`=-841; +DELETE FROM `creature_ai_texts` WHERE `entry`=-842; +DELETE FROM `creature_ai_texts` WHERE `entry`=-843; +DELETE FROM `creature_ai_texts` WHERE `entry`=-844; +DELETE FROM `creature_ai_texts` WHERE `entry`=-845; +DELETE FROM `creature_ai_texts` WHERE `entry`=-846; +DELETE FROM `creature_ai_texts` WHERE `entry`=-847; +DELETE FROM `creature_ai_texts` WHERE `entry`=-848; +DELETE FROM `creature_ai_texts` WHERE `entry`=-849; +DELETE FROM `creature_ai_texts` WHERE `entry`=-850; +DELETE FROM `creature_ai_texts` WHERE `entry`=-851; +DELETE FROM `creature_ai_texts` WHERE `entry`=-852; +DELETE FROM `creature_ai_texts` WHERE `entry`=-853; +DELETE FROM `creature_ai_texts` WHERE `entry`=-854; +DELETE FROM `creature_ai_texts` WHERE `entry`=-855; +DELETE FROM `creature_ai_texts` WHERE `entry`=-856; +DELETE FROM `creature_ai_texts` WHERE `entry`=-857; +DELETE FROM `creature_ai_texts` WHERE `entry`=-858; +DELETE FROM `creature_ai_texts` WHERE `entry`=-859; +DELETE FROM `creature_ai_texts` WHERE `entry`=-860; +DELETE FROM `creature_ai_texts` WHERE `entry`=-861; +DELETE FROM `creature_ai_texts` WHERE `entry`=-862; +DELETE FROM `creature_ai_texts` WHERE `entry`=-863; +DELETE FROM `creature_ai_texts` WHERE `entry`=-864; +DELETE FROM `creature_ai_texts` WHERE `entry`=-865; +DELETE FROM `creature_ai_texts` WHERE `entry`=-866; +DELETE FROM `creature_ai_texts` WHERE `entry`=-867; +DELETE FROM `creature_ai_texts` WHERE `entry`=-868; +DELETE FROM `creature_ai_texts` WHERE `entry`=-869; +DELETE FROM `creature_ai_texts` WHERE `entry`=-870; +DELETE FROM `creature_ai_texts` WHERE `entry`=-871; +DELETE FROM `creature_ai_texts` WHERE `entry`=-872; +DELETE FROM `creature_ai_texts` WHERE `entry`=-873; +DELETE FROM `creature_ai_texts` WHERE `entry`=-874; +DELETE FROM `creature_ai_texts` WHERE `entry`=-875; +DELETE FROM `creature_ai_texts` WHERE `entry`=-876; + +-- Quest fix ( if you already had quest done should be able to do it again you can in off blizz ... soo) +UPDATE `quest_template` SET `SpecialFlags` = 1 WHERE `entry` = 13151; +UPDATE `quest_template` SET `SpecialFlags` = 1 WHERE `entry` = 13149; + + +-- Mal'Ganis completion of encounter +DELETE FROM `achievement_criteria_requirement` WHERE `criteria_id` IN (6381, 6808); +INSERT INTO `achievement_criteria_requirement` VALUES +(6381, 12, 0, 0), +(6808, 12, 1, 0); + +-- ---------------------------------------- +-- spell scripts and ect spell_area_stuff - +-- ---------------------------------------- + +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) values('58825','1','27733'); +REPLACE INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_start_active`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`) values('35481','4100','0','0','0','0','0','1','1'); +REPLACE INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_start_active`, `quest_end`, `aura_spell`, `racemask`, `gender`, `autocast`) values('35480','4100','0','0','0','0','0','0','1'); +REPLACE INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES ('58825', '1', '27733'); + +-- ---------------------------- +-- Creature Stuff - +-- ---------------------------- + +UPDATE `creature_template` SET `modelid_2` = 24769 WHERE `entry` = 27747; +UPDATE `creature_template` SET `modelid_2` = 24768 WHERE `entry` = 27745; +UPDATE `creature_template` SET `modelid_2` = 24949 WHERE `entry` = 26499; + +UPDATE `creature` SET `spawntimesecs`= 36000 WHERE `id` IN (31127, 31126, 28167, 28169); + +-- Remove old versions +DELETE FROM `creature` WHERE `guid` IN (4456649,4456653,4458724,4458725,4458738,4458739,4458740,4458741,4459981,4459615); +DELETE FROM `creature` WHERE `id` IN (27731,27734,28249,27736,27915,30571,26499,26497,26528,27891,27892,27884,32273,28439); + +-- DB error corrections for above sql query +DELETE FROM `creature_movement` WHERE (`id`='138237' AND `point`='1') OR (`id`='138237' AND `point`='2') OR (`id`='138238' AND `point`='1') OR (`id`='138238' AND `point`='2') OR (`id`='138239' AND `point`='1') OR (`id`='138239' AND `point`='2') OR (`id`='138239' AND `point`='3') OR (`id`='138239' AND `point`='4'); +DELETE FROM `creature_movement` WHERE (`id`='138288' AND `point`='1') OR (`id`='138288' AND `point`='2') OR (`id`='138289' AND `point`='1') OR (`id`='138289' AND `point`='2'); + +-- added some npc s of my own for mirco management + -- footman +DELETE FROM `creature_template` WHERE (`entry`=70000); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (70000, 0, 0, 0, 0, 0, 24768, 24768, 0, 0, 'Lordaeron Footman', '', '', 0, 80, 80, 12600, 12600, 0, 0, 9730, 2076, 2076, 0, 1, 1.14286, 1, 1, 420, 630, 0, 157, 2.7, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 336, 504, 126, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52317, 25710, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 223, 0, 0, 0, 0, 'npc_arthas_marine'); + +DELETE FROM `creature_template` WHERE (`entry`=70001); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (70001, 0, 0, 0, 0, 0, 24768, 24768, 0, 0, 'Lordaeron Footman', '', '', 0, 80, 80, 12600, 12600, 0, 0, 9730, 2076, 2076, 0, 1, 1.14286, 1, 1, 420, 630, 0, 157, 2.7, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 336, 504, 126, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52317, 25710, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 223, 0, 0, 0, 0, 'npc_arthas_marine'); + +DELETE FROM `creature_template` WHERE (`entry`=70002); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (70002, 0, 0, 0, 0, 0, 24768, 24768, 0, 0, 'Lordaeron Footman', '', '', 0, 80, 80, 12600, 12600, 0, 0, 9730, 2076, 2076, 0, 1, 1.14286, 1, 1, 420, 630, 0, 157, 2.7, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 336, 504, 126, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52317, 25710, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 223, 0, 0, 0, 0, 'npc_arthas_marine'); + +DELETE FROM `creature_template` WHERE (`entry`=70003); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (70003, 0, 0, 0, 0, 0, 24768, 24768, 0, 0, 'Lordaeron Footman', '', '', 0, 80, 80, 12600, 12600, 0, 0, 9730, 2076, 2076, 0, 1, 1.14286, 1, 1, 420, 630, 0, 157, 2.7, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 336, 504, 126, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52317, 25710, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 223, 0, 0, 0, 0, 'npc_arthas_marine'); + + -- micro manage spawn w/ news one in there recyling old guids +DELETE FROM `creature` WHERE `id`=27745; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(115398, 27745, 595, 3, 1, 0, 0, 1878.83, 1293.39, 144.713, 4.62512, 300, 0, 0, 12600, 0, 0, 0), +(115399, 27745, 595, 3, 1, 0, 0, 1890.86, 1276.52, 143.972, 1.41372, 300, 0, 0, 12600, 0, 0, 0), +(115400, 27745, 595, 3, 1, 0, 0, 1885.96, 1293.62, 144.286, 4.55531, 300, 0, 0, 12600, 0, 0, 0), +(115401, 27745, 595, 3, 1, 0, 0, 1871.08, 1272.27, 144.368, 1.67552, 300, 0, 0, 12600, 0, 0, 0), +(115402, 27745, 595, 3, 1, 0, 0, 1862.39, 1272.2, 144.483, 1.50098, 300, 0, 0, 12600, 0, 0, 0), +(115403, 27745, 595, 3, 1, 0, 0, 1853.78, 1272.17, 144.605, 1.48353, 300, 0, 0, 12600, 0, 0, 0), +(115404, 27745, 595, 3, 1, 0, 0, 1872.02, 1292.99, 145.134, 4.7822, 300, 0, 0, 12600, 0, 0, 0), +(115405, 70000, 595, 3, 1, 0, 0, 2042.13, 1293.14, 143.336, 4.64258, 300, 0, 0, 12600, 0, 0, 0), +(115406, 70001, 595, 3, 1, 0, 0, 2046.71, 1281.91, 143.321, 1.51844, 300, 0, 0, 12600, 0, 0, 0), +(115407, 70002, 595, 3, 1, 0, 0, 2041.97, 1281.66, 143.554, 1.62316, 300, 0, 0, 12600, 0, 0, 0), +(115408, 70003, 595, 3, 1, 0, 0, 2046.86, 1293.33, 143.132, 4.7822, 300, 0, 0, 12600, 0, 0, 0), +(115409, 27745, 595, 3, 1, 0, 0, 1853.45, 1291.8, 145.002, 4.79966, 300, 0, 0, 12600, 0, 0, 0), +(115410, 27745, 595, 3, 1, 0, 0, 1896.66, 1276.79, 144.026, 1.5708, 300, 0, 0, 12600, 0, 0, 0), +(115411, 27745, 595, 3, 1, 0, 0, 1902.72, 1276.73, 143.809, 1.78024, 300, 0, 0, 12600, 0, 0, 0), +(115412, 27745, 595, 3, 1, 0, 0, 1859.01, 1292.22, 145.239, 4.7473, 300, 0, 0, 12600, 0, 0, 0), +(115413, 27745, 595, 3, 1, 0, 0, 1865.2, 1292.56, 145.297, 4.62512, 300, 0, 0, 12600, 0, 0, 0), +(115414, 27745, 595, 3, 1, 0, 0, 1845.58, 1272.22, 144.815, 1.50098, 300, 0, 0, 12600, 0, 0, 0); + + -- priest +DELETE FROM `creature_template` WHERE (`entry`=70004); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (70004, 0, 0, 0, 0, 0, 24769, 0, 0, 0, 'High Elf Mage-Priest', '', '', 0, 80, 80, 10080, 10080, 8814, 8814, 7784, 2076, 2076, 0, 1, 1.14286, 1, 1, 307, 459, 0, 115, 2.9, 2000, 2000, 8, 0, 0, 0, 0, 0, 0, 0, 246, 367, 92, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34232, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 14, 0, 0, 0, 0, 'npc_arthas_priest'); + +DELETE FROM `creature_template` WHERE (`entry`=70005); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (70005, 0, 0, 0, 0, 0, 24769, 0, 0, 0, 'High Elf Mage-Priest', '', '', 0, 80, 80, 10080, 10080, 8814, 8814, 7784, 2076, 2076, 0, 1, 1.14286, 1, 1, 307, 459, 0, 115, 2.9, 2000, 2000, 8, 0, 0, 0, 0, 0, 0, 0, 246, 367, 92, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34232, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 14, 0, 0, 0, 0, 'npc_arthas_priest'); + + -- micro manage spawn w/ news one in there recyling old guids +DELETE FROM `creature` WHERE `id`=27747; +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(115421, 27747, 595, 3, 1, 0, 0, 1878.1, 1268.57, 144.42, 1.79769, 300, 0, 0, 10080, 8814, 0, 0), +(115422, 27747, 595, 3, 1, 0, 0, 1873.36, 1268.36, 144.561, 1.55334, 300, 0, 0, 10080, 8814, 0, 0), +(115423, 70004, 595, 3, 1, 0, 0, 2037.91, 1293.03, 143.499, 4.72984, 300, 0, 0, 10080, 8814, 0, 0), +(115424, 70005, 595, 3, 1, 0, 0, 2037.59, 1281.81, 143.666, 1.48353, 300, 0, 0, 10080, 8814, 0, 0), +(115425, 27747, 595, 3, 1, 0, 0, 1868.76, 1268.27, 144.655, 1.53589, 300, 0, 0, 10080, 8814, 0, 0); + +-- end of this + + +-- Add Whats needed -- +DELETE FROM `creature` WHERE `id` in (27915, 26499, 26497, 26528, 27891, 27892, 32273, 28439, 30571); +INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`curhealth`,`curmana`,`DeathState`,`MovementType`) VALUES +(700000, 27915, 595, 3, 1, 0, 0, 1812.49, 1284.81, 142.248, 4.03364, 300, 0, 0, 17010, 0, 0, 0), +(700001, 26499, 595, 3, 1, 0, 1613, 1920.87, 1287.12, 142.935, 6.25562, 43200, 0, 0, 44100, 7988, 0, 0), +(700002, 26497, 595, 3, 1, 0, 1221, 1896.39, 1292.91, 143.711, 0.016332, 300, 0, 0, 100800, 88140, 0, 0), +(700003, 26528, 595, 3, 1, 0, 1819, 1761.42, 1285.75, 139.945, 4.93874, 300, 0, 0, 126000, 59910, 0, 0), +(700004, 27891, 595, 3, 1, 0, 0, 1603.38, 805.988, 123.272, 1.90688, 300, 0, 0, 8982, 0, 0, 0), +(700005, 27892, 595, 3, 1, 0, 0, 1602.3, 809.385, 123.454, 5.02884, 300, 0, 0, 8982, 0, 0, 0), +(700006, 32273, 595, 3, 1, 0, 1839, 2330.93, 1275.59, 132.848, 3.60489, 300, 0, 0, 417911, 0, 0, 0), +(700007, 28439, 595, 3, 1, 0, 0, 2336.56, 1277.9, 132.885, 3.47923, 300, 0, 0, 1, 0, 0, 0), +(700008, 30571, 595, 3, 1, 0, 0, 1553.37, 578.078, 99.7624, 5.83105, 300, 0, 0, 8982, 0, 0, 0), +(700009, 27884, 595, 3, 1, 0, 0, 1636.7, 725.642, 113.662, 0.893359, 300, 0, 0, 8982, 0, 0, 0); + diff --git a/sql_mr/mr00257_mangos_game_event_stuff.sql b/sql_mr/mr00257_mangos_game_event_stuff.sql new file mode 100644 index 0000000..10452a4 --- /dev/null +++ b/sql_mr/mr00257_mangos_game_event_stuff.sql @@ -0,0 +1,119 @@ +-- ------------------------------ +-- Game Events && Holiday Stuff - +-- ------------------------------ + +-- -------------------------- +-- Hallow Ends +-- -------------------------- + +-- Fixed Correct spell on bobbing apples ( Hallow Ends Event ) // DBC still showing wrong description in-game but effect works like it should +UPDATE `item_template` SET `spellid_1` = 24707 WHERE `entry` = 20516; + +-- ------------------------------------------ +-- Boss Headless Horseman fight in scarlet monastry +-- ------------------------------------------ + +-- Scriptname assignment + +UPDATE creature_template SET ScriptName = 'boss_headless_horseman' WHERE entry = 23682; +UPDATE creature_template SET ScriptName = 'npc_horsemans_head' WHERE entry = 23775; +UPDATE creature_template SET ScriptName = 'mob_pulsing_pumpkin' WHERE entry = 23694; + +-- Pumkin fiend template fixes +UPDATE `creature_template` SET `modelid_2` = 21822, `faction_A` = 14, `faction_H` = 14 WHERE `entry` = 23545; + +-- Pulsing pumkin template fixes +UPDATE `creature_template` SET `modelid_2` = 24720, `faction_A` = 14, `faction_H` = 14, `type` = 6, `mechanic_immune_mask` = 8388624, `flags_extra` = 0 WHERE `entry` = 23694; + +-- head of the horseman fixes +UPDATE `creature_template` SET `modelid_2` = 21908, `faction_A` = 7, `faction_H` = 7, `mechanic_immune_mask` = 787202047 WHERE `entry` = 23775; + +-- Fixes to his template ( smart to wiped clean and replaced data) +-- Headless Horseman fixes and ect +DELETE FROM `creature_template` WHERE (`entry`=23682); +INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `unk16`, `unk17`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `vehicle_id`, `equipment_id`, `trainer_id`, `vendor_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`) VALUES (23682, 0, 0, 0, 0, 0, 22351, 0, 0, 0, 'Headless Horseman', '', '', 0, 80, 80, 126000, 126000, 3994, 3994, 9929, 14, 14, 0, 1, 1.14286, 1, 3, 405, 609, 0, 152, 17.2, 2000, 2000, 2, 0, 0, 0, 0, 0, 0, 0, 324, 487, 122, 6, 1024, 23682, 0, 0, 0, 0, 0, 0, 0, 0, 42587, 42380, 42394, 0, 0, 0, 0, '', 0, 3, 10, 1, 0, 33277, 0, 0, 0, 0, 0, 167, 1, 0, 10400, 0, 0, 646659039, 0, 'boss_headless_horseman'); + +-- Fix quest script to correct horseman summon location +DELETE FROM `quest_end_scripts` WHERE `id`=11405; +INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `data_flags`,`dataint`,`dataint2`,`dataint3`,`dataint4`, `x`, `y`, `z`, `o`,`comments`) VALUES +(11405, 0, 10, 23682, 1200000, 0, 0, 0, '0', '0', '0', '0', 1766.798, 1349.538, 18.6855, 6.2786, ''); + +DELETE FROM `quest_end_scripts` WHERE `id`=11404; +INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `data_flags`,`dataint`,`dataint2`,`dataint3`,`dataint4`, `x`, `y`, `z`, `o`,`comments`) VALUES +(11404, 0, 10, 23682, 1200000, 0, 0, 0, '0', '0', '0', '0', 1766.798, 1349.538, 18.6855, 6.2786, ''); + +DELETE FROM `quest_end_scripts` WHERE `id`=11401; +INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `data_flags`,`dataint`,`dataint2`,`dataint3`,`dataint4`, `x`, `y`, `z`, `o`,`comments`) VALUES +(11401, 0, 10, 23682, 1200000, 0, 0, 0, '0', '0', '0', '0', 1766.798, 1349.538, 18.6855, 6.2786, ''); + +DELETE FROM `quest_end_scripts` WHERE `id`=11392; +INSERT INTO `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `datalong3`, `datalong4`, `data_flags`,`dataint`,`dataint2`,`dataint3`,`dataint4`, `x`, `y`, `z`, `o`,`comments`) VALUES +(11392, 0, 10, 23682, 1200000, 0, 0, 0, '0', '0', '0', '0', 1766.798, 1349.538, 18.6855, 6.2786, ''); + +-- -- Quest fix to get quest inside instance w/o having the others from the villages ( this is the daily neutral one ) +UPDATE `quest_template` SET `PrevQuestId` = 0 WHERE `entry` = 11401; + +-- built new equip_template for him +DELETE FROM `creature_equip_template` WHERE (`entry`=10400); +INSERT INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES (10400, 38175, 0, 0); + +-- fix no sword showing on regen/whirlwinding headless dude +UPDATE `creature_template` SET `equipment_id` = 10400 WHERE `entry` = 23800; + +-- -------------------------------------------------------------------------------------------------------------------------------------------- + +-- ----------------------------- +-- Headless horseman Quest Event +-- ----------------------------- + +-- Headless Horseman fire bunny +UPDATE creature_template SET unit_flags = 0, AIName = '', faction_a = 35, faction_h = 35, ScriptName = 'npc_horseman_fire_bunny' WHERE entry = 23686; +UPDATE creature_template SET InhabitType = 4, ScriptName = 'npc_shade_of_horseman' WHERE entry = 23543; + +-- Headless Horseman fire bunny +UPDATE creature_template SET unit_flags = 0, AIName = 'EventAI' WHERE entry = 23686; +INSERT INTO creature_ai_scripts (id,creature_id,event_type,event_chance,action1_type,action1_param1) VALUES +-- visual fire aura on initial spawn +(2368601,23686,11,100,11,42075), +-- evade immediately after receiving bucket hit +(2368602,23686,4,100,24,0); + +DELETE FROM game_event WHERE entry = 101; +INSERT INTO game_event (entry,start_time,end_time,occurence,LENGTH,description) VALUES +(101,'2012-11-02 18:45:00','2020-12-31 09:00:00','15','6','Hallows End - Horseman Village Attack'); + +DELETE FROM creature WHERE id IN (23543,23686); +INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `DeathState`, `MovementType`) VALUES +-- Elwynn Forest +-- Shade of Horseman +('400042','23543','0','1','1','0','1870','-9482.45','64.2219','76.6803','6.12238','900','0','0','2220','0','0','2'), +-- Fire Bunny +('400031','23686','0','1','65535','0','0','-9452.62','43.2718','57.0975','1.17919','900','0','0','7000','7196','0','0'), +('400032','23686','0','1','65535','0','0','-9452.99','80.362','57.3495','4.99359','900','0','0','7000','7196','0','0'), +('400033','23686','0','1','65535','0','0','-9468.09','79.9088','57.7395','4.60482','900','0','0','7000','7196','0','0'), +('400034','23686','0','1','65535','0','0','-9479.98','29.4727','56.1416','3.0835','900','0','0','7000','7196','0','0'), +('400035','23686','0','1','65535','0','0','-9480.2','41.9719','56.9226','2.84004','900','0','0','7000','7196','0','0'), +('400036','23686','0','1','65535','0','0','-9468.28','44.7625','56.7081','1.47502','900','0','0','7000','7196','0','0'), +('400037','23686','0','1','65535','0','0','-9481.17','23.2341','56.6099','2.91857','900','0','0','7000','7196','0','0'), +('400038','23686','0','1','65535','0','0','-9479.61','34.9436','57.3245','2.99319','900','0','0','7000','7196','0','0'), +('400039','23686','0','1','65535','0','0','-9460.37','81.2598','57.9887','4.87028','900','0','0','7000','7196','0','0'), +('400040','23686','0','1','65535','0','0','-9474.57','43.9885','56.6427','1.51664','900','0','0','7000','7196','0','0'), +('400041','23686','0','1','65535','0','0','-9458.91','45.2892','56.6756','1.48287','900','0','0','7000','7196','0','0'), +-- Durotar +-- Shade of Horseman +('400043','23543','1','1','1','0','1870','347.11','-4720.79','31.8356','1.29259','900','0','0','2220','0','0','2'), +-- Fire Bunny +('400044','23686','1','1','1','0','0','370.54','-4717.46','15.853','4.49793','900','0','0','7000','7196','0','0'), +('400045','23686','1','1','1','0','0','364.968','-4715.02','15.7461','3.795','900','0','0','7000','7196','0','0'), +('400046','23686','1','1','1','0','0','365.457','-4709.27','16.062','2.69151','900','0','0','7000','7196','0','0'), +('400047','23686','1','1','1','0','0','366.783','-4702.53','16.2973','2.73471','900','0','0','7000','7196','0','0'), +('400048','23686','1','1','1','0','0','345.918','-4710.18','16.7095','5.30687','900','0','0','7000','7196','0','0'), +('400049','23686','1','1','1','0','0','351.283','-4704.73','16.6699','5.31473','900','0','0','7000','7196','0','0'), +('400050','23686','1','1','1','0','0','356.453','-4700.39','16.5244','5.58962','900','0','0','7000','7196','0','0'), +('400051','23686','1','1','1','0','0','361.826','-4695.48','16.4174','5.55821','900','0','0','7000','7196','0','0'), +('400052','23686','1','1','1','0','0','338.509','-4707.98','17.6254','4.10129','900','0','0','7000','7196','0','0'), +('400053','23686','1','1','1','0','0','329.66','-4703.14','16.7397','4.31334','900','0','0','7000','7196','0','0'), +('400054','23686','1','1','1','0','0','322.6','-4698.53','16.8243','4.28585','900','0','0','7000','7196','0','0'); + +DELETE FROM game_event_creature WHERE guid IN (SELECT guid FROM creature WHERE id IN (23543,23686)); +INSERT INTO game_event_creature (guid,EVENT) SELECT guid, 101 FROM creature WHERE id IN (23543,23686); \ No newline at end of file diff --git a/sql_mr/mr00257_scriptdev2_culling_of_stratholme.sql b/sql_mr/mr00257_scriptdev2_culling_of_stratholme.sql new file mode 100644 index 0000000..b6f3e5c --- /dev/null +++ b/sql_mr/mr00257_scriptdev2_culling_of_stratholme.sql @@ -0,0 +1,217 @@ +REPLACE INTO script_texts (entry, content_default, content_loc8, sound, type, language, emote, comment) VALUES +-- TAVERN EVENT +(-1597270, 'Hey! Stop rooting around down there in my cellar! Clear out!', 'Эй! А ну, хорош рыться в моей кладовке! Проваливайте!', 0,0,0,1, '34587'), +(-1597271, 'This whole situation seems a bit paranoid, don\'t you think?', 'По-моему, все это сильно смахивает на паранойю, вы не находите?', 0,0,0,25, '34587'), +(-1597272, 'Orders are orders, if prince says jump...', 'Приказ есть приказ. Если принц говорит прыгать...', 0,0,0,1, '34587'), +(-1597273, 'It\'s a strange order, you can not deny Suspicious food? Under that definition, you should arrest the chef Michael!', 'Странный приказ, что верно, то верно. Подозрительная пища? Тогда уж и Белфаста арестовывайте!', 0,0,0,1, '34587'), +(-1597274, 'I HEARD THAT! No more ale for you! Not a drop!', 'Я ВСЕ СЛЫШАЛ! Больше эля ты не получишь! Ни капли!', 0,0,0,25, '34587'), +(-1597275, 'Enough, Michael. Business is hurting enough with this scare as it is. We can use every copper.', 'Довольно, Майкл. Наши дела и так страдают из-за этой угрозы. Сейчас каждый медяк на счету.', 0,0,0,274, '34587'), +(-1597276, 'The soldiers are doing important work. The safely of the people is more important, now, if you\'re interested in your customers living to spend another day.', 'Солдаты заняты очень важным делом, Мал. Если ты хочешь, чтобы твои покупатели дожили до завтрашнего дня - надо обеспечить их безопасность.', 0,0,0,1, '34587'), +(-1597277, 'I can\'t argue with that.', 'С этим не поспоришь.', 0,0,0,1, '34587'), +(-1597278, 'Don\'t worry too much. By the time I went off duty, we had not found a scrap of befouled grain here.', 'Не стоит так сильно волноваться. К тому времени, как я сдал пост, мы не нашли здесь и следа этого мерзского зерна.', 0,0,0,274, '34587'), +(-1597279, 'Thank the Light for that.', 'Скажи спасибо Свету.', 0,0,0,1, '34587'), +-- ROGER EVENT +(-1597280, 'Wait, what\'s that smell?', 'Стоп, что за вонь?', 0,0,0,1, '34587'), +(-1597281, 'Can\'t be me, I took a bath 3 days ago!', 'Это не от меня, я мылся 3 дня назад!', 0,0,0,1, '34587'), +(-1597282, 'Oh, close call. It\'s just the grain here.', 'О, это всего лишь зерно.', 0,0,0,1, '34587'), +(-1597283, 'Wait a second. Grain isn\'t supposed to smell like THAT! I better go find a guard.', 'Погоди. Зерно не может ТАК вонять! Я лучше пойду поищу стражника.', 0,0,0,1, '34587'), +-- MORIGAN EVENT +(-1597284, 'You don\'t mind me checking out your merchandise for signs of tampering, do you?', 'Вы же не возражаете, чтобы я проверил ваши товары?', 0,0,0,1, '34587'), +(-1597285, 'No, sir.', 'Нет, сэр.', 0,0,0,1, '34587'), +(-1597286, 'Wait, what is it? Youve been holding out on me, Perelli!', 'Подождите-ка, что это? Ты скрывал это от меня, Перелли!', 0,0,0,0, '34587'), +(-1597287, 'What are you talking about, Sergeant?', 'О чем вы говорите, сержант?', 0,0,0,1, '34587'), +(-1597288, 'I am confiscating this suspicious grain, Perelli. We were looking for signs of tampered food, and it would be in your best interest to stay put while Prince Arthas checks this out.', 'Я конфискую это подозрительное зерно, Перелли. Мы искали признаки подозрительной еды, и было бы в твоих лучших интересах оставаться на месте, пока принц Артас разбирается в происходящем.', 0,0,0,1, '34587'), +(-1597289, 'You have to belive me, I am innocent!', 'Вы должны верить мне, я не виновен!', 0,0,0,20, '34587'), +(-1597290, 'Well see about that. Perelli. Well see about that.', 'Это мы посмотрим, Перелли. Это мы посмотрим.', 0,0,0,1, '34587'), +-- JENA EVENT +(-1597291, 'Martha. I am out of flour for bread. You wouldn\'t happen to have any grain from that recent, would you?', 'Марта, я не нашла у себя муки для выпечки хлеба. Вы не одолжите мне зерна?', 0,0,0,1, '34587'), +(-1597292, 'Oh hello, Jena. Of Course you can borrow some grain. Help yourself.', 'О, привет Джена. Конечно я одолжу вам зерна. Возьмите сами.', 0,0,0,1, '34587'), +(-1597293, 'Thanks. Martha! I owe you one.', 'Спасибо. Марта! Я твоя должница.', 0,0,0,1, '34587'), +(-1597294, 'Martha, somethings wrong with this grain! Some of the Princes soldiers were looking for this. Im going to go look for one.', 'Марта, с этим зерном что-то не так! Солдаты Принца что-то говорили о нем. Пойду-ка поищу кого-нибудь из них.', 0,0,0,1, '34587'), +(-1597295, 'Oh, my.', 'Боже мой.', 0,0,0,1, '34587'), +-- MALCOLM EVENT +(-1597296, 'Looks like a storms coming in, Scruffy...', 'Похоже на приближающуюся бурю, Лохмач...', 0,0,0,0, '34587'), +(-1597297, 'Whats wrong, pal?', 'Что случилось, друг?', 0,0,0,1, '34587'), +(-1597298, 'What did you find, boy?', 'Что ты нашел, парень?', 0,0,0,0, '34587'), +(-1597299, 'This is no good, Scruffy. Stay here and guard the house. I need to go find a soldier.', 'Выглядит плохо, Лохмач. Стой тут и охраняй дом, а я пока сбегаю - поищу солдат.', 0,0,0,0, '34587'), +-- BARTLEBY EVENT +(-1597300, 'I knew I should have secured the wagon lock better when I was in Andorhal.', 'Надо было получше запереть фургон в Андорале.', 0,0,0,1, '34587'), +(-1597301, 'This grain shipmend has been nothing but trouble!', 'От этого зерна пока одни лишь хлопоты!', 0,0,0,1, '34587'), +(-1597302, 'Well, guess I should load everything back into the cart.', 'Ну, наверное, мне нужно сложить все обратно в телегу.', 0,0,0,0, '34587'), +(-1597303, 'Oh, come on! My cart broke, my horse a shoe, and now the cargo goes bad!', 'О, черт! Моя телега сломалась, моя лошадь потеряла подкову, а теперь еще и с грузом проблемы!', 0,0,0,1, '34587'), +(-1597304, 'I guess I\'ll go find the authorites. If I\'m lucky theyll tell me it\'s the plague and that were all to die!', 'Похоже, мне придется идти искать представителей закона. Если мне повезет, они скажут, что это чума и что скоро мы все умрем!', 0,0,0,1, '34587'), +-- ARTHAS INTRO EVENT +(-1594071, 'Glad you could make it, Uther.', 'Я рад, что ты пришел, Утер!', 12828,0,0,1, '34587'), +(-1594072, 'Watch your tone with me boy. You may be the prince, but I am still your superior as a paladin!', 'Следи за своим тоном, юноша. Хоть ты и принц, но, как паладин, ты все еще находишься под моим командованием.', 12839,0,0,25, '34587'), +(-1594073, 'As if I could forget. Listen, Uther, there\'s something about the plague you should know...', 'Как будто я не помню. Послушай, Утер, я должен рассказать тебе кое-что про чуму...', 12829,0,0,0, '34587'), +(-1594074, 'Oh, no. Were too late. These people have all been infected! They may look fine now, but it\'s just a matter of time before they turn into the undead!', 'О нет. Мы опоздали. Все эти люди заражены чумой! Сейчас это еще незаметно, но скоро все они превратятся в нежить!', 12830,0,0,1, '34587'), +(-1594075, 'What?', 'Что?', 12840,0,0,5, '34587'), +(-1594076, 'This entire city must be purged.', 'Весь город должен быть очищен.', 12831,0,0,1, '34587'), +(-1594077, 'How can you even consider that? There\'s got to be some other way.', 'Как ты мог даже подумать об этом?! Должен быть какой-то другой путь!', 12841,0,0,1, '34587'), +(-1594078, 'Damn it, Uther! As your future king, I order you to purge this city!', 'Проклятие, Утер! Как будущий король, я приказываю тебе очистить этот город!', 12832,1,0,5, '34587'), +(-1594079, 'You are not my king yet, boy! Nor would I obey that command even if you were!', 'Пока ты еще не король, юноша. Но этот приказ я не выполнил бы, будь ты хоть трижды королем!', 12842,1,0,22, '34587'), +(-1594080, 'Then I must consider this an act of treason.', 'Тогда я буду расценивать это как измену.', 12833,0,0,0, '34587'), +(-1594081, 'Treason? Have you lost your mind, Arthas?', 'Измену? Ты совсем лишился рассудка, Артас?', 12843,0,0,5, '34587'), +(-1594082, 'Have I? Lord Uther, by my right of succession and the sovereignty of my crown, I hereby relieve you of your command and suspend your paladins from service.', 'Неужели? Лорд Утер, властью, данной мне по праву наследования, я отстраняю вас от командования и освобождаю от службы ваших паладинов.', 12834,0,0,1, '34587'), +(-1594083, 'Arthas! You cant just...', 'Артас! Ты не можешь так просто...', 12837,0,0,1, '34587'), +(-1594084, 'It\'s done! those of you who have the will to save this land, follow me! The rest of you... get out of my sight!', 'Это уже сделано! Те из вас, кто действительно хочет спасти эту землю - за мной! Остальные - прочь с глаз моих!', 12835,0,0,0, '34587'), +(-1594085, 'You\'ve just crossed a terrible threshold, Arthas!', 'Ты пересек опасную черту, Артас.', 12844,0,0,25, '34587'), +(-1594086, 'Jaina?', 'Джайна?', 12836,0,0,1, '34587'), +(-1594087, 'Im sorry Arthas. I can\'t watch you do this.', 'Прости, Артас. Я не могу на это смотреть.', 12838,0,0,1, '34587'), +(-1594088, 'Take position here and I will lead a small force inside Stratholme to begin the culling. We must contain and purge the infected for the sake of all of Lordaeron!', 'Займите позицию, а я поведу небольшой отряд в Стратхольм и начну очищение. Мы должны изолировать и уничтожить зараженных жителей ради всего Лордерона!', 14327,1,0,1, '34587'), +-- ARTHAS ENTER IN THE CITY +(-1594089, 'Everyone looks ready. Remember, these people are all infected with the plague and will die soon. We must purge Stratholme to protect the remainder of Lordaeron from the Scourge. Lets go!', 'Похоже, все готовы. Помните, эти люди заражены чумой и скоро умрут. Мы должны очистить Стратхольм и защитить Лордерон от Плети. Вперед.', 14293,0,0,1, '26499'), +(-1594090, 'Prince Arthas, may the light be praised. Many people in the town have begun to fall seriously ill. Can you help us?', 'Принц Артас, слава Свету! Многие горожане серьезно больны. Можете ли вы помочь нам?', 0,0,0,1, '26499'), +(-1594091, 'I can help you only with a clean death.', 'Я могу помочь вам лишь быстрой смертью.', 14294,0,0,0, '26499'), +(-1594092, 'What? This cant be!', 'Что? Этого не может быть!', 0,0,0,0, '26499'), +(-1594093, 'Oh... My g...', 'О... Мой б...', 0,0,0,0, '26499'), +(-1594094, 'This is begining!', 'Это было только начало.', 14295,0,0,1, '26499'), +(-1594095, 'Yes, this is the beginning. I\'ve been waiting for you, young prince. I am Mal\'Ganis.', 'Да, это начало. Я ждал тебя, юный принц. Я Мал\'Ганис.', 14410,0,0,1, '26499'), +(-1594096, 'As you can see, your people are now mine. I will now turn this city, household by household, until the flame of life has been snuffed out forever.', 'Как видишь, твои люди отныне принадлежат мне. Дом за домом я порабощу этот город, и огонь жизни угаснет здесь навсегда...',14411,0,0,1, '26499'), +(-1594097, 'I will not allow this, Mal\'Ganis. Better these people will die from my hand, than become your slaves after death.', 'Я не допущу этого, Мал\'Ганис! Лучше эти люди погибнут от моей руки, чем станут твоими рабами после смерти!',14296,0,0,5, '26499'), +(-1594098, 'Mal\'Ganis will send his Scourge henchmen to meet us. Skilled warriors and mages go and destroy enemies. I will lead the remaining troops in the purification of Stratholme from infection.', 'Мал\'Ганис отправит своих прислужников из Плети навстречу нам. Опытные воины и маги, ступайте и уничтожьте врагов. Я возглавлю оставшиеся войска в деле очищения Стратхольма от заразы.',14885,0,0,1, '26499'), +-- MEATHOOK +(-1594110, 'Play time!', 'Поиграем!',13428,0,0,0, '26499'), +(-1594111, 'New toys!', 'Новые игрушки!',13429,1,0,0, '26499'), +(-1594112, 'This not fun...', 'Это не смешно...',13433,1,0,0, '26499'), +(-1594113, 'Boring...', 'Скучно...',13430,1,0,0, '26499'), +(-1594114, 'Why you stop moving?', 'Почему ты не двигаться?',13431,1,0,0, '26499'), # ! +(-1594115, 'Get up! Me not done!', 'Вставай! Я не закончил!',13432,1,0,0, '26499'), # ! +-- SALRAMM +(-1594129, 'You are too late, champion of Lordaeron. The dead shall have their day.', 'Слишком поздно, герой Лордерона! Пришло время мертвых.',0,1,0,0, '26499'), +(-1594130, 'Ah, the entertainment has arrived!', 'А, развлечемся!',0,1,0,0, '26499'), +(-1594131, 'You only advance... the master\'s plan...', 'Вы всего лишь часть плана хозяина...',0,1,0,0, '26499'), +(-1594132, 'The fun is just beginning!', 'Веселье только начинается!',0,1,0,0, '26499'), +(-1594133, 'Aah, quality materials!', 'Аааа, качественный материал...',0,1,0,0, '26499'), +(-1594134, 'Don\'t worry, I\'ll make good use of you.', 'Не волнуйся, я найду куда тебя приспособить...',0,1,0,0, '26499'), +(-1594135, 'I want a sample...', 'Мне нужен образец!',0,1,0,0, '26499'), +(-1594136, 'Such strength... it must be mine!', 'Столько силы... Она будет моей....',0,1,0,0, '26499'), +(-1594137, 'Your flesh betrays you.', 'Твоя плоть предает тебя!',0,1,0,0, '26499'), +(-1594138, 'Say hello to some friends of mine.', 'Познакомтесь с моими друзьями...',0,1,0,0, '26499'), +(-1594139, 'Come, citizen of Stratholme! Meet your saviors.', 'Жители Стратхольма, встречайте ваших спасителей...',0,1,0,0, '26499'), +(-1594140, 'BOOM! Hahahahah...', 'Бум... Ха-ха-ха-ха...',0,1,0,0, '26499'), +(-1594141, 'Blood... destruction... EXHILARATING!', 'Кровь... Разрушение... Восхитительно...',0,1,0,0, '26499'), +-- ARTHAS - HOUSE +(-1594142, 'Heroes, hurry up, we\'ll meet near town hall. We must fight with Mal\'Ganis on its territory!', 'Герои, поспешите, встретимся у городской ратуши. Мы должны сразиться с Мал\'Ганисом на его территории!',14297,1,0,0, '26499'), +(-1594143, 'Follow me, I know the way.', 'Идите за мной. Я знаю дорогу.',14298,0,0,1, '26499'), +(-1594144, 'Ah, You\'ve finaly arrived, Prince Arthas. You\'re here just in the nick of time.', 'О, вы наконец-то прибыли, принц Артас. Вы едва успели.',0,0,0,1, '26499'), +(-1594145, 'Yes! I\'m glad to get here before plague!', 'Да! Я рад, что смог добраться сюда раньше чумы.',14299,0,0,1, '26499'), +(-1594146, 'What kind of magic is this?', 'Что это за магия?',14300,0,0,0, '26499'), +(-1594147, 'Theres no need for you in understand Arthas. All you need to do is die!', 'Тебе и не надо этого понимать, Артас. Все, что от тебя требуется – это умереть.',0,0,0,11, '26499'), +(-1594148, 'Seems that Mal\'Ganis has something else except Scourge. Let\'s hurry.', 'Кажется у Мал\'Ганиса в распоряжении есть еще кое что кроме Плети. Давайте поспешим.',14301,0,0,0, '26499'), +(-1594149, 'Dark magic again... Be ready for all.', 'Снова черная магия... Будьте готовы ко всему!',14302,0,0,0, '26499'), +(-1594150, 'Come on.', 'Идем дальше.',14303,0,0,0, '26499'), +(-1594151, 'Be on the alert. We were surrounded.', 'Будьте начеку. Нас окружили.',14304,0,0,0, '26499'), +(-1594152, 'Mal\'Ganis doesn\'t want to make our life easier...', 'Мал\'Ганис не собирается облегчить нам жизнь.',14305,0,0,0, '26499'), +(-1594153, 'They are stubborn.', 'Они упрямы.',14306,0,0,0, '26499'), +(-1594154, 'What else he will put in my way?', 'Что еще он поставит у меня на пути?',14307,0,0,0, '26499'), +(-1594155, 'Prince Arthas Menethil, in this day mighty evil devoured your soul. Death, which you had to bring to others, today will come for you.', 'Принц Артас Менетил, в этот самый день могущественное зло поглотило твою душу. Смерть, которую ты должен был принести другим, сегодня придет за тобой.',13408,0,0,0, '26499'), +(-1594156, 'I do for Lordaeron that should, and words and deeds will not stop me.', 'Я делаю для Лордерона то, что должен, и никакие слова и поступки меня не остановят.',14309,0,0,5, '26499'), +(-1594157, 'Let\'s see, young prince...', 'Ну что ж, посмотрим, юный принц.',13409,0,0,0, '26499'), +-- Epoch +(-1594119, 'We\'ll see about that, young prince.', 'Поcмотрим, молодой принц.',13416,0,0,0, '26499'), +(-1594120, 'There is no future for you.', 'У тебя нет будущего...',13413,1,0,0, '26499'), +(-1594121, 'This is the hour of our greatest triumph!', 'Пробил час нашего величайшего триумфа..',13414,1,0,0, '26499'), +(-1594122, 'You were destined to fail.', 'Тебе было суждено потерпеть поражение...',13415,1,0,0, '26499'), +(-1594123, 'Tick tock, tick tock...', 'Тик-так... Тик-так...',13410,1,0,0, '26499'), +(-1594124, 'Not quick enough!', 'Слишком медленно...',13411,1,0,0, '26499'), +(-1594125, 'Let\'s get this over with.', 'Пора заканчивать...',13412,1,0,0, '26499'), +-- Street +(-1594158, 'It will take not much time.', 'Это займет совсем немного времени.',14310,0,0,0, '26499'), +(-1594159, 'Thanks Light, backdoor still works!', 'Слава Свету, что потайной ход еще работает.',14311,0,0,0, '26499'), +(-1594160, 'Let\'s pass through this area as soon as possible. If we do not perish from the undead, we can die from this fire.', 'Давайте пройдем этот участок как можно быстрее. Если мы не погибнем от нежити, то можем погибнуть от этого огня.',14312,0,0,0, '26499'), +(-1594161, 'Breather a little bit, but keep in mind, we will soon again in the path.', 'Отдышитесь немного. Но имейте в виду, нам скоро снова в путь.',14313,0,0,0, '26499'), +(-1594162, 'The rest is over, let\'s go. Mal\'Ganis waits.', 'Отдых окончен, надо идти. Мал\'Ганис ждет.',14314,0,0,0, '26499'), +(-1594163, 'Finally, we even like that lucky! The fire has not yet reached the commercial area. Mal\'Ganis should be in Square of Knights, which is not far from here. Tell me when you\'re ready to go.', 'Наконец нам хоть как-то повезло. Огонь еще не добрался до Торгового ряда. Мал\'Ганис должен быть на Площади рыцарей, которая находится недалеко отсюда. Скажите мне, как будете готовы идти дальше.',14315,0,0,0, '26499'), +(-1594164, 'Let\'s justice will be here.', 'Да свершится правосудие.',14316,0,0,0, '26499'), +-- malganis +(-1594170, 'This will be a fine test, Prince Arthas.', 'Это будет достойное испытание, принц Артас.',14413,1,0,0, '26499'), +(-1594171, 'All too easy.', 'Слишком просто...',14416,1,0,0, '26499'), +(-1594172, 'The dark lord is displeased with your interference.', 'Темный повелитель не доволен твоим вмешательством...',14417,1,0,0, '26499'), +(-1594173, 'It is Prince Arthas I want, not you.', 'Мне нужен Принц Артас, а не ты...',14418,1,0,0, '26499'), +(-1594174, 'Anak\'Keri...', 'Анак Кири...',14422,1,0,0, '26499'), +(-1594175, 'My onslaught will wash over the Lich King\'s forces...', 'Мой натиск сметет силы Короля-Лича...',14423,1,0,0, '26499'), +(-1594176, 'Your death is in vain, tiny mortal...', 'Твоя смерть была напрасна насекомое...',14424,1,0,0, '26499'), +(-1594177, 'Your time has come to an end!', 'Твое время вышло...',14425,1,0,0, '26499'), +(-1594178, '*Struggling sounds* I spent too much time in that weak little shell...', 'Аррррхххх... Я и так провел слишком много времени в этой слабой оболочке...',14426,1,0,0, '26499'), +(-1594179, 'I AM MAL\'GANIS! I AM ETERNAL!', 'Ирл Нарат... Я Мал\'Ганис.... Я вечен...',14427,1,0,0, '26499'), +(-1594180, 'You\'ll never defeat the Lich King without my forces! I\'ll have my revenge...on him, AND you...', 'Тебе никогда не победить короля - лича без моих войск! Я отомщу и тебе и ему...',14429,1,0,0, '26499'), +(-1594181, 'We\'re going to finish this right now, Mal\'Ganis!', 'Мы покончим с этим сейчас же, Мал\'Ганис. Один на один.',14317,0,0,0, '26499'), +(-1594182, 'Your journey has just begun, young prince. Gather your forces, and meet me in the arctic land of Northrend. It is there we shall settle the score between us. It is there that your true destiny will unfold.', 'Твое путешествие начинается, юный принц. Собирай свои войска и отправляйся в царство вечных снегов, в Нордскол. Там мы и уладим все наши дела, там ты узнаешь свою судьбу.',14412,0,0,0, '26499'), +(-1594183, 'I\'ll hunt you to the ends of the earth if I have to! Do you hear me? To the ends of the earth!', 'Я отыщу тебя на краю земли! Ты слышишь меня? На краю земли!',14318,1,0,5, '26499'), +(-1594184, 'You performed well this day. Anything that Mal\'Ganis has left behind is yours. Take it as your reward. I must now begin plans for an expedition to Northrend.', 'Вы славно сражались сегодня. Все, что Мал\'Ганис оставил тут – ваша награда. А мне нужно начинать готовиться к экспедиции в Нордскол.',14319,0,0,5, '26499'), +(-1594185, 'Time out...', 'Отдохни!',14414,1,0,0, '26499'), +(-1594186, 'You seem tired.', 'Ты выглядишь усталым!',14415,1,0,0, '26499'), +(-1594187, 'ENOUGH! I waste my time here...I must gather my strength on the home world...', 'Я лишь зря трачу тут свое время. Мне нужно собраться силами в моем родном мире.',14428,1,0,0, '26499'); + +-- for official Sd2 --> DB clean up query +DELETE FROM gossip_texts WHERE entry BETWEEN -3595005 AND -3595000; + +DELETE FROM script_waypoint WHERE entry=26528; +DELETE FROM script_waypoint WHERE entry=26499; +INSERT INTO script_waypoint VALUES +-- Uther + (26528, 0, 1772.707,1263.927,138.867, 0, 'WP1'), + (26528, 1, 1810.249,1276.557,141.854, 0, 'WP2'), + (26528, 2, 1810.249,1276.557,141.854, 0, 'WP3'), + (26528, 3, 1851.476,1281.370,144.106, 0, 'WP4 - Arthas Move'), + (26528, 4, 1898.716,1288.757,143.461, 90000, 'WP5 - Pause Escort'), + (26528, 5, 1851.476,1281.370,144.106, 0, 'WP6'), + (26528, 6, 1794.357,1272.183,140.558, 0, 'WP7 - Uther Despawn'), +-- Arthas + (26499, 0, 1902.959,1295.127,143.388, 0, 'WP1'), + (26499, 1, 1916.657,1287.327,141.946, 0, 'WP2'), + (26499, 2, 1913.726,1287.407,141.927, 10000, 'WP3 - Dialog'), + (26499, 3, 1990.833,1293.391,145.467, 0, 'WP4'), + (26499, 4, 1997.003,1317.776,142.963, 0, 'WP5'), + (26499, 5, 2019.631,1326.084,142.929, 0, 'WP6'), + (26499, 6, 2026.469,1287.088,143.596, 0, 'WP7'), + (26499, 7, 2054.879,1287.505,142.422, 0, 'WP8'), + (26499, 8, 2050.660,1287.333,142.671, 0, 'WP9 - Pause Escort'), + (26499, 9, 2050.652,1287.382,142.672, 12000, 'WP10'), + (26499, 10, 2081.447,1287.770,141.324, 2000, 'wp11'), + (26499, 11, 2099.876,1280.210,138.550, 0, 'WP12'), + (26499, 12, 2120.757,1286.970,136.343, 0, 'WP13'), + (26499, 13, 2165.073,1279.338,133.400, 0, 'WP14'), + (26499, 14, 2186.441,1234.445,136.524, 0, 'WP15'), + (26499, 15, 2210.385,1207.550,136.259, 0, 'WP16'), + (26499, 16, 2243.594,1177.705,137.144, 0, 'WP17'), + (26499, 17, 2286.883,1177.262,137.631, 0, 'WP18'), + (26499, 18, 2320.374,1179.954,133.926, 0, 'WP19'), + (26499, 19, 2354.626,1192.099,130.535, 0, 'WP20'), + (26499, 20, 2363.374,1194.101,131.414, 0, 'WP21 - pause'), + (26499, 21, 2364.749,1194.660,131.672, 3000, 'WP22 - say'), + (26499, 22, 2390.256,1204.235,134.125, 0, 'WP21 - pause escort and start event'), #2500 2396.035 1206.942 134.038 + (26499, 23, 2442.023,1219.205,133.999, 0, 'WP22'), + (26499, 24, 2446.945,1192.559,148.100, 0, 'WP23'), + (26499, 25, 2443.161,1191.442,148.076, 5000, 'WP24 - summon portal'), + (26499, 26, 2428.901,1192.164,148.076, 0, 'WP25'), + (26499, 27, 2418.487,1196.059,148.076, 0, 'WP26'), + (26499, 28, 2401.221,1191.705,148.076, 0, 'WP27'), + (26499, 29, 2409.143,1157.000,148.190, 1000, 'WP28 - trap'), + (26499, 30, 2417.584,1121.026,148.082, 10000, 'WP29'), + (26499, 31, 2420.949,1119.944,148.075, 29000, 'WP30 - pause'), + (26499, 32, 2444.682,1111.705,148.076, 0, 'WP31 - Stop'), + + (26499, 33, 2457.133,1120.941,150.008, 0, 'House WP11'), + (26499, 34, 2459.694,1127.012,150.008, 0, 'House WP12'), + (26499, 35, 2469.617,1122.274,150.008, 0, 'House WP13'), + (26499, 36, 2470.437,1122.794,150.008, 3000, 'Open Shkaf'), + (26499, 37, 2471.662,1123.077,150.035, 3000, 'Shkaf Dialog'), + (26499, 38, 2483.183,1125.042,149.905, 0, 'Secret WP1'), + (26499, 39, 2487.867,1099.760,144.858, 0, 'Secret WP2'), + (26499, 40, 2498.270,1101.929,144.599, 0, 'Secret WP3'), + (26499, 41, 2492.114,1128.238,139.967, 0, 'Secret WP4'), + (26499, 42, 2500.286,1130.183,139.982, 0, 'Room WP1'), + (26499, 43, 2503.010,1119.241,139.978, 0, 'Room WP2'), + (26499, 44, 2517.820,1122.645,132.066, 0, 'Room WP3'), + (26499, 45, 2540.479,1129.061,130.868, 7000, 'Fire Street WP1'), + (26499, 46, 2568.619,1157.794,126.906, 0, 'Fire Street WP2'), + (26499, 47, 2556.074,1222.058,125.412, 0, 'Fire Street WP3'), + (26499, 48, 2521.531,1295.209,130.573, 20000, 'Fire Street WP4'), + (26499, 49, 2504.362,1348.667,132.944, 0, 'Fire Street WP5'), + (26499, 50, 2450.594,1431.544,131.361, 0, 'Fire Street WP6'), + (26499, 51, 2353.485,1404.839,128.531, 0, 'Stop Malganis'), + (26499, 52, 2329.882,1406.273,128.013, 0, 'wp'), + (26499, 53, 2300.415,1489.316,128.362, 0, 'wp stop'), + (26499, 54, 2329.882,1406.273,128.013, 0, 'wp'); diff --git a/sql_mr/scriptdev2_spell_comment_from_wowd.sql b/sql_mr/scriptdev2_spell_comment_from_wowd.sql new file mode 100644 index 0000000..a5fec77 --- /dev/null +++ b/sql_mr/scriptdev2_spell_comment_from_wowd.sql @@ -0,0 +1,19 @@ +-- Insert comments to scriptdev2 boss_spell_table from WOWD database. +-- Change WOWD database name if you use this! + +CREATE ALGORITHM = TEMPTABLE VIEW `commentlist` +(`entry` ,`spell`, `comment`) +AS SELECT `scriptdev2`.`boss_spell_table`.`entry`, +`spellID_N10`, +CONCAT(`mangos`.`creature_template`.`name`, +' : ', +`mangos`.`wowd_spell`.`SpellName`) +FROM `scriptdev2`.`boss_spell_table` +INNER JOIN `mangos`.`creature_template` ON `mangos`.`creature_template`.`entry` = `scriptdev2`.`boss_spell_table`.`entry` +INNER JOIN `mangos`.`wowd_spell` ON `mangos`.`wowd_spell`.`id` = `scriptdev2`.`boss_spell_table`.`spellID_N10`; + +UPDATE `scriptdev2`.`boss_spell_table` SET `comment` = (SELECT DISTINCT `commentlist`.`comment` +FROM `commentlist` WHERE `scriptdev2`.`boss_spell_table`.`entry` = `commentlist`.`entry` +AND `scriptdev2`.`boss_spell_table`.`spellID_N10` = `commentlist`.`spell` +AND `scriptdev2`.`boss_spell_table`.`comment` IS NULL); +DROP VIEW `commentlist`; diff --git a/system/ScriptLoader.cpp b/system/ScriptLoader.cpp index 6a5ad5b..d413218 100644 --- a/system/ScriptLoader.cpp +++ b/system/ScriptLoader.cpp @@ -7,22 +7,13 @@ // battlegrounds extern void AddSC_battleground(); extern void AddSC_battlegroundSA(); +extern void AddSC_battlegroundIC(); // custom extern void AddSC_custom_cybernetic(); extern void AddSC_mob_teleguy(); extern void AddSC_npc_arena_honor(); -// OutdoorPvP zone scripts -extern void AddSC_outdoor_pvp_eastern_plaguelands(); -extern void AddSC_outdoor_pvp_silithus(); - -// OutdoorPvP -extern void AddSC_outdoor_pvp_eastern_kingdoms(); -extern void AddSC_outdoor_pvp_kalimdor(); -extern void AddSC_outdoor_pvp_northrend(); -extern void AddSC_outdoor_pvp_outland(); - // examples extern void AddSC_example_creature(); extern void AddSC_example_escort(); @@ -41,6 +32,8 @@ extern void AddSC_npcs_special(); extern void AddSC_spell_scripts(); extern void AddSC_pet_scripts(); +extern void AddSC_world_map_scripts(); + // eastern kingdoms extern void AddSC_blackrock_depths(); // blackrock_depths extern void AddSC_boss_ambassador_flamelash(); @@ -77,7 +70,8 @@ extern void AddSC_boss_chromaggus(); extern void AddSC_boss_nefarian(); extern void AddSC_boss_victor_nefarius(); extern void AddSC_instance_blackwing_lair(); -extern void AddSC_deadmines(); // deadmines +extern void AddSC_boss_mr_smite(); // deadmines +extern void AddSC_deadmines(); extern void AddSC_instance_deadmines(); extern void AddSC_gnomeregan(); // gnomeregan extern void AddSC_boss_thermaplugg(); @@ -539,17 +533,12 @@ void AddScripts() // battlegrounds AddSC_battleground(); AddSC_battlegroundSA(); + AddSC_battlegroundIC(); // custom AddSC_custom_cybernetic(); AddSC_mob_teleguy(); AddSC_npc_arena_honor(); - AddSC_outdoor_pvp_eastern_plaguelands(); // OutdoorPvP zone scripts. Must be _before_ map scripts call! - AddSC_outdoor_pvp_silithus(); - AddSC_outdoor_pvp_eastern_kingdoms(); // OutdoorPvP - AddSC_outdoor_pvp_kalimdor(); - AddSC_outdoor_pvp_northrend(); - AddSC_outdoor_pvp_outland(); // examples AddSC_example_creature(); @@ -568,6 +557,7 @@ void AddScripts() AddSC_npcs_special(); AddSC_spell_scripts(); AddSC_pet_scripts(); + AddSC_world_map_scripts(); // eastern kingdoms AddSC_blackrock_depths(); // blackrock_depths @@ -606,6 +596,7 @@ void AddScripts() AddSC_boss_victor_nefarius(); AddSC_instance_blackwing_lair(); AddSC_deadmines(); // deadmines + AddSC_boss_mr_smite(); AddSC_instance_deadmines(); AddSC_gnomeregan(); // gnomeregan AddSC_boss_thermaplugg(); diff --git a/tool/git_id_R2/git_id.cpp b/tool/git_id_R2/git_id.cpp new file mode 100644 index 0000000..a6ec971 --- /dev/null +++ b/tool/git_id_R2/git_id.cpp @@ -0,0 +1,459 @@ +/* + * Copyright (C) 2005-2011 MaNGOS + * Copyright (C) 2005-2011 ScriptDev2 + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#ifdef WIN32 +#include +#define popen _popen +#define pclose _pclose +#define snprintf _snprintf +#define putenv _putenv +#pragma warning (disable:4996) +#else +#include +#endif + +// max string sizes + +#define MAX_REMOTE 256 +#define MAX_MSG 16384 +#define MAX_PATH 2048 +#define MAX_BUF 2048 +#define MAX_CMD 2048 +#define MAX_HASH 256 +#define MAX_DB 256 + +// config + +#define NUM_REMOTES 2 +#define NUM_DATABASES 2 + +#define GIT_REV_PREFIX "sd2_mr" +#define GIT_REV_PRINT GIT_REV_PREFIX "%04d" +#define GIT_REV_FORMAT "[" GIT_REV_PRINT "]" + +char remotes[NUM_REMOTES][MAX_REMOTE] = { + "git@github.com:mangosR2/scriptdev2.git", + "git://github.com/mangosR2/scriptdev2.git" // used for fetch if present +}; + +char remote_branch[MAX_REMOTE] = "master"; +char rev_nr_file[MAX_PATH] = "sd2_revision_R2.h"; +char new_index_file[MAX_PATH] = ".git/git_id_index"; + + +bool allow_replace = false; +bool local = false; +bool do_fetch = false; +bool use_new_index = true; +bool generate_makefile = false; // not need for cmake build systems +// aux + +char origins[NUM_REMOTES][MAX_REMOTE]; +int rev; + +char head_message[MAX_MSG]; +char path_prefix[MAX_PATH] = ""; +char base_path[MAX_PATH]; +char buffer[MAX_BUF]; +char cmd[MAX_CMD]; +char origin_hash[MAX_HASH]; +char last_sql_update[NUM_DATABASES][MAX_PATH]; +char old_index_cmd[MAX_CMD]; +char new_index_cmd[MAX_CMD]; + +std::set new_sql_updates; + +FILE *cmd_pipe; + +bool find_path() +{ + printf("+ finding path\n"); + char *ptr; + char cur_path[MAX_PATH]; + getcwd(cur_path, MAX_PATH); + size_t len = strlen(cur_path); + strncpy(base_path, cur_path, len+1); + + if(cur_path[len-1] == '/' || cur_path[len-1] == '\\') + { + // we're in root, don't bother + return false; + } + + // don't count the root + int count_fwd = 0, count_back = 0; + for(ptr = cur_path-1; ptr = strchr(ptr+1, '/'); count_fwd++); + for(ptr = cur_path-1; ptr = strchr(ptr+1, '\\'); count_back++); + int count = std::max(count_fwd, count_back); + + char path[MAX_PATH]; + for(int i = 0; i < count; i++) + { + snprintf(path, MAX_PATH, "%s.git", path_prefix); + if(0 == chdir(path)) + { + chdir(cur_path); + return true; + } + strncat(path_prefix, "../", MAX_PATH); + + ptr = strrchr(base_path, '\\'); + if(ptr) *ptr = '\0'; + else + { + ptr = strrchr(base_path, '/'); + if(ptr) *ptr = '\0'; + } + } + + return false; +} + +bool find_origin() +{ + printf("+ finding origin\n"); + if( (cmd_pipe = popen( "git remote -v", "r" )) == NULL ) + return false; + + bool ret = false; + while(fgets(buffer, MAX_BUF, cmd_pipe)) + { + char name[256], remote[MAX_REMOTE]; + sscanf(buffer, "%s %s", name, remote); + for(int i = 0; i < NUM_REMOTES; i++) + { + if(strcmp(remote, remotes[i]) == 0) + { + strncpy(origins[i], name, MAX_REMOTE); + ret = true; + } + } + } + pclose(cmd_pipe); + return ret; +} + +bool fetch_origin() +{ + printf("+ fetching origin\n"); + // use the public clone url if present because the private may require a password + snprintf(cmd, MAX_CMD, "git fetch %s %s", (origins[1][0] ? origins[1] : origins[0]), remote_branch); + int ret = system(cmd); + return true; +} + +bool check_fwd() +{ + printf("+ checking fast forward\n"); + snprintf(cmd, MAX_CMD, "git log -n 1 --pretty=\"format:%%H\" %s/%s", (origins[1][0] ? origins[1] : origins[0]), remote_branch); + if( (cmd_pipe = popen( cmd, "r" )) == NULL ) + return false; + + if(!fgets(buffer, MAX_BUF, cmd_pipe)) return false; + strncpy(origin_hash, buffer, MAX_HASH); + pclose(cmd_pipe); + + if( (cmd_pipe = popen( "git log --pretty=\"format:%H\"", "r" )) == NULL ) + return false; + + bool found = false; + while(fgets(buffer, MAX_BUF, cmd_pipe)) + { + buffer[strlen(buffer) - 1] = '\0'; + if(strncmp(origin_hash, buffer, MAX_BUF) == 0) + { + found = true; + break; + } + } + pclose(cmd_pipe); + + if(!found) + { + // with fetch you still get the latest rev, you just rebase afterwards and push + // without it you may not get the right rev + if(do_fetch) printf("WARNING: non-fastforward, use rebase!\n"); + else { printf("ERROR: non-fastforward, use rebase!\n"); return false; } + } + return true; +} + +int get_rev(const char *from_msg) +{ + // accept only the rev number format, not the sql update format + char nr_str[256]; + if(sscanf(from_msg, "[" GIT_REV_PREFIX "%[0123456789]]", nr_str) != 1) return 0; + // ("[")+(REV_PREFIX)+("]")-1 + if(from_msg[strlen(nr_str)+strlen(GIT_REV_PREFIX)+2-1] != ']') return 0; + + return atoi(nr_str); +} + +bool find_rev() +{ + printf("+ finding next revision number\n"); + // find the highest rev number on either of the remotes + for(int i = 0; i < NUM_REMOTES; i++) + { + if(!local && !origins[i][0]) continue; + + if(local) snprintf(cmd, MAX_CMD, "git log HEAD --pretty=\"format:%%s\""); + else sprintf(cmd, "git log %s/%s --pretty=\"format:%%s\"", origins[i], remote_branch); + if( (cmd_pipe = popen( cmd, "r" )) == NULL ) + continue; + + int nr; + while(fgets(buffer, MAX_BUF, cmd_pipe)) + { + nr = get_rev(buffer); + if(nr >= rev) + rev = nr+1; + } + pclose(cmd_pipe); + } + + if(rev > 0) printf("Found " GIT_REV_FORMAT ".\n", rev); + + return rev > 0; +} + +std::string generateNrHeader(char const* rev_str) +{ + std::ostringstream newData; + newData << "#ifndef __SD2_REVISION_R2_H__" << std::endl; + newData << "#define __SD2_REVISION_R2_H__" << std::endl; + newData << " #define SD2_REVISION_R2 \"" << rev_str << "\"" << std::endl; + newData << "#endif // __SD2_REVISION_R2_H__" << std::endl; + return newData.str(); +} + +void system_switch_index(const char *cmd) +{ + // do the command for the original index and then for the new index + // both need to be updated with the changes before commit + // but the new index will contains only the desired changes + // while the old may contain others + system(cmd); + if(!use_new_index) return; + if(putenv(new_index_cmd) != 0) return; + system(cmd); + if(putenv(old_index_cmd) != 0) return; +} + +bool write_rev_nr() +{ + printf("+ writing sd2_revision_nr.h\n"); + char rev_str[256]; + sprintf(rev_str, "%04d", rev); + std::string header = generateNrHeader(rev_str); + + char prefixed_file[MAX_PATH]; + snprintf(prefixed_file, MAX_PATH, "%s%s", path_prefix, rev_nr_file); + + if(FILE* OutputFile = fopen(prefixed_file, "wb")) + { + fprintf(OutputFile,"%s", header.c_str()); + fclose(OutputFile); + + // add the file to both indices, to be committed later + snprintf(cmd, MAX_CMD, "git add %s", prefixed_file); + system_switch_index(cmd); + + return true; + } + + return false; +} + +bool find_head_msg() +{ + printf("+ finding last message on HEAD\n"); + if( (cmd_pipe = popen( "git log -n 1 --pretty=\"format:%s%n%n%b\"", "r" )) == NULL ) + return false; + + int poz = 0; + while(poz < 16384-1 && EOF != (head_message[poz++] = fgetc(cmd_pipe))); + head_message[poz-1] = '\0'; + + pclose(cmd_pipe); + + if(int head_rev = get_rev(head_message)) + { + if(!allow_replace) + { + printf("Last commit on HEAD is " GIT_REV_FORMAT ". Use -r to replace it with " GIT_REV_FORMAT ".\n", head_rev, rev); + return false; + } + + // skip the rev number in the commit + char *p = strchr(head_message, ']'), *q = head_message; + assert(p && *(p+1)); + p+=2; + while(*p) *q = *p, p++, q++; + *q = 0; + return true; + } + + return true; +} + +bool amend_commit() +{ + printf("+ amending last commit\n"); + + // commit the contents of the (new) index + if(use_new_index && putenv(new_index_cmd) != 0) return false; + snprintf(cmd, MAX_CMD, "git commit --amend -F-"); + if( (cmd_pipe = popen( cmd, "w" )) == NULL ) + return false; + + fprintf(cmd_pipe, GIT_REV_FORMAT " %s", rev, head_message); + pclose(cmd_pipe); + if(use_new_index && putenv(old_index_cmd) != 0) return false; + + return true; +} + + +bool copy_file(const char *src_file, const char *dst_file) +{ + FILE * fin = fopen( src_file, "rb" ); + if(!fin) return false; + FILE * fout = fopen( dst_file, "wb" ); + if(!fout) { fclose(fin); return false; } + + for(char c = getc(fin); !feof(fin); putc(c, fout), c = getc(fin)); + + fclose(fin); + fclose(fout); + return true; +} + +bool prepare_new_index() +{ + if(!use_new_index) return true; + + // only use a new index if there are staged changes that should be preserved + if( (cmd_pipe = popen( "git diff --cached", "r" )) == NULL ) { + use_new_index = false; + return false; + } + + if(!fgets(buffer, MAX_BUF, cmd_pipe)) + { + use_new_index = false; + pclose(cmd_pipe); + return true; + } + + pclose(cmd_pipe); + + printf("+ preparing new index\n"); + + // copy the existing index file to a new one + char src_file[MAX_PATH], dst_file[MAX_PATH]; + + char *old_index = getenv("GIT_INDEX_FILE"); + if(old_index) strncpy(src_file, old_index, MAX_PATH); + else snprintf(src_file, MAX_PATH, "%s.git/index", path_prefix); + snprintf(dst_file, MAX_PATH, "%s%s", path_prefix, new_index_file); + + if(!copy_file(src_file, dst_file)) return false; + + // doesn't seem to work with path_prefix + snprintf(new_index_cmd, MAX_CMD, "GIT_INDEX_FILE=%s/%s", base_path, new_index_file); + if(putenv(new_index_cmd) != 0) return false; + + // clear the new index + system("git reset -q --mixed HEAD"); + + // revert to old index + snprintf(old_index_cmd, MAX_CMD, "GIT_INDEX_FILE="); + if(putenv(old_index_cmd) != 0) return false; + return true; +} + +bool cleanup_new_index() +{ + if(!use_new_index) return true; + printf("+ cleaning up the new index\n"); + char idx_file[MAX_PATH]; + snprintf(idx_file, MAX_PATH, "%s%s", path_prefix, new_index_file); + remove(idx_file); + return true; +} + +#define DO(cmd) if(!cmd) { printf("FAILED\n"); return 1; } + +int main(int argc, char *argv[]) +{ + for(int i = 1; i < argc; i++) + { + if(argv[i] == NULL) continue; + if(strncmp(argv[i], "-r", 2) == 0 || strncmp(argv[i], "--replace", 9) == 0) + allow_replace = true; + else if(strncmp(argv[i], "-l", 2) == 0 || strncmp(argv[i], "--local", 7) == 0) + local = true; + else if(strncmp(argv[i], "-f", 2) == 0 || strncmp(argv[i], "--fetch", 7) == 0) + do_fetch = true; + else if(strncmp(argv[i], "--branch=", 9) == 0) + snprintf(remote_branch, MAX_REMOTE, "%s", argv[i] + 9); + else if(strncmp(argv[i], "-h", 2) == 0 || strncmp(argv[i], "--help", 6) == 0) + { + printf("Usage: git_id [OPTION]\n"); + printf("Generates a new rev number and updates sd2_revision_nr.h and the commit message.\n"); + printf("Should be used just before push.\n"); + printf(" -h, --help show the usage\n"); + printf(" -r, --replace replace the rev number if it was already applied\n"); + printf(" to the last commit\n"); + printf(" -l, --local search for the highest rev number on HEAD\n"); + printf(" -f, --fetch fetch from origin before searching for the new rev\n"); + printf(" for the new rev\n"); + printf(" --branch=BRANCH specify which remote branch to use\n"); + return 0; + } + } + + DO( find_path() ); + if(!local) + { + DO( find_origin() ); + if(do_fetch) + DO( fetch_origin() ); + DO( check_fwd() ); + } + DO( find_rev() ); + DO( find_head_msg() ); + DO( prepare_new_index() ); + DO( write_rev_nr() ); + DO( amend_commit() ); + DO( cleanup_new_index() ); + + return 0; +}