mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0
This commit is contained in:
parent
118eb563b5
commit
f94377622e
6 changed files with 30 additions and 6 deletions
|
|
@ -1273,7 +1273,7 @@ void LoadLootTemplates_Spell()
|
|||
continue;
|
||||
|
||||
// possible cases
|
||||
if(!IsExplicitDiscoverySpell (spellInfo))
|
||||
if( !IsLootCraftingSpell(spellInfo))
|
||||
continue;
|
||||
|
||||
if(!ids_set.count(spell_id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue