mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +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);
|
Unit::AuraList const& mDummy = GetAurasByType(SPELL_AURA_DUMMY);
|
||||||
for(Unit::AuraList::const_iterator itr = mDummy.begin(); itr != mDummy.end(); ++itr)
|
for(Unit::AuraList::const_iterator itr = mDummy.begin(); itr != mDummy.end(); ++itr)
|
||||||
{
|
{
|
||||||
// Predatory Strikes
|
// Predatory Strikes (effect 0)
|
||||||
if ((*itr)->GetSpellProto()->SpellIconID == 1563)
|
if ((*itr)->GetEffIndex()==0 && (*itr)->GetSpellProto()->SpellIconID == 1563)
|
||||||
{
|
{
|
||||||
mLevelMult = (*itr)->GetModifier()->m_amount / 100.0f;
|
mLevelMult = (*itr)->GetModifier()->m_amount / 100.0f;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7969"
|
#define REVISION_NR "7970"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue