Now correct patch version: Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
Muhaha
2009-02-06 11:25:04 +01:00
parent e0b3d67c1e
commit 358d1bb14e
5 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -1281,9 +1281,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