fix(Core/Items): Removed tradeable flag from items with temp enchants. (#7160)
Fixed #6325. Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com>
This commit is contained in:
parent
14b3655f33
commit
d2e84eabb8
1 changed files with 3 additions and 0 deletions
|
|
@ -3070,6 +3070,9 @@ void Spell::EffectEnchantItemTmp(SpellEffIndex effIndex)
|
|||
|
||||
// add new enchanting if equipped
|
||||
item_owner->ApplyEnchantment(itemTarget, TEMP_ENCHANTMENT_SLOT, true);
|
||||
|
||||
item_owner->RemoveTradeableItem(itemTarget);
|
||||
itemTarget->ClearSoulboundTradeable(item_owner);
|
||||
}
|
||||
|
||||
void Spell::EffectTameCreature(SpellEffIndex /*effIndex*/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue