aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-06 20:25:30 -0500
committermegamage <none@none>2009-06-06 20:25:30 -0500
commit724e5fe5ce7c91f9f144602a94720a33da845777 (patch)
treeb84771ee573ebfe28d7a0f2c8790de591459d3b4 /src
parent37dabaf71efc2a001288703b55bca67d3f568419 (diff)
[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
Diffstat (limited to 'src')
-rw-r--r--src/game/StatSystem.cpp4
1 files 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;