diff options
author | QAston <none@none> | 2009-03-15 16:20:10 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-15 16:20:10 +0100 |
commit | d910fc951e0ccc74f904700d28e7dc5faed5462e (patch) | |
tree | 6a879bf0067a611f6afba098ba3b1a77ddb70c84 /src/game/Unit.cpp | |
parent | 8b246d66d31b8f99544a4e7b74ccfa16b9c0f3c4 (diff) |
*Auras by caster are now shown correctly (doublesized).
*First rank of Psychic Horror now procs correctly.
*Mana drain effects amount of damage is now correct.
*Raczman is now satisfied.
--HG--
branch : trunk
rename : sql/updates/1910_world.sql => sql/updates/1912_world.sql
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 48e7aec78c8..ddd4e12b3fb 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -13418,9 +13418,10 @@ void Unit::SendAuraUpdate(uint8 slot) data << uint8(entry->m_Level); data << uint8(ptr->GetAuraCharges()? ptr->GetAuraCharges() : ptr->GetStackAmount()); - if(!(entry->m_Flags & AFLAG_NOT_CASTER)) + if(!(entry->m_Flags & AFLAG_CASTER)) { - data << uint8(0); // pguid + if (Unit * caster = ptr->GetCaster()) + data.append(caster->GetPackGUID()); } if(entry->m_Flags & AFLAG_DURATION) |