mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue