mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-20 23:01:36 -04:00
Fixed spells with EffectCreateItem2 that do not have EffectItemType set in dbc and should pick it from spell_loot_template table (like 69412 Abyssal Shatter)
--HG-- branch : trunk
This commit is contained in:
@@ -3138,7 +3138,9 @@ void Spell::EffectCreateItem2(uint32 i)
|
||||
|
||||
// create some random items
|
||||
player->AutoStoreLoot(m_spellInfo->Id, LootTemplates_Spell);
|
||||
}
|
||||
}
|
||||
else
|
||||
player->AutoStoreLoot(m_spellInfo->Id, LootTemplates_Spell); // create some random items
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user