mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Items: Implemented ITEM_BONUS_DISENCHANT_LOOT_ID
This commit is contained in:
@@ -3433,7 +3433,7 @@ void Spell::EffectDisEnchant()
|
||||
caster->UpdateCraftSkill(m_spellInfo);
|
||||
|
||||
itemTarget->m_loot.reset(new Loot(caster->GetMap(), itemTarget->GetGUID(), LOOT_DISENCHANTING, nullptr));
|
||||
itemTarget->m_loot->FillLoot(ASSERT_NOTNULL(itemTarget->GetDisenchantLoot(caster))->ID, LootTemplates_Disenchant, caster, true);
|
||||
itemTarget->m_loot->FillLoot(*itemTarget->GetDisenchantLootId(), LootTemplates_Disenchant, caster, true);
|
||||
caster->SendLoot(*itemTarget->m_loot);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user