mirror of
https://github.com/mangosfour/server.git
synced 2025-12-31 04:37:04 +00:00
[11766] fix spell redirection and totem destruction on hit by redirected spell
This commit is contained in:
parent
61f31980cf
commit
c60425c6bd
11 changed files with 73 additions and 26 deletions
|
|
@ -8383,9 +8383,9 @@ void Aura::HandleAuraModAllCritChance(bool apply, bool Real)
|
|||
((Player*)target)->UpdateAllSpellCritChances();
|
||||
}
|
||||
|
||||
void Aura::HandleAuraStopNaturalManaRegen(bool apply, bool real)
|
||||
void Aura::HandleAuraStopNaturalManaRegen(bool apply, bool Real)
|
||||
{
|
||||
if (!real)
|
||||
if (!Real)
|
||||
return;
|
||||
|
||||
GetTarget()->ApplyModFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_REGENERATE_POWER, !apply && !GetTarget()->IsUnderLastManaUseEffect());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue