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

How to make bot use earthquake at closer range?

vaheko1990

Member
Joined
Jun 9, 2013
Messages
59
Reaction score
0
Hey guys quick question. I am trying to figure out how to make the bot not use earthquake on my Barb so far away from the boss/target. So far I have no luck. Can anybody help me please? I would just like the bot to use earthquake more closer like face-to-face distance from the target so it counts.

Thanks!
 
Not sure this will work, but you can try changing the BarbarianCombat.cs file located in {DBROOT}\Plugins\Trinity\Combat\Abilities from

PHP:
        public static bool ShouldWaitForEarthquake
        {
            get
            {
                return
                    Hotbar.Contains(SNOPower.Barbarian_Earthquake) &&
                    !UseOOCBuff &&
                    !IsCurrentlyAvoiding &&
                    !CanCast(SNOPower.Barbarian_Earthquake) &&
                    TargetUtil.EliteOrTrashInRange(45) &&
                    Player.PrimaryResource <= 50;
            }
        }

to

PHP:
        public static bool ShouldWaitForEarthquake
        {
            get
            {
                return
                    Hotbar.Contains(SNOPower.Barbarian_Earthquake) &&
                    !UseOOCBuff &&
                    !IsCurrentlyAvoiding &&
                    !CanCast(SNOPower.Barbarian_Earthquake) &&
                    TargetUtil.EliteOrTrashInRange(20) &&
                    Player.PrimaryResource <= 50;
            }
        }

Change the "20" to a number you feel comfortable with. I'm not sure if my ShouldWaitForEarthquake was changed from what exists in the trinity release, I tweak the barb stuff quite a bit, but just note, what you are looking for is the TargetUtil.EliteOrTrashInRange(45) part and thats all you should need to change.
 
Last edited:
Not sure this will work, but you can try changing the BarbarianCombat.cs file located in {DBROOT}\Plugins\Trinity\Combat\Abilities

PHP:
        public static bool ShouldWaitForEarthquake
        {
            get
            {
                return
                    Hotbar.Contains(SNOPower.Barbarian_Earthquake) &&
                    !UseOOCBuff &&
                    !IsCurrentlyAvoiding &&
                    !CanCast(SNOPower.Barbarian_Earthquake) &&
                    TargetUtil.EliteOrTrashInRange(20) &&
                    Player.PrimaryResource <= 50;
            }
        }

Change the "20" to a number you feel comfortable with. I'm not sure if my ShouldWaitForEarthquake was changed from what exists in the trinity release, I tweak the barb stuff quite a bit, but just note, what you are looking for is the TargetUtil.EliteOrTrashInRange(45) part and thats all you should need to change.

Hey bro thanks a lot it worked, I appreciate the help! I have 1 more question I'd like to ask since you know how to operate with these files. My barb uses call of the ancients on useless trash when I run profiles, usually like right after it uses the waypoint to go to a certain location, it pops COTA immediately. I hate it because it is then on cooldown when the bot needs to use it during elite fights and etc. This causes the bot to die often. Do you have a solution to this by chance good sir? :)
 
I need help for earthquake not use this skill my DB. Not stop use HotA and not use earthquake help me pls.
 
Hey bro thanks a lot it worked, I appreciate the help! I have 1 more question I'd like to ask since you know how to operate with these files. My barb uses call of the ancients on useless trash when I run profiles, usually like right after it uses the waypoint to go to a certain location, it pops COTA immediately. I hate it because it is then on cooldown when the bot needs to use it during elite fights and etc. This causes the bot to die often. Do you have a solution to this by chance good sir? :)

How do you want the behavior to act? Simply pop COTA when in range of elites?
 
I need help for earthquake not use this skill my DB. Not stop use HotA and not use earthquake help me pls.

I'm not sure I understand what you want, if you don't want to use EQ, don't have the skill on your bar.
 
How do you want the behavior to act? Simply pop COTA when in range of elites?

Yes just like that! Please

Also, would you happen to be able to show me how to make arcane orb for my wizard cast at a closer range as well? It shoots orb way to far from enemy so the attack doesn't hit sometimes.
 
Back
Top