mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
DB/Misc: Fix a few startup errors from recent Updates
This commit is contained in:
5
sql/updates/world/2015_02_15_14_world.sql
Normal file
5
sql/updates/world/2015_02_15_14_world.sql
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--
|
||||||
|
DELETE FROM `creature_addon` WHERE `guid` IN (127436, 127437);
|
||||||
|
DELETE FROM `linked_respawn` WHERE `guid` IN (127436, 127437);
|
||||||
|
DELETE FROM `spell_script_names` WHERE `spell_id`=8283 AND `ScriptName`='spell_snufflenose_command';
|
||||||
|
UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=26206;
|
||||||
@@ -29,7 +29,6 @@ npc_corastrasza
|
|||||||
npc_sinkhole_kill_credit
|
npc_sinkhole_kill_credit
|
||||||
npc_khunok_the_behemoth
|
npc_khunok_the_behemoth
|
||||||
npc_nerubar_victim
|
npc_nerubar_victim
|
||||||
npc_keristrasza
|
|
||||||
npc_nesingwary_trapper
|
npc_nesingwary_trapper
|
||||||
npc_lurgglbr
|
npc_lurgglbr
|
||||||
npc_nexus_drake_hatchling
|
npc_nexus_drake_hatchling
|
||||||
@@ -222,48 +221,6 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*######
|
|
||||||
## npc_keristrasza
|
|
||||||
######*/
|
|
||||||
|
|
||||||
enum Keristrasza
|
|
||||||
{
|
|
||||||
SPELL_TELEPORT_TO_SARAGOSA = 46772
|
|
||||||
};
|
|
||||||
|
|
||||||
#define GOSSIP_HELLO_KERI "I am prepared to face Saragosa!"
|
|
||||||
|
|
||||||
class npc_keristrasza : public CreatureScript
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
npc_keristrasza() : CreatureScript("npc_keristrasza") { }
|
|
||||||
|
|
||||||
bool OnGossipHello(Player* player, Creature* creature) override
|
|
||||||
{
|
|
||||||
if (creature->IsQuestGiver())
|
|
||||||
player->PrepareQuestMenu(creature->GetGUID());
|
|
||||||
|
|
||||||
if (player->GetQuestStatus(11957) == QUEST_STATUS_INCOMPLETE)
|
|
||||||
player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_HELLO_KERI, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
|
|
||||||
|
|
||||||
player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool OnGossipSelect(Player* player, Creature* /*creature*/, uint32 /*sender*/, uint32 action) override
|
|
||||||
{
|
|
||||||
player->PlayerTalkClass->ClearMenus();
|
|
||||||
if (action == GOSSIP_ACTION_INFO_DEF + 1)
|
|
||||||
{
|
|
||||||
player->CLOSE_GOSSIP_MENU();
|
|
||||||
player->CastSpell(player, SPELL_TELEPORT_TO_SARAGOSA, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/*######
|
/*######
|
||||||
## npc_corastrasza
|
## npc_corastrasza
|
||||||
######*/
|
######*/
|
||||||
@@ -2488,7 +2445,6 @@ void AddSC_borean_tundra()
|
|||||||
{
|
{
|
||||||
new npc_sinkhole_kill_credit();
|
new npc_sinkhole_kill_credit();
|
||||||
new npc_khunok_the_behemoth();
|
new npc_khunok_the_behemoth();
|
||||||
new npc_keristrasza();
|
|
||||||
new npc_corastrasza();
|
new npc_corastrasza();
|
||||||
new npc_iruk();
|
new npc_iruk();
|
||||||
new npc_nerubar_victim();
|
new npc_nerubar_victim();
|
||||||
|
|||||||
Reference in New Issue
Block a user