Permalink
Browse files

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

  • Loading branch information...
1 parent 9ba5ff7 commit d6b3da1b8da9a110039c067091d58aa94b21a15d VladimirMangos committed Apr 7, 2010
Showing with 114 additions and 16 deletions.
  1. +110 −12 sql/mangos_spell_check.sql
  2. +3 −3 src/game/SpellEffects.cpp
  3. +1 −1 src/shared/revision_nr.h
Oops, something went wrong.
@@ -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
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
- #define REVISION_NR "9690"
+ #define REVISION_NR "9691"
#endif // __REVISION_NR_H__

0 comments on commit d6b3da1

Please sign in to comment.