From 4cbc6f830a833719b7586b333aa8151dab563b60 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 27 Oct 2008 10:57:53 -0500 Subject: [svn] Fix a compile error about M_PI_2. Update Felmyst script to test new setActive function. Fix the bug that priest's fear is unbreakable (dirty hack before find the correct way). (some unfinished unused content included, just ignore them, will finish them later) --HG-- branch : trunk --- src/game/SpellEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 7af5316c693..25454f41462 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -312,7 +312,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx) } // Meteor like spells (divided damage to targets) - if(spellmgr.GetSpellExtraInfo(m_spellInfo->Id, SPELL_EXTRA_INFO_SHARE_DAMAGE)) + if(spellmgr.GetSpellExtraAttr(m_spellInfo->Id, SPELL_EXTRA_ATTR_SHARE_DAMAGE)) { uint32 count = 0; for(std::list::iterator ihit= m_UniqueTargetInfo.begin();ihit != m_UniqueTargetInfo.end();++ihit) -- cgit v1.2.3