What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

bokyong

New Member
Joined
Dec 27, 2015
Messages
1
Sorry Noob here. Strictly getting this for Combat Routines. Wondering, how do I get the Combat Routines? Is there a place to download it after I purchase buddywing? OR do I have to copy and paste the code that is in the forums?
 
The default combat routine comes stock with the bot, seems to be the only CR kickin about right now.

PS. doesnt work for healing.
 
I found healing to work with a bit of fiddling with the scripts, though you have to manually target people on your own.
 
really?!

please fill us in :)

This is what I use in warzones currently with sorc, though at the moment I think it disregards the healthpercents.

I just removed the actual Spell.heal code in place of just checking for targeted health percents.

Though, it does the rotation on whoever you are targeting.

I haven't added in the procs you get for revivification or dark heal yet.

Code:
// Copyright (C) 2011-2015 Bossland GmbH
// See the file LICENSE for the source code's detailed license

using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;

namespace DefaultCombat.Routines
{
	internal class Corruption : RotationBase
	{
		public override string Name
		{
			get { return "Sorcerer Corruption"; }
		}

		public override Composite Buffs
		{
			get
			{
				return new PrioritySelector(
					Spell.Buff("Mark of Power"),
					Spell.Buff("Unbreakable Will", ret => Me.IsStunned)
					);
			}
		}

		public override Composite Cooldowns
		{
			get
			{
				return new PrioritySelector(
					Spell.Buff("Consuming Darkness", ret => NeedForce())
					);
			}
		}

		public override Composite SingleTarget
		{
			get
			{
				return new PrioritySelector(
					//Movement
					CombatMovement.CloseDistance(Distance.Ranged),

					//Interrupts
					Spell.Cast("Jolt", ret => Me.CurrentTarget.IsCasting),
					
					//Rotation
					Spell.Cast("Resurgence", ret => Me.CurrentTarget.HealthPercent <= 90 && !Me.CurrentTarget.HasBuff("Resurgence")),
					Spell.Cast("Innervate", ret => Me.CurrentTarget.HealthPercent <= 80),
					Spell.Cast("Roaming Mend", ret => Me.InCombat),
					Spell.Cast("Dark Heal", ret => Me.CurrentTarget.HealthPercent <= 55),
					Spell.Cast("Dark Infusion", ret => Me.CurrentTarget.HealthPercent <= 80),
					
					//Utility
					Spell.Cast("Unlimited Power", ret => Me.HealthPercent <= 35),
					Spell.Cast("Unnatural Preservation", ret => Me.HealthPercent <= 50),
					Spell.Cast("Cloud Mind", ret => Me.HealthPercent < 80),
					Spell.Cast("Static Barrier", ret => !Me.HasDebuff("Deionized") || !Me.CurrentTarget.HasDebuff("Deionized"))
					);
			}
		}

		public override Composite AreaOfEffect
		{
			get
			{
				return new PrioritySelector();
			}
		}

		private bool NeedForce()
		{
			if (Me.ForcePercent <= 20)
				return true;
			if (Me.HasBuff("Force Surge") && Me.ForcePercent < 80 && !Me.HasBuff("Reverse Corruptions"))
				return true;
			return false;
		}
	}
}
 
Last edited:
Back
Top