aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 865c95d4d19..35902b684af 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6529,10 +6529,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// check if it was heal by paladin which casted this beacon of light
if (Aura const * aura = beaconTarget->GetAura(53563, pVictim->GetGUID()))
{
- basepoints0 = damage;
- triggered_spell_id = 53654;
- target = beaconTarget;
- break;
+ if (beaconTarget->IsWithinLOSInMap(pVictim))
+ {
+ basepoints0 = damage;
+ triggered_spell_id = 53654;
+ target = beaconTarget;
+ break;
+ }
}
}
return false;