Core/Spells: Fix Beacon of Light in more correct way

This commit is contained in:
tobmaps
2011-07-13 05:48:14 +07:00
parent 1d5fbc3830
commit 2400a8a1dd
+2 -4
View File
@@ -6700,10 +6700,8 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
if (beaconTarget->IsWithinLOSInMap(victim)) if (beaconTarget->IsWithinLOSInMap(victim))
{ {
basepoints0 = damage; basepoints0 = damage;
triggered_spell_id = 53654; victim->CastCustomSpell(beaconTarget, 53654, &basepoints0, NULL, NULL, true);
target = beaconTarget; return true;
originalCaster = victim->GetGUID();
break;
} }
} }
} }