diff options
| author | Shauren <none@none> | 2010-09-21 21:55:16 +0200 |
|---|---|---|
| committer | Shauren <none@none> | 2010-09-21 21:55:16 +0200 |
| commit | d8ddf38453cb988645244d0f10da10f1d1665c93 (patch) | |
| tree | f15bd1a980aec13570fa0f49b1a148fb3702c36b /src/server/game/Spells/SpellEffects.cpp | |
| parent | 5eb0fd80acfb0fe93b6e0e1af09d8129534120c2 (diff) | |
Core/Items: Implemented trading soulbound loot items
Core/DBLayer: Converted more more player-related queries into prepared statements
Core/Items: Fixed loading of enchantments
Closes issue #4130.
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 166066f1bb9..af94a8ec9a5 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -3443,6 +3443,8 @@ void Spell::EffectEnchantItemPerm(SpellEffIndex effIndex) // add new enchanting if equipped item_owner->ApplyEnchantment(itemTarget,PERM_ENCHANTMENT_SLOT,true); + + itemTarget->SetSoulboundTradeable(NULL, item_owner, false); } } @@ -3502,6 +3504,8 @@ void Spell::EffectEnchantItemPrismatic(SpellEffIndex effIndex) // add new enchanting if equipped item_owner->ApplyEnchantment(itemTarget,PRISMATIC_ENCHANTMENT_SLOT,true); + + itemTarget->SetSoulboundTradeable(NULL, item_owner, false); } void Spell::EffectEnchantItemTmp(SpellEffIndex effIndex) |
