diff options
author | offl <offl@users.noreply.github.com> | 2020-04-30 19:37:22 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-01 23:22:09 +0100 |
commit | f32f812e29aa6164f8c85e580c9ae77caded6c0f (patch) | |
tree | e0fb87d15d602bf6c45d8697d06c7772ad4a3eb8 /src | |
parent | b8805f43897bc5b22a7e7491b055b8dad84a34aa (diff) |
DB/Quest: Becoming a Spellfire Tailor
Closes #24522
(cherry picked from commit 9638f0ad0b70084f06bf3b6a9d9e49f00830772e)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/World/item_scripts.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
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 @@ -86,29 +85,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(); |