mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[10092] Correct 3 more auras to check AURA_REMOVE_BY_EXPIRE mode after change in 10030
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
78400f8406
commit
a0fff5b8e7
2 changed files with 4 additions and 4 deletions
|
|
@ -2436,7 +2436,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
}
|
}
|
||||||
case 32286: // Focus Target Visual
|
case 32286: // Focus Target Visual
|
||||||
{
|
{
|
||||||
if (m_removeMode == AURA_REMOVE_BY_DEFAULT)
|
if (m_removeMode == AURA_REMOVE_BY_EXPIRE)
|
||||||
target->CastSpell(target, 32301, true, NULL, this);
|
target->CastSpell(target, 32301, true, NULL, this);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
@ -2473,7 +2473,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
{
|
{
|
||||||
if (Unit* pCaster = GetCaster())
|
if (Unit* pCaster = GetCaster())
|
||||||
{
|
{
|
||||||
if (m_removeMode == AURA_REMOVE_BY_DEFAULT)
|
if (m_removeMode == AURA_REMOVE_BY_EXPIRE)
|
||||||
pCaster->CastSpell(target, 51872, true, NULL, this);
|
pCaster->CastSpell(target, 51872, true, NULL, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4758,7 +4758,7 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool /*Real*/)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
case 42783: //Wrath of the Astrom...
|
case 42783: //Wrath of the Astrom...
|
||||||
if (m_removeMode == AURA_REMOVE_BY_DEFAULT && GetEffIndex() + 1 < MAX_EFFECT_INDEX)
|
if (m_removeMode == AURA_REMOVE_BY_EXPIRE && GetEffIndex() + 1 < MAX_EFFECT_INDEX)
|
||||||
target->CastSpell(target, GetSpellProto()->CalculateSimpleValue(SpellEffectIndex(GetEffIndex()+1)), true);
|
target->CastSpell(target, GetSpellProto()->CalculateSimpleValue(SpellEffectIndex(GetEffIndex()+1)), true);
|
||||||
return;
|
return;
|
||||||
case 51912: // Ultra-Advanced Proto-Typical Shortening Blaster
|
case 51912: // Ultra-Advanced Proto-Typical Shortening Blaster
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10091"
|
#define REVISION_NR "10092"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue