Skip to content

Commit

Permalink
Transalte 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Shutok committed Jun 28, 2012
1 parent b6ccbfc commit 12b44ed
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,21 @@ class npc_jaina_or_sylvanas_hor : public CreatureScript

return true;
}

bool OnGossipHello(Player* player, Creature* creature)
if (creature->isQuestGiver())

bool OnGossipHello(Player* player, Creature* creature)
{
if (creature->isQuestGiver())
player->PrepareQuestMenu(creature->GetGUID());

QuestStatus status = player->GetQuestStatus(m_isSylvana ? QUEST_DELIVRANCE_FROM_THE_PIT_H2 : QUEST_DELIVRANCE_FROM_THE_PIT_A2);
if (status == QUEST_STATUS_COMPLETE || status == QUEST_STATUS_REWARDED)
player->ADD_GOSSIP_ITEM( 0, "¿Puedes mover la espada?", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
player->ADD_GOSSIP_ITEM( 0, "Can you remove the sword?", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);

// once last quest is completed, she offers this shortcut of the starting event
QuestStatus status2 = player->GetQuestStatus(m_isSylvana ? QUEST_WRATH_OF_THE_LICH_KING_H2 : QUEST_WRATH_OF_THE_LICH_KING_A2);
if (status2 == QUEST_STATUS_COMPLETE || status2 == QUEST_STATUS_REWARDED)
player->ADD_GOSSIP_ITEM( 0, "Mi señora, Arthas se esta acercando, sea como sea, hagamoslo rapido.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);
player->ADD_GOSSIP_ITEM( 0, "Dark Lady, I think I hear Arthas coming. Whatever you're going to do, do it quickly.", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);

player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, creature->GetGUID());
return true;
Expand Down

0 comments on commit 12b44ed

Please sign in to comment.