diff options
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r-- | src/game/SpellAuras.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index fb0a943bc3d..0f93e915adb 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1918,7 +1918,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real) if( m_target->GetTypeId() == TYPEID_PLAYER && GetSpellProto()->Effect[0]==72 ) { // spells with SpellEffect=72 and aura=4: 6196, 6197, 21171, 21425 - ((Player*)m_target)->ClearFarsight(); + ((Player*)m_target)->SetSeer(m_target); return; } @@ -2819,19 +2819,17 @@ void Aura::HandleBindSight(bool apply, bool Real) if(!caster || caster->GetTypeId() != TYPEID_PLAYER) return; - if(apply) - m_target->AddPlayerToVision((Player*)caster); - else - m_target->RemovePlayerFromVision((Player*)caster); + ((Player*)caster)->SetSeer(apply ? m_target : caster); } void Aura::HandleFarSight(bool apply, bool Real) { - Unit* caster = GetCaster(); + //Handled by client + /*Unit* caster = GetCaster(); if(!caster || caster->GetTypeId() != TYPEID_PLAYER) return; - ((Player*)caster)->SetFarSightGUID(apply ? m_target->GetGUID() : 0); + ((Player*)caster)->SetFarSightGUID(apply ? m_target->GetGUID() : 0);*/ } void Aura::HandleAuraTrackCreatures(bool apply, bool Real) |