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:
@@ -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