:lol: bump bump bump
btw iam tested this patch on 8296 rev and works
spell auras.cpp is here:
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 5c44e86..20b8488 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2490,6 +2490,19 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
}
break;
}
+ case SPELLFAMILY_PALADIN:
+ {
+ // Beacon of Light
+ if (GetId() == 53563)
+ {
+ if(apply)
+ m_target->CastSpell(m_target,53651,true,NULL,this,GetCasterGUID());
+ else
+ m_target->RemoveAurasDueToSpell(53651);
+ return;
+ }
+ break;
+ }
case SPELLFAMILY_DRUID:
{
switch(GetId())
unit.cpp is here:
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 4a9736a..a9dad92 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5816,6 +5816,26 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
return true;
break;
}
+ // Light's Beacon
+ case 53651:
+ {
+ if(!pVictim || pVictim == this)
+ return false;
+
+ Unit* caster = triggeredByAura->GetCaster();
+
+ if (caster)
+ {
+ Aura * dummy = caster->GetDummyAura(53563);
+ if(dummy && dummy->GetCasterGUID() == pVictim->GetGUID())
+ {
+ triggered_spell_id = 53652;
+ basepoints0 = triggeredByAura->GetModifier()->m_amount*damage/100;
+ target = caster;
+ }
+ }
+ break;
+ }
// Seal of the Martyr do damage trigger
case 53720:
{