mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
[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
This commit is contained in:
@@ -2155,8 +2155,9 @@ bool SpellMgr::IsSpellValid(SpellEntry const* spellInfo, Player* pl, bool msg)
|
||||
case 0:
|
||||
continue;
|
||||
|
||||
// craft spell for crafting non-existed item (break client recipes list show)
|
||||
// craft spell for crafting non-existed item (break client recipes list show)
|
||||
case SPELL_EFFECT_CREATE_ITEM:
|
||||
case SPELL_EFFECT_CREATE_ITEM_2:
|
||||
{
|
||||
if(!ObjectMgr::GetItemPrototype( spellInfo->EffectItemType[i] ))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user