Skip to content

Commit

Permalink
[10306] Restore spell boosts apply.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vinolentus authored and VladimirMangos committed Aug 1, 2010
1 parent ad6a1c1 commit 51ae74c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/game/SpellAuras.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8717,11 +8717,11 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
if (spellId1)
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
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())
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
m_target->CastSpell(m_target, spellId3, true, NULL, NULL, GetCasterGUID());
if (spellId4 && !IsDeleted())
m_target->CastSpell(m_target, spellId1, true, NULL, NULL, GetCasterGUID());
m_target->CastSpell(m_target, spellId4, true, NULL, NULL, GetCasterGUID());
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10305"
#define REVISION_NR "10306"
#endif // __REVISION_NR_H__

2 comments on commit 51ae74c

@LordJZ
Copy link
Contributor

@LordJZ LordJZ commented on 51ae74c Aug 1, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol laise

@VladimirMangos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can look in code for modified function what spells affected.

Please sign in to comment.