diff options
author | QAston <none@none> | 2009-06-23 14:44:16 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-06-23 14:44:16 +0200 |
commit | f558a785fc7998f232ea7aed28ce5380559d969a (patch) | |
tree | 9f1762f5b9b4d71b236bc692634f4835c035865b /src/game/LootMgr.cpp | |
parent | cc986dbdf3e191ef132dfa4c229bbc237f30587c (diff) |
[8069] Fixed copy/paste mistake in achievement error output. Author: Saeba
[8070] Restore spell casting loot items and recipes.
* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without
template replace spells like clam loot spells)
Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with
itemtype==0
Note: required DB support in `spell_loot_termplate` Author: VladimirMangos
--HG--
branch : trunk
Diffstat (limited to 'src/game/LootMgr.cpp')
-rw-r--r-- | src/game/LootMgr.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game/LootMgr.cpp b/src/game/LootMgr.cpp index 5654f540da1..adba36fd301 100644 --- a/src/game/LootMgr.cpp +++ b/src/game/LootMgr.cpp @@ -1323,10 +1323,12 @@ void LoadLootTemplates_Spell() if(!ids_set.count(spell_id)) { - // 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) || (spellInfo->AttributesEx2 & SPELL_ATTR_EX2_UNK14)) - LootTemplates_Spell.ReportNotExistedId(spell_id); + // not report about not trainable spells (optionally supported by DB) + // ignore 61756 (Northrend Inscription Research (FAST QA VERSION) for example + if (!(spellInfo->Attributes & SPELL_ATTR_NOT_SHAPESHIFT) || (spellInfo->Attributes & SPELL_ATTR_UNK5)) + { + LootTemplates_Spell.ReportNotExistedId(spell_id); + } } else ids_set.erase(spell_id); |