Core/Movement: Added another researched spline flag
This commit is contained in:
1 parent
0411ba31e0
commit
a83c2ca60a
5 files changed
+11
-11
No files matched your search
@@ -13369,7 +13369,7 @@ void Player::ApplyEnchantment(Item* item, EnchantmentSlot slot, bool apply, bool
|
||||
if (ItemTemplate const* gem = sObjectMgr->GetItemTemplate(pEnchant->GemID))
|
||||
if (gem->RequiredSkill && GetSkillValue(gem->RequiredSkill) < gem->RequiredSkillRank)
|
||||
return;
|
||||
|
||||
|
||||
// If we're dealing with a gem inside a prismatic socket we need to check the prismatic socket requirements
|
||||
// rather than the gem requirements itself. If the socket has no color it is a prismatic socket.
|
||||
if ((slot == SOCK_ENCHANTMENT_SLOT || slot == SOCK_ENCHANTMENT_SLOT_2 || slot == SOCK_ENCHANTMENT_SLOT_3)
|
||||
|
||||
Reference in new issue
Block a user