*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
This commit is contained in:
QAston
2009-03-15 16:20:10 +01:00
parent 8b246d66d3
commit d910fc951e
6 changed files with 12 additions and 21 deletions
+3 -2
View File
@@ -19282,9 +19282,10 @@ void Player::SendAurasForTarget(Unit *target)
// charges
data << uint8(aura->GetAuraCharges());
if(!(itr->second.m_Flags & AFLAG_NOT_CASTER))
if(!(itr->second.m_Flags & AFLAG_CASTER))
{
data << uint8(0); // packed GUID of someone (caster?)
if (Unit * caster = aura->GetCaster())
data.append(caster->GetPackGUID());
}
if(itr->second.m_Flags & AFLAG_DURATION) // include aura duration