diff options
author | QAston <none@none> | 2009-08-27 17:44:30 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-08-27 17:44:30 +0200 |
commit | 6b703d600bd08fa642a2e121fb53d5749d677076 (patch) | |
tree | fb9841c1ce09e9f83542c84340f97ded510db85a /src/game/Unit.cpp | |
parent | 562b4fc0a4cc748df4a5732771a8b83b8af093c1 (diff) |
*Add `spell_dbc` table to store dbc entries not present in client
*Remove workaround from Demonic Circle code and use the sql table instead.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index d505cdab965..1afbcbc652b 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -3666,25 +3666,6 @@ int32 Unit::GetMaxNegativeAuraModifierByMiscValue(AuraType auratype, int32 misc_ return modifier; } -void Unit::SendAuraVisualForSelf(bool apply, uint32 id, uint8 effmask) -{ - WorldPacket data(SMSG_AURA_UPDATE); - data.append(GetPackGUID()); - // use always free 64+ slots - data << uint8(MAX_AURAS); - if (!apply) - { - data << uint32(0); - SendMessageToSet(&data, true); - return; - } - data << uint32(id); - data << uint8(AFLAG_CASTER | AFLAG_POSITIVE | effmask); - data << uint8(getLevel()); - data << uint8(1); - SendMessageToSet(&data, true); -} - bool Unit::AddAura(Aura *Aur, bool handleEffects) { // aura doesn't apply effects-return @@ -4274,9 +4255,6 @@ bool Unit::HasAura(uint32 spellId, uint64 caster) const //Special case for non existing spell if (spellId==61988) return HasAura(61987, caster) || HasAura(25771, caster); - // Demonic Circle - special aura for client - else if (spellId==62388) - return HasAura(48018, caster); if (Aura * aur = GetAura(spellId, caster)) return true; |