[11649] Make visible final duration of talent 31221 and ranks effect.

This commit is contained in:
Den 2011-06-19 03:31:45 +04:00 committed by VladimirMangos
parent f1fcefce4f
commit 17b7e3b32c
2 changed files with 16 additions and 5 deletions

View file

@ -5181,13 +5181,24 @@ void Aura::HandleAuraPeriodicDummy(bool apply, bool Real)
switch( spell->SpellFamilyName)
{
case SPELLFAMILY_ROGUE:
{
if(!apply)
{
switch(spell->Id)
{
// 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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11648"
#define REVISION_NR "11649"
#endif // __REVISION_NR_H__