From a quick scan of the files it appears that if you get agro, it will cast DP. Judging from the code (i could be wrong) it looks like if your heal target is below 60% and you are over 50% it will cast Hand of Sacrifice on them, then Divine Shield. It will then pulse back to that section and since Divine Shield isn't available, it will cast Divine Protection. So you end up with both after casting HoS.
if (tar.HasAura("Deep Corruption") && tar.Auras["Deep Corruption"].StackCount == 4) return true;
public bool MorchokHeroic()
{
using (new FrameLock())
{
foreach (WoWUnit u in ObjectManager.GetObjectsOfType<WoWUnit>(true, true))
{
if (u.Guid != Me.Guid
&& u.IsHostile
&& (u.IsTargetingMyPartyMember || u.IsTargetingMyRaidMember || u.IsTargetingMeOrPet || u.IsTargetingAnyMinion)
&& u.IsCasting
&& u.CastingSpell.Name == "Stomp"
&& u.CurrentCastTimeLeft.TotalMilliseconds <= 2000)
return true;
}
}
return false;
}
if(MorchokHeroic())
{
if(C("Divine Protection", Me))
{
Logging.Write(Color.Aqua, ">> Defense CD <<");
}
}
if (Me.HasAura("Infusion of Light") && CC("Holy Radiance", tar))
{
C("Holy Radiance", tar);
return true;
}
if (hp < HolySettings.Instance.HolyRadiance_SET
&& HolyRadianceCount(HolySettings.Instance.HolyRadiance_SET) >= HolySettings.Instance.HolyRadianceCount_SET
&& CC("Holy Radiance", tar))
{
if (Me.HasAura("Infusion of Light") && CC("Holy Radiance", tar))
{
C("Holy Radiance", tar);
return true;
}
if (CC("Divine Favor") && HolySettings.Instance.DivineFavor_SET)
{
C("Divine Favor");
}
if (HolyRadianceCount(HolySettings.Instance.HolyRadiance_SET) >= 5
&& CC("Avenging Wrath") && HolySettings.Instance.Wings_SET)
{
C("Avenging Wrath");
}
C("Holy Radiance", tar);
return true;
}
if (Me.HasAura("Source of Magic") && CC("Holy Radiance", tar))
{
Logging.Write(Color.Red, ">>> POWER HEAL <<<");
C("Holy Radiance", tar);
return true;
}