mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7856] Fix cast 51525 and ranks charge on target (not owner)
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
c014560b45
commit
ea1ca701ed
2 changed files with 2 additions and 2 deletions
|
|
@ -5942,7 +5942,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
CastSpell(this, spell, true, castItem, triggeredByAura);
|
CastSpell(target, spell, true, castItem, triggeredByAura);
|
||||||
if ((*itr)->DropAuraCharge())
|
if ((*itr)->DropAuraCharge())
|
||||||
RemoveAurasDueToSpell((*itr)->GetId());
|
RemoveAurasDueToSpell((*itr)->GetId());
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7855"
|
#define REVISION_NR "7856"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue