[8535] Correctly show spell sharges/stack amount

Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
SilverIce 2009-09-25 19:56:48 +03:00 committed by tomrus88
parent f168badca6
commit 44ea1ee3e3
2 changed files with 5 additions and 2 deletions

View file

@ -18515,7 +18515,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))
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8534"
#define REVISION_NR "8535"
#endif // __REVISION_NR_H__