mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[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:
parent
4118a70f65
commit
01d93fa10d
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue