aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSorikoff <46191832+Sorikoff@users.noreply.github.com>2020-02-01 15:41:44 +0200
committerGitHub <noreply@github.com>2020-02-01 14:41:44 +0100
commit8c443ae39fe142491919e7cb50425163493d40ce (patch)
tree67df5385c832e0c3e87151fec330989fbb631003 /src
parent74d19691a56355c5932913ee7e5553d5125b1126 (diff)
Scripts/Borean Tundra: Iruk (#24117)
* Scripts/Borean Tundra: Iruk * Apply suggestions from code review Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update 9999_99_99_99_world.sql * Rename 9999_99_99_99_world.sql to 2020_02_01_01_world.sql Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/zone_borean_tundra.cpp54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/server/scripts/Northrend/zone_borean_tundra.cpp b/src/server/scripts/Northrend/zone_borean_tundra.cpp
index e18885c0530..34a0667c147 100644
--- a/src/server/scripts/Northrend/zone_borean_tundra.cpp
+++ b/src/server/scripts/Northrend/zone_borean_tundra.cpp
@@ -151,59 +151,6 @@ public:
};
/*######
-## npc_iruk
-######*/
-
-enum Iruk
-{
- GOSSIP_MENU_ID_NPC_IRUK = 9280,
- GOSSIP_OPTION_SEARCH_CORPSE = 0,
- NPC_TEXT_THIS_YOUNG_TUSKARR = 12585,
-
- QUEST_SPIRITS_WATCH_OVER_US = 11961,
-
- SPELL_CREATE_TOTEM_OF_ISSLIRUK = 46816
-};
-
-class npc_iruk : public CreatureScript
-{
-public:
- npc_iruk() : CreatureScript("npc_iruk") { }
-
- struct npc_irukAI : public ScriptedAI
- {
- npc_irukAI(Creature* creature) : ScriptedAI(creature) { }
-
- bool GossipHello(Player* player) override
- {
- if (player->GetQuestStatus(QUEST_SPIRITS_WATCH_OVER_US) == QUEST_STATUS_INCOMPLETE)
- AddGossipItemFor(player, GOSSIP_MENU_ID_NPC_IRUK, GOSSIP_OPTION_SEARCH_CORPSE, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
-
- SendGossipMenuFor(player, NPC_TEXT_THIS_YOUNG_TUSKARR, me->GetGUID());
- return true;
- }
-
- bool GossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override
- {
- uint32 const action = player->PlayerTalkClass->GetGossipOptionAction(gossipListId);
- ClearGossipMenuFor(player);
-
- if (action == GOSSIP_ACTION_INFO_DEF + 1)
- {
- player->CastSpell(player, SPELL_CREATE_TOTEM_OF_ISSLIRUK, true);
- CloseGossipMenuFor(player);
- }
- return true;
- }
- };
-
- CreatureAI* GetAI(Creature* creature) const override
- {
- return new npc_irukAI(creature);
- }
-};
-
-/*######
## npc_nerubar_victim
######*/
@@ -2343,7 +2290,6 @@ void AddSC_borean_tundra()
{
new npc_khunok_the_behemoth();
new npc_corastrasza();
- new npc_iruk();
new npc_nerubar_victim();
RegisterSpellScript(spell_q11865_place_fake_fur);
new npc_nesingwary_trapper();