mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9493] Fixed wrong spell cast at talent 50391 and ranks apply case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
7ecd5365b9
commit
59b28e3110
2 changed files with 3 additions and 3 deletions
|
|
@ -6465,13 +6465,13 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
|
|||
if (apply && (m_target->HasAura(48263) || m_target->HasAura(48266)))
|
||||
{
|
||||
int32 bp = GetModifier()->m_amount;
|
||||
m_target->CastCustomSpell(m_target, 61261, &bp, NULL, NULL, true, NULL, this);
|
||||
m_target->CastCustomSpell(m_target, 65095, &bp, NULL, NULL, true, NULL, this);
|
||||
|
||||
spellId1 = 49772;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_target->RemoveAurasDueToSpell(61261);
|
||||
m_target->RemoveAurasDueToSpell(65095);
|
||||
|
||||
if (!apply)
|
||||
spellId1 = 49772;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9492"
|
||||
#define REVISION_NR "9493"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue