mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7650] Fix one warlock talent part (47201 and ranks).
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
c4b2e3f67c
commit
8a21bdbae7
2 changed files with 16 additions and 1 deletions
|
|
@ -4986,6 +4986,21 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
||||||
DoCreateItem( effIndex, itemtype );
|
DoCreateItem( effIndex, itemtype );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Everlasting Affliction
|
||||||
|
case 47422:
|
||||||
|
{
|
||||||
|
// Need refresh caster corruption auras on target
|
||||||
|
Unit::AuraMap& suAuras = unitTarget->GetAuras();
|
||||||
|
for(Unit::AuraMap::iterator itr = suAuras.begin(); itr != suAuras.end(); ++itr)
|
||||||
|
{
|
||||||
|
SpellEntry const *spellInfo = (*itr).second->GetSpellProto();
|
||||||
|
if(spellInfo->SpellFamilyName == SPELLFAMILY_WARLOCK &&
|
||||||
|
spellInfo->SpellFamilyFlags & 0x0000000000000002LL &&
|
||||||
|
(*itr).second->GetCasterGUID()==m_caster->GetGUID())
|
||||||
|
(*itr).second->RefreshAura();
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
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 "7649"
|
#define REVISION_NR "7650"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue