[Behavior(BehaviorType.PreCombatBuffs, WoWClass.Mage)]
public static Composite CreateMagePreCombatBuffs()
{
return new PrioritySelector(
Spell.WaitForCastOrChannel(),
new Decorator(
ret => !Spell.IsGlobalCooldown(),
new PrioritySelector(
// Defensive
CreateSlowFallBehavior(),
PartyBuff.BuffGroup("Dalaran Brilliance", "Arcane Brilliance"),
PartyBuff.BuffGroup("Arcane Brilliance", "Dalaran Brilliance")
//Spell.BuffSelf("Conjure Refreshment", ret => !Gotfood && !StyxWoW.Me.GroupInfo.IsInParty)
)
)
);
}