Core/Entities: Include prismatic sockets in gem equipment limitation checking. (Stops equipping more than 3 JC gems)
--HG-- branch : trunk
This commit is contained in:
1 parent
c4b538a1b6
commit
68ed96989a
1 file changed
+1
-1
@@ -10010,7 +10010,7 @@ bool Player::HasItemOrGemWithLimitCategoryEquipped(uint32 limitCategory, uint32
|
||||
return true;
|
||||
}
|
||||
|
||||
if (pProto->Socket[0].Color)
|
||||
if (pProto->Socket[0].Color || pItem->GetEnchantmentId(PRISMATIC_ENCHANTMENT_SLOT))
|
||||
{
|
||||
tempcount += pItem->GetGemCountWithLimitCategory(limitCategory);
|
||||
if (tempcount >= count)
|
||||
|
||||
Reference in new issue
Block a user