aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-05-20 15:16:37 +0200
committerKudlaty <none@none>2009-05-20 15:16:37 +0200
commitf55161579c6340f7c9ee167ec0306396b66e0ee8 (patch)
treef600e0ec499af8984309342f65fbddc18a3a77af /src
parent5ebeb2bc8ac35ad3f8c6d68481c47342df5cdb66 (diff)
Add taxi scripts for npc Bat Handler Camille
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/npc/npc_taxi.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/npc/npc_taxi.cpp b/src/bindings/scripts/scripts/npc/npc_taxi.cpp
index 252dc33f0b6..b92f5cf2a61 100644
--- a/src/bindings/scripts/scripts/npc/npc_taxi.cpp
+++ b/src/bindings/scripts/scripts/npc/npc_taxi.cpp
@@ -117,6 +117,12 @@ bool GossipHello_npc_taxi(Player *player, Creature *_Creature)
// top -> ground
player->ADD_GOSSIP_ITEM(0, "Yes, Please. I would like to return to the ground floor of the temple.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 22);
break;
+ case 23816: // Howling Fjord - Bat Handler Camille
+ if (!player->GetQuestRewardStatus(11229))
+ player->ADD_GOSSIP_ITEM(0, "I need to fly to the Windrunner Official business!", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 23);
+ if (player->GetQuestStatus(11170) == QUEST_STATUS_INCOMPLETE)
+ player->ADD_GOSSIP_ITEM(0, "I need to commandeer a riding bat for special assignment for us.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 24);
+ break;
}
player->SEND_GOSSIP_MENU(_Creature->GetNpcTextId(), _Creature->GetGUID());
@@ -223,6 +229,14 @@ bool GossipSelect_npc_taxi(Player *player, Creature *_Creature, uint32 sender, u
player->CLOSE_GOSSIP_MENU();
player->ActivateTaxiPathTo(879);
break;
+ case GOSSIP_ACTION_INFO_DEF + 23:
+ player->CLOSE_GOSSIP_MENU();
+ player->CastSpell(player,43074,true); //TaxiPath 736
+ break;
+ case GOSSIP_ACTION_INFO_DEF + 24:
+ player->CLOSE_GOSSIP_MENU();
+ player->ActivateTaxiPathTo(738);
+ break;
}
return true;