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

Demon Hunter Friendly - M6 Sentry build changes

v8n3t

Member
Joined
May 5, 2014
Messages
92
Reaction score
11
Hello all,

I posted a really nice thread earlier and it appears the forums had just crashed and recovered. My thread was lost in the process and I won't write it up that nice again.

I only made the changes for Cluster Arrow and Multi Shot, because those are the only 2 spenders I have on my hot-bar. You can easily apply these changes to other spenders as well.

If you want your demon hunter to not use any of these spenders at all, just set the bool's initialized value to false. If you want it enabled, set it true.

Its also conservative about how it uses the spenders now. Nothing worse than running out of hatred and your toon dies because he/she can't vault.

Quick note, even though its not using a spender the Trinity plugin has it cast the Auto attack which still proc's ballistics passive.

In short, take this:

Code:
// Sentry Turret
            if (!UseOOCBuff && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.DemonHunter_Sentry, CombatBase.CanCastFlags.NoTimer) &&
                Player.PrimaryResource >= 30 &&
                (SpellHistory.TimeSinceUse(SNOPower.DemonHunter_Sentry) > TimeSpan.FromSeconds(sentryCoolDown) || SpellHistory.DistanceFromLastUsePosition(SNOPower.DemonHunter_Sentry) > 7.5))
            {

                return new TrinityPower(SNOPower.DemonHunter_Sentry, 65f, TargetUtil.GetBestClusterPoint());
            }

// Cluster Arrow
			bool disableClusterArrowSpender = true;
			if (!UseOOCBuff && !IsCurrentlyAvoiding && CombatBase.CanCast(SNOPower.DemonHunter_ClusterArrow) && !Player.IsIncapacitated && Player.PrimaryResource >= 75){
				if(!disableClusterArrowSpender)
					return new TrinityPower(SNOPower.DemonHunter_ClusterArrow, V.F("DemonHunter.ClusterArrow.UseRange"), CurrentTarget.ACDGuid);
			}
			

            // Multi Shot
			bool disableMultiShotSpender = false;
			if (!UseOOCBuff && !IsCurrentlyAvoiding && CombatBase.CanCast(SNOPower.DemonHunter_Multishot) && !Player.IsIncapacitated && Player.PrimaryResource >= 75){
				if(!disableMultiShotSpender)
					return new TrinityPower(SNOPower.DemonHunter_Multishot, 30f, CurrentTarget.Position, CurrentWorldDynamicId, -1, 1, 1);
			}

And replace it in DemonHunter.cs which can be found in Plugins\Trinity\Combat\Abilities
 
Last edited:
I would like to add 2 minor things.

1. The bot by default, doesn't use the sentry when there is only 1 trash mob nearby. Now if you are low on your hatred, it may waste lot of time. Hence I recommend changing TargetUtil.AnyMobsInRange(50, 2) to TargetUtil.AnyMobsInRange(50, 1) in the sentry block of the file.

2. If you are planning to run A4 bounties, it is not a wise idea to disable cluster arrow, since the pets and sentries do not attack corrupted growth.
 
I would like to add 2 minor things.

1. The bot by default, doesn't use the sentry when there is only 1 trash mob nearby. Now if you are low on your hatred, it may waste lot of time. Hence I recommend changing TargetUtil.AnyMobsInRange(50, 2) to TargetUtil.AnyMobsInRange(50, 1) in the sentry block of the file.

2. If you are planning to run A4 bounties, it is not a wise idea to disable cluster arrow, since the pets and sentries do not attack corrupted growth.

Ahh thats because I didn't post my other change.

Ill update original post to take care of #1, and #2 isnt even a problem as those die right away anyways from even the AutoAttacks even in T4/T6 it only takes a few seconds.
 
Updated original post with the minor change to the Sentry usage.
 
I suggest increase some range to activate the wolf companion for elite, it will perform better.
// Use Wolf Howl on Unique/Elite/Champion - Would help for farming trash, but trash farming should not need this - Used on Elites to reduce Deaths per hour
if (hasWolf && CombatBase.CanCast(SNOPower.X1_DemonHunter_Companion) &&
(TargetUtil.AnyMobsInRange(20) || (CurrentTarget.IsBossOrEliteRareUnique && CurrentTarget.RadiusDistance < 65f)))
{
return new TrinityPower(SNOPower.X1_DemonHunter_Companion);
}
 
I use companion solely to restore hatred, i will post my modified Sentry Demonhunter.cs later today
 
How high torment level can you run with M6 sentry build? Rifts/bounties, that is.

Edit: This looks promising, because i'm looking for a replacement for Ghom T6 on my DH or low torment bounties on my monk!
 
How high torment level can you run with M6 sentry build? Rifts/bounties, that is.

Edit: This looks promising, because i'm looking for a replacement for Ghom T6 on my DH or low torment bounties on my monk!

You can T6 for sure, both my monk and DH running T6 without any problem.
Do some research. :)
 
You can T6 for sure, both my monk and DH running T6 without any problem.
Do some research. :)


Ohh, Haven't given much thought to it. I'll look around some, thanks for the heads up!
 
i have a couple of question the first one is.....what does m6 build means...and the second one...is should i replace all text from
Plugins\Trinity\Combat\Abilities with this new one or just an specific part...thx a lot
 
i have a couple of question the first one is.....what does m6 build means...and the second one...is should i replace all text from
Plugins\Trinity\Combat\Abilities with this new one or just an specific part...thx a lot

I'm gonna assume M6 means Maurader's 6piece set.
 
i dont have much cdr but it seems to take a long time to throw down another turret. I would like to know where the setting is for the turret cooldown. I found what I thought was it in the sentry section of the demonhunter.cs file and lowered it from 7.5 to 6.1 and still no change after restarting demon buddy. Also when killing ghom i would like to wait to use the wolf howl until about 10 seconds into the fight so that I have 2 turrets down. Any suggestions there?
 
i dont have much cdr but it seems to take a long time to throw down another turret. I would like to know where the setting is for the turret cooldown. I found what I thought was it in the sentry section of the demonhunter.cs file and lowered it from 7.5 to 6.1 and still no change after restarting demon buddy. Also when killing ghom i would like to wait to use the wolf howl until about 10 seconds into the fight so that I have 2 turrets down. Any suggestions there?

Exactly this is what i want to know.. Im running about 27% CDR which is fine for now.. waiting for a new mara shoulder piece for another 8%.
But this is exactly what im looking for... the bot doesnt take CDR in account it seems, so id like to change the timer.. but im not sure how.
 
Exactly this is what i want to know.. Im running about 27% CDR which is fine for now.. waiting for a new mara shoulder piece for another 8%.
But this is exactly what im looking for... the bot doesnt take CDR in account it seems, so id like to change the timer.. but im not sure how.

You can change this by going in Trinity Settings, the Variables tab, and open "Open trinity variable configuration" , then scroll down and look for demon hunter skills you need to change timer..

Simple calculation for sentry : 6 sec cooldown, if you have 27% CDR, multiply by 0.73
6 * 0.73 = 4.38 sec, then you can set "SpellDelay.DemonHunter_Sentry" to 4400 or 4500
 
You can change this by going in Trinity Settings, the Variables tab, and open "Open trinity variable configuration" , then scroll down and look for demon hunter skills you need to change timer..

Simple calculation for sentry : 6 sec cooldown, if you have 27% CDR, multiply by 0.73
6 * 0.73 = 4.38 sec, then you can set "SpellDelay.DemonHunter_Sentry" to 4400 or 4500

Everytime DB close or restart we have to set in the trinity variable configuration again? is there anyway to set it perm?
 
Everytime DB close or restart we have to set in the trinity variable configuration again? is there anyway to set it perm?

Just click "Save" button in the variable configuration window..
 
Well even with current spelldelay on Trinity it takes alot to cast the Sentry.

And after enter the game , it takes 3 second to detect it is in-game and reload everything , that should be improved by DB team.
 
Back
Top