mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8535] Correctly show spell sharges/stack amount
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
0c051485d9
commit
b72fe466e1
2 changed files with 5 additions and 2 deletions
|
|
@ -18481,7 +18481,10 @@ void Player::SendAurasForTarget(Unit *target)
|
|||
// level
|
||||
data << uint8(aura->GetAuraLevel());
|
||||
// charges
|
||||
data << uint8(aura->GetAuraCharges());
|
||||
if (aura->GetAuraCharges())
|
||||
data << uint8(aura->GetAuraCharges() * aura->GetStackAmount());
|
||||
else
|
||||
data << uint8(aura->GetStackAmount());
|
||||
|
||||
if(!(auraFlags & AFLAG_NOT_CASTER))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8534"
|
||||
#define REVISION_NR "8535"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue