[9531] Fixed apply stamina part of 48263

This commit is contained in:
VladimirMangos 2010-03-06 11:26:43 +03:00
parent 3cf9e47110
commit f775ac42cb
2 changed files with 3 additions and 6 deletions

View file

@ -6430,7 +6430,7 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
} }
if (power_pct || !apply) if (power_pct || !apply)
spellId2 = 49772; // Unholy Presence, speed part spellId2 = 49772; // Unholy Presence, speed part, spell1 used for Improvement presence fit to own presence
} }
else else
spellId1 = 49772; // Unholy Presence move speed spellId1 = 49772; // Unholy Presence move speed
@ -6464,7 +6464,7 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
if (GetId()==48265) // Unholy Presence if (GetId()==48265) // Unholy Presence
{ {
// Improved Unholy Presence // Improved Unholy Presence, special case for own presence
int32 power_pct = 0; int32 power_pct = 0;
if (apply) if (apply)
{ {
@ -6493,9 +6493,6 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
m_target->RemoveAurasDueToSpell(65095); m_target->RemoveAurasDueToSpell(65095);
} }
} }
else
spellId1 = 63611; // Improved Blood Presence, trigger for heal
break; break;
} }
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9530" #define REVISION_NR "9531"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__