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!

Agent (Operative Lethality) not working

Praline

Member
Joined
Aug 17, 2015
Messages
150
My low level Agent (25 atm) only cast corrosive dart and nothing else. Joe's Combat still works, so I am using that for the time being since I am clueless as to how to fix Default Combat routines. Anyone with any ideas on how to fix it so my Operative can use the Default routine?

(works perfectly after lvl 25 though)
 
Last edited:
My low level Agent (25 atm) only cast corrosive dart and nothing else. Joe's Combat still works, so I am using that for the time being since I am clueless as to how to fix Default Combat routines. Anyone with any ideas on how to fix it so my Operative can use the Default routine?

(works perfectly after lvl 25 though)

This is probably related to corrosive grenade in case you dont know the skill yet, since the rotation is coded for lv cap

open the lethality and replace the single target rotation with the code bellow and test it out

PHP:
public override Composite SingleTarget
		{
			get
			{
				return new PrioritySelector(
					Spell.Cast("Hidden Strike", ret => Me.IsStealthed && Me.IsBehind(Me.CurrentTarget)),

					//Movement
					CombatMovement.CloseDistance(Distance.Melee),
					Spell.Cast("Lethal Strike",	
						ret => 
						Me.IsStealthed)
						,
					Spell.Cast("Corrosive Dart", 
						ret => 
						(!Me.CurrentTarget.HasDebuff("Corrosive Dart") || Me.CurrentTarget.DebuffTimeLeft("Corrosive Dart") <= 2) &&
						!Me.IsStealthed)
						,
					//Spell.Cast("Corrosive Grenade", 
					//	ret => 
					//	(!Me.CurrentTarget.HasDebuff("Corrosive Grenade") || Me.CurrentTarget.DebuffTimeLeft("Corrosive Grenade") <= 2) &&
					//	!Me.IsStealthed)
					//	,
					Spell.Cast("Corrosive Assault", 
						ret => 
						Me.HasBuff("Tactical Advantage") && 
						Me.CurrentTarget.HasDebuff("Corrosive Dart") && 
					//	Me.CurrentTarget.HasDebuff("Corrosive Grenade") &&
						!Me.IsStealthed)
						,
					Spell.Cast("Toxic Blast", 
						ret => 
						Me.BuffCount("Tactical Advantage") < 2 && 
						Me.CurrentTarget.HasDebuff("Corrosive Dart") && 
					//	Me.CurrentTarget.HasDebuff("Corrosive Grenade") &&
						!Me.IsStealthed)
						,
					Spell.Cast("Shiv", 
						ret => 
						Me.BuffCount("Tactical Advantage") < 2 && 
						Me.CurrentTarget.HasDebuff("Corrosive Dart") && 
					//	Me.CurrentTarget.HasDebuff("Corrosive Grenade") &&
						!Buddy.CommonBot.AbilityManager.CanCast("Toxic Blast", Me.CurrentTarget) &&
						!Me.IsStealthed)
						,
					Spell.Cast("Lethal Strike",	
						ret => 
						Me.CurrentTarget.HasDebuff("Corrosive Dart")
					//	&& 
					//	Me.CurrentTarget.HasDebuff("Corrosive Grenade"))
						,
					Spell.Cast("Overload Shot",	
						ret => 
						Me.EnergyPercent > 85 &&
						!Me.HasBuff("Tactical Advantage") && 
						!Buddy.CommonBot.AbilityManager.CanCast("Shiv", Me.CurrentTarget) &&
						!Buddy.CommonBot.AbilityManager.CanCast("Toxic Blast", Me.CurrentTarget) &&
						!Buddy.CommonBot.AbilityManager.CanCast("Lethal Strike", Me.CurrentTarget) &&
						Me.CurrentTarget.HasDebuff("Corrosive Dart") && 
					//	Me.CurrentTarget.HasDebuff("Corrosive Grenade") &&
						!Me.IsStealthed)
						,
					Spell.Cast("Rifle Shot",
						ret =>
						Me.EnergyPercent < 85 &&
						!Me.HasBuff("Tactical Advantage") && 
						!Buddy.CommonBot.AbilityManager.CanCast("Shiv", Me.CurrentTarget) &&
						!Buddy.CommonBot.AbilityManager.CanCast("Toxic Blast", Me.CurrentTarget) &&
						!Buddy.CommonBot.AbilityManager.CanCast("Lethal Strike", Me.CurrentTarget) &&
						Me.CurrentTarget.HasDebuff("Corrosive Dart") && 
					//	Me.CurrentTarget.HasDebuff("Corrosive Grenade") &&
						!Me.IsStealthed)
					);
			}
		}

for the same reason aoe wont work so be sure to press f7 so the bot will use only single target rotation

after you get corrosive grenade just remove the comments (//) and it will all be fine... i guess :P
 
Last edited:
did the changes make your bot work?

At first I had an issue with "no routine loaded" even though I deleted compiled assemblies folder. But when I figured out my stupidity wrt copy and paste and making sure I did not leave in extra squiggly thingies..er..it is working like a champ now. She is kicking ass. TYVM!
 
Back
Top