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

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-06 20:25:30 -05:00
parent 37dabaf71e
commit 724e5fe5ce

View File

@@ -320,8 +320,8 @@ void Player::UpdateAttackPowerAndDamage(bool ranged )
Unit::AuraEffectList const& mDummy = GetAurasByType(SPELL_AURA_DUMMY);
for(Unit::AuraEffectList::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)->GetAmount() / 100.0f;
break;