DB/Misc: Fix a few startup errors from recent Updates

This commit is contained in:
Rushor
2015-02-15 23:11:33 +01:00
parent 64fcbb8c91
commit cfc5fb29b6
2 changed files with 5 additions and 44 deletions

View 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;

View File

@@ -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();