[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 Ambal
parent 0c051485d9
commit b72fe466e1
2 changed files with 5 additions and 2 deletions

View file

@ -18481,7 +18481,10 @@ void Player::SendAurasForTarget(Unit *target)
// level // level
data << uint8(aura->GetAuraLevel()); data << uint8(aura->GetAuraLevel());
// charges // charges
data << uint8(aura->GetAuraCharges()); if (aura->GetAuraCharges())
data << uint8(aura->GetAuraCharges() * aura->GetStackAmount());
else
data << uint8(aura->GetStackAmount());
if(!(auraFlags & AFLAG_NOT_CASTER)) if(!(auraFlags & AFLAG_NOT_CASTER))
{ {

View file

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