From 18a0809720966999469ed32c81538676147835af Mon Sep 17 00:00:00 2001 From: maanuel Date: Tue, 22 Dec 2009 02:53:02 -0300 Subject: Howling Fjord: Correct gossip script for creature 24040. Added taxi path spell. --HG-- branch : trunk --- src/bindings/scripts/scripts/northrend/howling_fjord.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/bindings/scripts/scripts/northrend/howling_fjord.cpp b/src/bindings/scripts/scripts/northrend/howling_fjord.cpp index a25d7b19b3a..70bce878d84 100644 --- a/src/bindings/scripts/scripts/northrend/howling_fjord.cpp +++ b/src/bindings/scripts/scripts/northrend/howling_fjord.cpp @@ -267,13 +267,17 @@ bool GossipSelect_npc_razael_and_lyana(Player* pPlayer, Creature* pCreature, uin ## npc_mcgoyver ######*/ -#define GOSSIP_ITEM_MG_I "Create Dark Iron Ingots" +#define GOSSIP_ITEM_MG_I "Walt sent me to pick up some dark iron ingots." +#define GOSSIP_ITEM_MG_II "Yarp." enum eMcGoyver { - QUEST_WE_CAN_REBUILD_IT = 11483, + QUEST_WE_CAN_REBUILD_IT = 11483, - SPELL_CREATURE_DARK_IRON_INGOTS = 44512, + SPELL_CREATURE_DARK_IRON_INGOTS = 44512, + SPELL_TAXI_EXPLORERS_LEAGUE = 44280, + + GOSSIP_TEXTID_MCGOYVER = 12193 }; bool GossipHello_npc_mcgoyver(Player* pPlayer, Creature* pCreature) @@ -290,7 +294,12 @@ bool GossipSelect_npc_mcgoyver(Player* pPlayer, Creature* pCreature, uint32 uiSe switch(uiAction) { case GOSSIP_ACTION_INFO_DEF+1: + pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM_MG_II, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2); + pPlayer->SEND_GOSSIP_MENU(GOSSIP_TEXTID_MCGOYVER, pCreature->GetGUID()); pPlayer->CastSpell(pPlayer, SPELL_CREATURE_DARK_IRON_INGOTS, true); + break; + case GOSSIP_ACTION_INFO_DEF+2: + pPlayer->CastSpell(pPlayer, SPELL_TAXI_EXPLORERS_LEAGUE, true); pPlayer->CLOSE_GOSSIP_MENU(); break; } -- cgit v1.2.3