From 724e5fe5ce7c91f9f144602a94720a33da845777 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 6 Jun 2009 20:25:30 -0500 Subject: [PATCH] [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 --- src/game/StatSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/StatSystem.cpp b/src/game/StatSystem.cpp index 43158caa669..b3f1ae585fc 100644 --- a/src/game/StatSystem.cpp +++ b/src/game/StatSystem.cpp @@ -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;