[7970] Update test for spell 16972 and ranks (now if have 2 dummy effect but need effect 0 in check place)

This commit is contained in:
VladimirMangos 2009-06-06 19:57:09 +04:00
parent 4118a70f65
commit 01d93fa10d
2 changed files with 3 additions and 3 deletions

View file

@ -302,8 +302,8 @@ void Player::UpdateAttackPowerAndDamage(bool ranged )
Unit::AuraList const& mDummy = GetAurasByType(SPELL_AURA_DUMMY);
for(Unit::AuraList::const_iterator itr = mDummy.begin(); itr != mDummy.end(); ++itr)
{
// Predatory Strikes
if ((*itr)->GetSpellProto()->SpellIconID == 1563)
// Predatory Strikes (effect 0)
if ((*itr)->GetEffIndex()==0 && (*itr)->GetSpellProto()->SpellIconID == 1563)
{
mLevelMult = (*itr)->GetModifier()->m_amount / 100.0f;
break;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7969"
#define REVISION_NR "7970"
#endif // __REVISION_NR_H__