mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Core/Transmog: Implemented transmog collection and updated transmog handling
This commit is contained in:
@@ -5803,9 +5803,9 @@ void Spell::EffectApplyEnchantIllusion(SpellEffIndex /*effIndex*/)
|
||||
return;
|
||||
|
||||
itemTarget->SetState(ITEM_CHANGED, player);
|
||||
itemTarget->SetModifier(ITEM_MODIFIER_ENCHANT_ILLUSION, effectInfo->MiscValue);
|
||||
itemTarget->SetModifier(ITEM_MODIFIER_ENCHANT_ILLUSION_ALL_SPECS, effectInfo->MiscValue);
|
||||
if (itemTarget->IsEquipped())
|
||||
player->SetUInt16Value(PLAYER_VISIBLE_ITEM + VISIBLE_ITEM_ENCHANTMENT_OFFSET + (itemTarget->GetSlot() * 2), 1, itemTarget->GetVisibleItemVisual());
|
||||
player->SetUInt16Value(PLAYER_VISIBLE_ITEM + VISIBLE_ITEM_ENCHANTMENT_OFFSET + (itemTarget->GetSlot() * 2), 1, itemTarget->GetVisibleItemVisual(player));
|
||||
|
||||
player->RemoveTradeableItem(itemTarget);
|
||||
itemTarget->ClearSoulboundTradeable(player);
|
||||
|
||||
Reference in New Issue
Block a user