From f32f812e29aa6164f8c85e580c9ae77caded6c0f Mon Sep 17 00:00:00 2001 From: offl Date: Thu, 30 Apr 2020 19:37:22 +0200 Subject: DB/Quest: Becoming a Spellfire Tailor Closes #24522 (cherry picked from commit 9638f0ad0b70084f06bf3b6a9d9e49f00830772e) --- src/server/scripts/World/item_scripts.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src') diff --git a/src/server/scripts/World/item_scripts.cpp b/src/server/scripts/World/item_scripts.cpp index 61bf411c03c..a0cbf070ce1 100644 --- a/src/server/scripts/World/item_scripts.cpp +++ b/src/server/scripts/World/item_scripts.cpp @@ -23,7 +23,6 @@ SDCategory: Items EndScriptData */ /* ContentData -item_nether_wraith_beacon(i31742) Summons creatures for quest Becoming a Spellfire Tailor (q10832) item_flying_machine(i34060, i34061) Engineering crafted flying machines item_gor_dreks_ointment(i30175) Protecting Our Own(q10488) item_only_for_flight Items which should only useable while flying @@ -85,29 +84,6 @@ public: } }; -/*##### -# item_nether_wraith_beacon -#####*/ - -class item_nether_wraith_beacon : public ItemScript -{ -public: - item_nether_wraith_beacon() : ItemScript("item_nether_wraith_beacon") { } - - bool OnUse(Player* player, Item* /*item*/, SpellCastTargets const& /*targets*/, ObjectGuid /*castId*/) override - { - if (player->GetQuestStatus(10832) == QUEST_STATUS_INCOMPLETE) - { - if (Creature* nether = player->SummonCreature(22408, player->GetPositionX(), player->GetPositionY()+20, player->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 180000)) - nether->AI()->AttackStart(player); - - if (Creature* nether = player->SummonCreature(22408, player->GetPositionX(), player->GetPositionY()-20, player->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 180000)) - nether->AI()->AttackStart(player); - } - return false; - } -}; - /*##### # item_gor_dreks_ointment #####*/ @@ -326,7 +302,6 @@ class item_generic_limit_chance_above_60 : public ItemScript void AddSC_item_scripts() { new item_only_for_flight(); - new item_nether_wraith_beacon(); new item_gor_dreks_ointment(); new item_mysterious_egg(); new item_disgusting_jar(); -- cgit v1.2.3