[7234] Now correct patch version: 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 e21941d558
commit cb0ebde926
5 changed files with 12 additions and 10 deletions

View file

@ -1278,9 +1278,9 @@ void LoadLootTemplates_Spell()
if(!ids_set.count(spell_id))
{
// not report about not trainable spells (optionally supported by DB)
// not report about not trainable spells (optionally supported by DB) except with SPELL_ATTR_EX2_UNK14 (clams)
// 61756 (Northrend Inscription Research (FAST QA VERSION) for example
if(spellInfo->Attributes & SPELL_ATTR_UNK5)
if ((spellInfo->Attributes & SPELL_ATTR_UNK5) || (spellInfo->AttributesEx2 & SPELL_ATTR_EX2_UNK14))
LootTemplates_Spell.ReportNotExistedId(spell_id);
}
else