new Decorator(
ret =>
THPSettings.Instance.SBlessing && !Me.HasAura("Blessing of Kings") &&
!Me.HasAura("Mark of the Wild") && !Me.HasAura("Embrace of the Shale Spider") && !Me.HasAura("Legacy of the White Tiger") &&
MyAuraTimeLeft("Blessing of Might", Me) <= 0 && !CastingorGCDL(),
new Action(delegate { CastSpell("Blessing of Kings", Me); })),
new Decorator(
ret =>
THPSettings.Instance.SBlessing &&
(Me.HasAura("Blessing of Kings") && MyAuraTimeLeft("Blessing of Kings", Me) <= 0 ||
Me.HasAura("Mark of the Wild") || Me.HasAura("Embrace of the Shale Spider")) &&
(!Me.HasAura("Blessing of Might") && !Me.HasAura("Grace of Air") && !Me.HasAura("Roar of Courage") &&
!Me.HasAura("Spirit Beast Blessing") && !Me.HasAura("Legacy of the White Tiger")) && !CastingorGCDL(),
new Action(delegate { CastSpell("Blessing of Might", Me); })),
//Might Partner
new Decorator(
ret =>
THPSettings.Instance.SBlessing &&
//only Check friendly buff on Arena
Me.CurrentMap.IsArena &&
MyAura("Blessing of Might", Me) &&
!UnitHeal.HasAura("Blessing of Might") &&
!UnitHeal.HasAura("Grace of Air") &&
!UnitHeal.HasAura("Roar of Courage") &&
!UnitHeal.HasAura("Legacy of the Emperor") &&
!CastingorGCDL(),
new Action(delegate { CastSpell("Blessing of Might", Me); })),
//Kings Partner
new Decorator(
ret =>
THPSettings.Instance.SBlessing &&
Me.CurrentMap.IsArena &&
MyAura("Blessing of Kings", Me) &&
!UnitHeal.HasAura("Blessing of Kings") &&
!UnitHeal.HasAura("Mark of the Wild") &&
!UnitHeal.HasAura("Embrace of the Shale Spider") &&
!UnitHeal.HasAura("Legacy of the White Tiger") &&
!CastingorGCDL(),
new Action(delegate { CastSpell("Blessing of Kings", Me); }))