Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0

This commit is contained in:
VladimirMangos 2009-02-06 06:00:01 +03:00
parent 118eb563b5
commit f94377622e
6 changed files with 30 additions and 6 deletions

View file

@ -1273,7 +1273,7 @@ void LoadLootTemplates_Spell()
continue;
// possible cases
if(!IsExplicitDiscoverySpell (spellInfo))
if( !IsLootCraftingSpell(spellInfo))
continue;
if(!ids_set.count(spell_id))