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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user