[8492] Implement talent 53563.

Original patch suggested by Arthorius.
Added data in mangos_spell_check to remember requirement update code for 3.2.x support in future.
This commit is contained in:
VladimirMangos 2009-09-12 10:54:30 +04:00
parent 692f32c82a
commit 610703c14b
5 changed files with 48 additions and 2 deletions

View file

@ -5800,6 +5800,30 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
return true;
break;
}
// Light's Beacon (heal target area aura)
case 53651:
{
// not do bonus heal for explicit beacon focus healing
if (GetGUID() == triggeredByAura->GetCasterGUID())
return false;
Unit* beacon = triggeredByAura->GetCaster();
if (!beacon)
return false;
Aura* dummy = beacon->GetDummyAura(53563);
if (!dummy)
return false;
// original heal must be form beacon caster
if (dummy->GetCasterGUID() != pVictim->GetGUID())
return false;
triggered_spell_id = 53652; // Beacon of Light
basepoints0 = triggeredByAura->GetModifier()->m_amount*damage/100;
target = beacon;
break;
}
// Seal of the Martyr do damage trigger
case 53720:
{