mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user