mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[11649] Make visible final duration of talent 31221 and ranks effect.
This commit is contained in:
parent
f1fcefce4f
commit
17b7e3b32c
2 changed files with 16 additions and 5 deletions
|
|
@ -5181,13 +5181,24 @@ void Aura::HandleAuraPeriodicDummy(bool apply, bool Real)
|
||||||
switch( spell->SpellFamilyName)
|
switch( spell->SpellFamilyName)
|
||||||
{
|
{
|
||||||
case SPELLFAMILY_ROGUE:
|
case SPELLFAMILY_ROGUE:
|
||||||
{
|
|
||||||
if(!apply)
|
|
||||||
{
|
{
|
||||||
switch(spell->Id)
|
switch(spell->Id)
|
||||||
{
|
{
|
||||||
// Master of Subtlety
|
// Master of Subtlety
|
||||||
case 31666: target->RemoveAurasDueToSpell(31665); break;
|
case 31666:
|
||||||
|
{
|
||||||
|
if (apply)
|
||||||
|
{
|
||||||
|
// for make duration visible
|
||||||
|
if (SpellAuraHolder* holder = target->GetSpellAuraHolder(31665))
|
||||||
|
{
|
||||||
|
holder->SetAuraMaxDuration(GetHolder()->GetAuraDuration());
|
||||||
|
holder->RefreshHolder();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
target->RemoveAurasDueToSpell(31665);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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 "11648"
|
#define REVISION_NR "11649"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue