[7227] Implement prismatic sockets. Related code cleanups.

Big thanks to TOM_RUS for help in reseach!
    Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-03 19:12:17 -06:00
parent 1c51b382dc
commit 50c82c6660
10 changed files with 134 additions and 42 deletions
+2
View File
@@ -574,6 +574,7 @@ void Spell::FillTargetMap()
break;
/*case SPELL_EFFECT_ENCHANT_ITEM:
case SPELL_EFFECT_ENCHANT_ITEM_TEMPORARY:
case SPELL_EFFECT_ENCHANT_ITEM_PRISMATIC:
case SPELL_EFFECT_DISENCHANT:
case SPELL_EFFECT_PROSPECTING:
case SPELL_EFFECT_MILLING:
@@ -5008,6 +5009,7 @@ uint8 Spell::CheckItems()
break;
}
case SPELL_EFFECT_ENCHANT_ITEM:
case SPELL_EFFECT_ENCHANT_ITEM_PRISMATIC:
{
Item* targetItem = m_targets.getItemTarget();
if(!targetItem)