mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[9531] Fixed apply stamina part of 48263
This commit is contained in:
parent
3cf9e47110
commit
f775ac42cb
2 changed files with 3 additions and 6 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue