diff options
| author | Nay <dnpd.dd@gmail.com> | 2013-08-29 15:36:38 +0100 |
|---|---|---|
| committer | Nay <dnpd.dd@gmail.com> | 2013-08-29 15:36:38 +0100 |
| commit | 62d1ee680b5cd7fc1053527332c3859cf621c727 (patch) | |
| tree | 1665547ba0f96b54fdd516f1c8924dcb804cbed8 /src/server/scripts/Commands | |
| parent | 6c8ae75fb90a4fccd6dcb3e8a7474f08a09e320c (diff) | |
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.
Diffstat (limited to 'src/server/scripts/Commands')
| -rw-r--r-- | src/server/scripts/Commands/cs_quest.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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) |
