Spell.WaitForCast(),
Movement.StopInRange(2.8f),
//***Generel***
Spell.Cast("Tenacity", ret => BuddyTor.Me.IsStunned),
Spell.Cast("Combat Shield", castWhen => BuddyTor.Me.InCombat && !BuddyTor.Me.HasBuff("Combat Shield")),
Spell.Cast("Recharge Cells", ret => BuddyTor.Me, ret => BuddyTor.Me.ResourceStat >= 60),//-60 Heat
//**Defensive**
Spell.Cast("Deflection", ret => BuddyTor.Me.InCombat && BuddyTor.Me.HealthPercent <= 80),
Spell.Cast("Force Shroud", ret => BuddyTor.Me.InCombat && BuddyTor.Me.HealthPercent <= 70),
//**CC**
Spell.Cast("Concussive Round", on => Helpers.ccTarget(), castWhen => Helpers.Targets.Count() >= 3),
//*Interrupts*
Spell.Cast("Disabling Shot", ret => BuddyTor.Me.CurrentTarget.IsCasting),
//Rotation
Spell.Cast("Grav Round"),
Spell.Cast("High Impact Bolt", ret => BuddyTor.Me.HasBuff("Charged Barrel")),
Spell.Cast("High Impact Bolt", ret => true),
Spell.Cast("Demolition Round"),
Spell.Cast("Electro Net"),
Spell.Cast("Reserve Powercell"),
Spell.Cast("Plasma Grenade"),
Spell.Cast("Full Auto", ret => BuddyTor.Me.HasBuff("Curtain of Fire")),
Spell.Cast("Grav Round"),
Spell.Cast("Full Auto", ret => BuddyTor.Me.ResourceStat >= 10),
Spell.Cast("Hammer Shot"),
//Movement
Movement.MoveTo(ret => BuddyTor.Me.CurrentTarget.Position, 2.8f)