Core/Items: Updated item stat calculations

* Implemented item modifiers
* Implemented item bonuses
This commit is contained in:
Shauren
2014-12-23 00:25:43 +01:00
parent 6c6e4d4328
commit 941904d5ea
28 changed files with 555 additions and 442 deletions

View File

@@ -304,9 +304,6 @@ 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;