From 62d1ee680b5cd7fc1053527332c3859cf621c727 Mon Sep 17 00:00:00 2001 From: Nay Date: Thu, 29 Aug 2013 15:36:38 +0100 Subject: Core/Quests: Drop world.quest_template.RequiredSpellCastX These were non-wdb fields that didn't have much use. Most quests that were using these fields (not many) should still work, however, if you find any quest that worked before and is now broken please report it in the issue tracker and it will be promptly fixed. --- src/server/scripts/Commands/cs_quest.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/server/scripts/Commands') diff --git a/src/server/scripts/Commands/cs_quest.cpp b/src/server/scripts/Commands/cs_quest.cpp index 6b7d10ff7b1..12912f68bd5 100644 --- a/src/server/scripts/Commands/cs_quest.cpp +++ b/src/server/scripts/Commands/cs_quest.cpp @@ -207,12 +207,7 @@ public: int32 creature = quest->RequiredNpcOrGo[i]; uint32 creaturecount = quest->RequiredNpcOrGoCount[i]; - if (uint32 spell_id = quest->RequiredSpellCast[i]) - { - for (uint16 z = 0; z < creaturecount; ++z) - player->CastedCreatureOrGO(creature, 0, spell_id); - } - else if (creature > 0) + if (creature > 0) { if (CreatureTemplate const* cInfo = sObjectMgr->GetCreatureTemplate(creature)) for (uint16 z = 0; z < creaturecount; ++z) -- cgit v1.2.3