mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10306] Restore spell boosts apply.
It has been broken in srange way at moving function to SpellAuraHolder :/ Must restore work many additional auras affects Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
493ae9c2f5
commit
0880454847
2 changed files with 4 additions and 4 deletions
|
|
@ -8717,11 +8717,11 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
|
||||||
if (spellId1)
|
if (spellId1)
|
||||||
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
|
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
|
||||||
if (spellId2 && !IsDeleted())
|
if (spellId2 && !IsDeleted())
|
||||||
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
|
m_target->CastSpell(m_target, spellId2, true, NULL, NULL, GetCasterGUID());
|
||||||
if (spellId3 && !IsDeleted())
|
if (spellId3 && !IsDeleted())
|
||||||
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
|
m_target->CastSpell(m_target, spellId3, true, NULL, NULL, GetCasterGUID());
|
||||||
if (spellId4 && !IsDeleted())
|
if (spellId4 && !IsDeleted())
|
||||||
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
|
m_target->CastSpell(m_target, spellId4, true, NULL, NULL, GetCasterGUID());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10305"
|
#define REVISION_NR "10306"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue