diff options
author | Muhaha <none@none> | 2009-02-06 11:25:04 +0100 |
---|---|---|
committer | Muhaha <none@none> | 2009-02-06 11:25:04 +0100 |
commit | 358d1bb14e1dee62e8d97b0ed75e251dfabe5603 (patch) | |
tree | 6c186c19cc1e3193234a6232da8a5415f1ce2c07 /src/game/LootMgr.cpp | |
parent | e0b3d67c1e32fd1aca6d39fa99dc952ff04fbc90 (diff) |
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
Diffstat (limited to 'src/game/LootMgr.cpp')
-rw-r--r-- | src/game/LootMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/LootMgr.cpp b/src/game/LootMgr.cpp index 452efe4e5da..53492522afe 100644 --- a/src/game/LootMgr.cpp +++ b/src/game/LootMgr.cpp @@ -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 |