Skip to content

Commit 8e34020

Browse files
NeatElvesSchmoozerd
authored andcommitted
[2375] Remove gossip for npc_zamael_lunthistle
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
1 parent 24acb8c commit 8e34020

4 files changed

Lines changed: 4 additions & 49 deletions

File tree

scripts/eastern_kingdoms/searing_gorge.cpp

Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -16,65 +16,20 @@
1616

1717
/* ScriptData
1818
SDName: Searing_Gorge
19-
SD%Complete: 80
20-
SDComment: Quest support: 3377
19+
SD%Complete: 0
20+
SDComment: Placeholder
2121
SDCategory: Searing Gorge
2222
EndScriptData */
2323

2424
/* ContentData
25-
npc_zamael_lunthistle
2625
EndContentData */
2726

2827
#include "precompiled.h"
2928

30-
/*######
31-
## npc_zamael_lunthistle
32-
######*/
33-
34-
bool GossipHello_npc_zamael_lunthistle(Player* pPlayer, Creature* pCreature)
35-
{
36-
if (pCreature->isQuestGiver())
37-
pPlayer->PrepareQuestMenu(pCreature->GetObjectGuid());
38-
39-
if (pPlayer->GetQuestStatus(3377) == QUEST_STATUS_INCOMPLETE)
40-
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Tell me your story", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF);
41-
42-
pPlayer->SEND_GOSSIP_MENU(1920, pCreature->GetObjectGuid());
43-
44-
return true;
45-
}
46-
47-
bool GossipSelect_npc_zamael_lunthistle(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
48-
{
49-
switch(uiAction)
50-
{
51-
case GOSSIP_ACTION_INFO_DEF:
52-
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Please continue...", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
53-
pPlayer->SEND_GOSSIP_MENU(1921, pCreature->GetObjectGuid());
54-
break;
55-
case GOSSIP_ACTION_INFO_DEF+1:
56-
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Goodbye", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 2);
57-
pPlayer->SEND_GOSSIP_MENU(1922, pCreature->GetObjectGuid());
58-
break;
59-
case GOSSIP_ACTION_INFO_DEF+2:
60-
pPlayer->CLOSE_GOSSIP_MENU();
61-
pPlayer->AreaExploredOrEventHappens(3377);
62-
break;
63-
}
64-
return true;
65-
}
66-
6729
/*######
6830
##
6931
######*/
7032

7133
void AddSC_searing_gorge()
7234
{
73-
Script* pNewScript;
74-
75-
pNewScript = new Script;
76-
pNewScript->Name = "npc_zamael_lunthistle";
77-
pNewScript->pGossipHello = &GossipHello_npc_zamael_lunthistle;
78-
pNewScript->pGossipSelect = &GossipSelect_npc_zamael_lunthistle;
79-
pNewScript->RegisterSelf();
8035
}

sd2_revision_nr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#ifndef __SD2_REVISION_NR_H__
22
#define __SD2_REVISION_NR_H__
3-
#define SD2_REVISION_NR "2374"
3+
#define SD2_REVISION_NR "2375"
44
#endif // __SD2_REVISION_NR_H__

sql/mangos_scriptname_full.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,6 @@ INSERT INTO scripted_event_id VALUES
938938
(5623,'event_spell_gandling_shadow_portal');
939939

940940
/* SEARING GORGE */
941-
UPDATE creature_template SET ScriptName='npc_zamael_lunthistle' WHERE entry=8436;
942941

943942
/* SHADOWFANG KEEP */
944943
UPDATE instance_template SET ScriptName='instance_shadowfang_keep' WHERE map=33;

sql/updates/r2375_mangos.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE creature_template SET ScriptName='' WHERE entry=8436;

0 commit comments

Comments
 (0)