mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7227] Implement prismatic sockets. Related code cleanups.
Big thanks to TOM_RUS for help in reseach!
This commit is contained in:
parent
2c7216ac8c
commit
fdd8176d74
10 changed files with 134 additions and 42 deletions
|
|
@ -599,6 +599,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:
|
||||
|
|
@ -5066,6 +5067,7 @@ uint8 Spell::CheckItems()
|
|||
break;
|
||||
}
|
||||
case SPELL_EFFECT_ENCHANT_ITEM:
|
||||
case SPELL_EFFECT_ENCHANT_ITEM_PRISMATIC:
|
||||
{
|
||||
Item* targetItem = m_targets.getItemTarget();
|
||||
if(!targetItem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue