mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
[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:
parent
e21941d558
commit
cb0ebde926
5 changed files with 12 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue