diff options
author | Shauren <shauren.trinity@gmail.com> | 2012-08-06 23:00:57 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2012-08-06 23:00:57 +0200 |
commit | 7770c820979ef1f49e8b5056efb780cd676e66c8 (patch) | |
tree | 6c9bf835552e3e3af3919690cedb1a67cc15b538 /src/server/scripts | |
parent | f6fce43a646f1a14da4b1599e1761e07f0934d25 (diff) |
Core/Items: Finished reforging (mostly by subv)
Diffstat (limited to 'src/server/scripts')
-rw-r--r-- | src/server/scripts/Spells/spell_rogue.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp index 3a4132f62fe..0fc30420d35 100644 --- a/src/server/scripts/Spells/spell_rogue.cpp +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -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; |