diff options
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ghostlands.cpp')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ghostlands.cpp | 39 | 
1 files changed, 0 insertions, 39 deletions
| diff --git a/src/server/scripts/EasternKingdoms/ghostlands.cpp b/src/server/scripts/EasternKingdoms/ghostlands.cpp index a5a8bd45cfd..6c33ee4a02c 100644 --- a/src/server/scripts/EasternKingdoms/ghostlands.cpp +++ b/src/server/scripts/EasternKingdoms/ghostlands.cpp @@ -34,45 +34,6 @@ EndContentData */  #include "ScriptedEscortAI.h"  /*###### -## npc_blood_knight_dawnstar -######*/ - -#define GOSSIP_H_BKD "Take Blood Knight Insignia" - -class npc_blood_knight_dawnstar : public CreatureScript -{ -public: -    npc_blood_knight_dawnstar() : CreatureScript("npc_blood_knight_dawnstar") { } - -    bool OnGossipSelect(Player* player, Creature* /*creature*/, uint32 /*uiSender*/, uint32 uiAction) -    { -        player->PlayerTalkClass->ClearMenus(); -        if (uiAction == GOSSIP_ACTION_INFO_DEF+1) -        { -            ItemPosCountVec dest; -            uint8 msg = player->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 24226, 1, NULL); -            if (msg == EQUIP_ERR_OK) -            { -                player->StoreNewItem(dest, 24226, 1, true); -                player->PlayerTalkClass->ClearMenus(); -            } -        } -        return true; -    } - -    bool OnGossipHello(Player* player, Creature* creature) -    { -        if (player->GetQuestStatus(9692) == QUEST_STATUS_INCOMPLETE && !player->HasItemCount(24226, 1, true)) -            player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_H_BKD, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1); - -        player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID()); - -        return true; -    } - -}; - -/*######  ## npc_budd_nedreck  ######*/ | 
