[9691] Up to date mangos_spell_check old data and add some new.

This commit is contained in:
VladimirMangos 2010-04-08 02:45:45 +04:00
parent c5860e0892
commit ae1d8d6488
3 changed files with 114 additions and 16 deletions

View file

@ -4572,7 +4572,7 @@ void Spell::EffectEnchantItemTmp(SpellEffectIndex eff_idx)
uint32 duration;
// rogue family enchantments exception by duration
if(m_spellInfo->Id == 38615)
if(m_spellInfo->Id == 38615) // Poison
duration = 1800; // 30 mins
// other rogue family enchantments always 1 hour (some have spell damage=0, but some have wrong data in EffBasePoints)
else if(m_spellInfo->SpellFamilyName == SPELLFAMILY_ROGUE)
@ -4589,9 +4589,9 @@ void Spell::EffectEnchantItemTmp(SpellEffectIndex eff_idx)
// shaman rockbiter enchantments
else if(m_spellInfo->SpellVisual[0] == 0)
duration = 1800; // 30 mins
else if(m_spellInfo->Id == 29702)
else if(m_spellInfo->Id == 29702) // Greater Ward of Shielding
duration = 300; // 5 mins
else if(m_spellInfo->Id == 37360)
else if(m_spellInfo->Id == 37360) // Consecrated Weapon
duration = 300; // 5 mins
// default case
else