Core/Items: Finished reforging (mostly by subv)

This commit is contained in:
Shauren
2012-08-06 23:00:57 +02:00
parent f6fce43a64
commit 7770c82097
7 changed files with 355 additions and 12 deletions

View File

@@ -338,6 +338,9 @@ class spell_rog_deadly_poison : public SpellScriptLoader
// item combat enchantments
for (uint8 slot = 0; slot < MAX_ENCHANTMENT_SLOT; ++slot)
{
if (slot > PRISMATIC_ENCHANTMENT_SLOT || slot < PROP_ENCHANTMENT_SLOT_0) // not holding enchantment id
continue;
SpellItemEnchantmentEntry const* enchant = sSpellItemEnchantmentStore.LookupEntry(item->GetEnchantmentId(EnchantmentSlot(slot)));
if (!enchant)
continue;