[7227] Implement prismatic sockets. Related code cleanups.

Big thanks to TOM_RUS for help in reseach!
This commit is contained in:
VladimirMangos 2009-02-04 02:06:42 +03:00
parent 2c7216ac8c
commit fdd8176d74
10 changed files with 134 additions and 42 deletions

View file

@ -12058,6 +12058,9 @@ void Player::ApplyEnchantment(Item *item,EnchantmentSlot slot,bool apply, bool a
case ITEM_ENCHANTMENT_TYPE_USE_SPELL:
// processed in Player::CastItemUseSpell
break;
case ITEM_ENCHANTMENT_TYPE_PRISMATIC_SOCKET:
// nothing do..
break;
default:
sLog.outError("Unknown item enchantment (id = %d) display type: %d", enchant_id, enchant_display_type);
break;