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!

Fight at Joe's - 2.0

Status
Not open for further replies.
Fragler, here:

Code:
using System.Linq;
using Buddy.BehaviorTree;
using Buddy.Swtor;
using DefaultCombat.Dynamics;

namespace DefaultCombat.Routines
{
    // Pios - 10/05
    public static class SageTelekinetics
    {
        /// <summary>
        /// Sage lightning pull.
        /// </summary>
        /// <returns></returns>
        [Behavior(BehaviorType.Pull)]
        [Class(CharacterClass.Consular, AdvancedClass.Sage, SkillTreeId.SageTelekinetics)]
        public static Composite SageTelekineticPull()
        {
            return new PrioritySelector(
                Spell.Cast("Mind Crush"),
                Spell.Cast("Weaken Mind"),
                Spell.Cast("Force Stun"),
                Spell.Cast("Project"),
                SageTelekineticCombat()
                );
        }

        /// <summary>
        /// Sorcerers lightning combat.
        /// </summary>
        /// <returns></returns>
        [Behavior(BehaviorType.Combat)]
        [Class(CharacterClass.Consular, AdvancedClass.Sage, SkillTreeId.SageTelekinetics)]
        public static Composite SageTelekineticCombat()
        {
            return new PrioritySelector(
                Spell.Cast("Force of Will", castWhen => BuddyTor.Me.IsStunned),
                Movement.MoveToLineOfSight(), // Check we are inline of sight. 
                CommonBuffsAndHealing(),
                Spell.Cast("Weaken Mind", canRun => !BuddyTor.Me.CurrentTarget.HasDebuff("Weaken Mind (Force)")),
                Spell.Cast("Force Potency"),
                Spell.Cast("Turbulence"),
                Spell.Cast("Mind Crush",
                           ret => BuddyTor.Me.HasBuff("Presence of Mind") &&
                                  !BuddyTor.Me.CurrentTarget.HasDebuff("Crushed (Force)")),
                Spell.Cast("Telekinetic Throw",
                           ret => BuddyTor.Me.HasBuff("Psychic Projection")),
                Spell.Cast("Telekinetic Wave",
                           ret => BuddyTor.Me.HasBuff("Tidal Force")),
                Spell.WaitForCast(),
                Spell.Cast("Telekinetic Throw"),
                Spell.WaitForCast(),
                Spell.Cast("Project"),
		Spell.Cast("Disturbance"),
                new Decorator( // Only cast shock if we are moving.
                    ret => BuddyTor.Me.IsMoving,
                    Spell.Cast("Project")),
                Movement.MoveTo(ret => BuddyTor.Me.CurrentTarget.Position, 29f / 10f)
                );
        }

        /// <summary>
        /// Commons buffs and healing.
        /// </summary>
        /// <returns></returns>
        public static Composite CommonBuffsAndHealing()
        {
            return
                new PrioritySelector(
                    Spell.Cast("Force Armor",
                               onWhoToCast => Helpers.Companion,
                               ret => Helpers.Companion != null &&
                                      !Helpers.Companion.HasBuff("Force Armor") &&
                                      !Helpers.Companion.HasDebuff("Force-imbalance")),
                    Spell.Cast("Force Armor",
                               onWhoToCast => BuddyTor.Me,
                               ret => !BuddyTor.Me.HasBuff("Force Armor") &&
                                      !BuddyTor.Me.HasDebuff("Force-imbalance")),
                    Spell.Cast("Rejuvenate",
                               onWhoToCast => Helpers.Companion,
                               ret => Helpers.Companion != null &&
                                      Helpers.Companion.HealthPercent < 90),
                    Spell.Cast("Rejuvenate",
                               onWhoToCast => BuddyTor.Me,
                               ret => BuddyTor.Me.HealthPercent < 90),
                    Spell.Cast("Healing Trance",
                               onWhoToCast => Helpers.Companion,
                               ret => Helpers.Companion != null &&
                                      Helpers.Companion.HealthPercent < 80),
                    Spell.Cast("Healing Trance",
                               onWhoToCast => BuddyTor.Me,
                               ret => BuddyTor.Me.HealthPercent < 80),
                    Spell.Cast("Benevolence",
                               onWhoToCast => Helpers.Companion,
                               ret => Helpers.Companion != null &&
                                      Helpers.Companion.HealthPercent < 30),
                    Spell.Cast("Benevolence",
                               onWhoToCast => BuddyTor.Me,
                               ret => BuddyTor.Me.HealthPercent < 30),
                    Spell.Cast("Deliverance",
                               onWhoToCast => Helpers.Companion,
                               ret => Helpers.Companion != null &&
                                      Helpers.Companion.HealthPercent < 25),
                    Spell.Cast("Deliverance",
                               onWhoToCast => BuddyTor.Me,
                               ret => BuddyTor.Me.HealthPercent < 25),
                    Spell.Cast("Noble Sacrifice",
                               onWhoToCast => BuddyTor.Me,
                               ret => !BuddyTor.Me.HasDebuff("Noble Sacrifice (2)") &&
                                   BuddyTor.Me.HealthPercent >= 90 &&
                                   BuddyTor.Me.ResourceStat <= 90));
        }
    }
}

That is a VERY rough combat routine that I threw together for my level 25 sage, telekinesis. Copy all of that and replace it with the contents of the notepad located here:

C:\...\Buddywing\Routines\DefaultCombat\Routines\Advanced\Sage\Telekinesis.cs

It'll run a very rough, probably shitty, combat rotation that you can use as filler until they fix that class. I haven't really worked with this rotation at all yet (because I'm such a low level) so sorry if it's balls, but it's better than nothing.

hey, thank you i will try it out!
 
Heya, im trying out this and it it looks like sith warrior does not heal at all. Did i miss something or is it the way its set up?.
Thanks.
 
Hey guys,

Can yanyone tell me if Jedi Knight Sentinel Combat build is up to date with patch 2.x?
I find it a bit sloppy... its slow and seem to do a rotation that doesnt do high dps
 
Hey guys,

Can yanyone tell me if Jedi Knight Sentinel Combat build is up to date with patch 2.x?
I find it a bit sloppy... its slow and seem to do a rotation that doesnt do high dps

Well going by Sentinel Combat (Jedi Knight) PvE Rotation & Cooldowns - SWTOR (2.1) And didn't see it in MercHelpers im assuming this code is one of the launch originals and not implemented yet. You can try to custom make your routine with the site I listed and see how it works.
 
Well going by Sentinel Combat (Jedi Knight) PvE Rotation & Cooldowns - SWTOR (2.1) And didn't see it in MercHelpers im assuming this code is one of the launch originals and not implemented yet. You can try to custom make your routine with the site I listed and see how it works.
Thanks for your fast reply! Yeah im using the noxxic build and rotation myself, so i was already looking into the rotation coding.Maybe you can help with the following:
Is it possible to have or is there a command to use companion.attack in the ...Pull() sequence?

For instance im playing combat with Kira Carsen, which i use as my "tank". After shes in the group i double sable throw and then jump in.
And is it even possible to use the spells of the companion?

Thanks in advance!
 
Kira's pretty awesome DPS and can take some punishment, but later on her power goes up but she get's very fragile so you might want to gear your T7 if you need a tank.

Im going to guess and see if its anything like HonorBuddy and say add a line to the top of the Default/routines/advanced/sentinel/combat routine and add "Spell.Cast("Attack")". When you do this stand way back incase the routine calls for you to "Force Leap" on the target before she gets their.

Cant test it myself right now.

EDIT

Nope don't work unless their is a pet cast somewhere I don't know about.
 
Last edited:
No. I think Vengeance Jug, Merc and Op Healer are up to date. I'm going to work on sniper and then gunslinger - they are wrong. Some of the other guys are working on sorc.

Most of them work, they just aren't optimal.
 
No. I think Vengeance Jug, Merc and Op Healer are up to date. I'm going to work on sniper and then gunslinger - they are wrong. Some of the other guys are working on sorc.

Most of them work, they just aren't optimal.


Yea going to be rolling out update with lots of fixes to old classes and new ones will be added. If you are working on a rotation please post when done so I can merg into helper file (more needs to be done than just put rotation in). If you have requests about what you want done let me know. Telling me doesn't work is like half way lol I am well aware lots of stuff is broken. Hence I am fixing it. At least the bot now doesn't crash as much :D!
 
Wonderful, as soon as Telekinetics is added I'll get started :) Also, I noticed today that for some reason the commando gunnery spec isn't using it's Cryo Grenade. I'm going to have to look into that and post a fix when I figure out what the deal is.
 
Heya, im trying out this and it it looks like sith warrior does not heal at all. Did i miss something or is it the way its set up?.
Thanks.


Basic warrior or what class? Since not all advanced classes are supported yet.


Basic warrior had issues with self healing. I just fixed it. I am sorry I have fat fingers! Enjoy! (update is on svn test build)
 
Last edited:
Thanks for your fast reply! Yeah im using the noxxic build and rotation myself, so i was already looking into the rotation coding.Maybe you can help with the following:
Is it possible to have or is there a command to use companion.attack in the ...Pull() sequence?

For instance im playing combat with Kira Carsen, which i use as my "tank". After shes in the group i double sable throw and then jump in.
And is it even possible to use the spells of the companion?

Thanks in advance!

I have yet to try for companion spell casting. This is something we will add later on since it is possible. Just cleaning up the code and adding all advanced classes. Then I will add more support for thinks like so. Just currently I really want this to just work for people before I start taking on too much and this project loses its end goal that I have in mind.
 
having cast heat problem on Bh Merc ares spec he keeps trying to cast heat with no heat keeping him from fighting and diedin or just standing there a lot
 
having cast heat problem on Bh Merc ares spec he keeps trying to cast heat with no heat keeping him from fighting and diedin or just standing there a lot


What merc class? Healing or what so I can fix. Those were done pre 2.0 and were getting tweaked.

BTW THANKS EVERY ONE FOR FEEDBACK!
 
Vent heat?

"Spell.Cast("Vent Heat", castWhen => BuddyTor.Me.ResourceStat >= 40),"

We really need to send in logs for these problems. Makes it so much easier for other to try and help.

Found the Arsenal routine "if (MercCast("Vent Heat", RS >= 80)) return;"

So Vent heat should be fine if the bot knows your a primary Arsenal

1 point body guard I don't see a routine in merchelpers so maybe not added yet let me look incase the bot says your a body guard....

Bodyguard is refered to merchelpers but no combat routines just a few lines for what looks to be healing routines.. So the Bodyguard combat is missing completely or has a different tag.
 
Last edited:
Vent heat?

"Spell.Cast("Vent Heat", castWhen => BuddyTor.Me.ResourceStat >= 40),"

We really need to send in logs for these problems. Makes it so much easier for other to try and help.

Found the Arsenal routine "if (MercCast("Vent Heat", RS >= 80)) return;"

So Vent heat should be fine if the bot knows your a primary Arsenal

1 point body guard I don't see a routine in merchelpers so maybe not added yet let me look incase the bot says your a body guard....

Bodyguard is refered to merchelpers but no combat routines just a few lines for what looks to be healing routines.. So the Bodyguard combat is missing completely or has a different tag.


Releasing fixes for all of BH later in day. Just out doors enjoying weather!
 
Status
Not open for further replies.
Back
Top