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

[DH] How can I spam Sentry when the cd is done?

omfgrjj

Member
Joined
Aug 3, 2014
Messages
50
Reaction score
0
I am wondering could I set the sentry as my paramount skill.
As my sentry does excellent damage, but the bot just waste the cool down and spam other skills.
How can I change the skill priority to sentry instead of the other skills?
Can someone write a few lines for me to modify the DH profile?
thanks
 
I am wondering could I set the sentry as my paramount skill.
As my sentry does excellent damage, but the bot just waste the cool down and spam other skills.
How can I change the skill priority to sentry instead of the other skills?
Can someone write a few lines for me to modify the DH profile?
thanks

what?
 
Here is my sentry code in DemonHunter.cs

Code:
            // Sentry Turret
            if (!UseOOCBuff && !Player.IsIncapacitated && 
                CombatBase.CanCast(SNOPower.DemonHunter_Sentry) &&
                TargetUtil.AnyMobsInRange(50, 1) &&
                Player.PrimaryResource >= 30)
            {
                return new TrinityPower(SNOPower.DemonHunter_Sentry, 65f, Player.Position);
            }

It casts sentry whenever it can. Additionally this places the sentry at the player's currently location, which I find to be more effective in general, but it's a personal preference.

Also, make sure you modify the minimum hatred levels for the spenders you're using so that they never bring your hatred below 30, otherwise you may not be able to cast your sentry when the cooldown finishes.
 
Here is my sentry code in DemonHunter.cs

Code:
            // Sentry Turret
            if (!UseOOCBuff && !Player.IsIncapacitated && 
                CombatBase.CanCast(SNOPower.DemonHunter_Sentry) &&
                TargetUtil.AnyMobsInRange(50, 1) &&
                Player.PrimaryResource >= 30)
            {
                return new TrinityPower(SNOPower.DemonHunter_Sentry, 65f, Player.Position);
            }

It casts sentry whenever it can. Additionally this places the sentry at the player's currently location, which I find to be more effective in general, but it's a personal preference.

Also, make sure you modify the minimum hatred levels for the spenders you're using so that they never bring your hatred below 30, otherwise you may not be able to cast your sentry when the cooldown finishes.

Where do I set the minumum hatred levels, and where exactly would I past that code in the file?
 
Thanks MyTee +rep but i saw when i replace my DemonHunter.cs Sentry Turret code with yours my game got some freeze if you know a way to fix it please thanks.
 
any idea how to change new trinity 2.1.4 sentry code for spaming them all the time when cd is over?

// Sentry Turret
int sentryCoolDown = SpellHistory.SpellUseCountInTime(SNOPower.DemonHunter_Sentry, TimeSpan.FromSeconds(24)) >= 4 ? 12 : 6;
bool hasBombadiersRucksack = Legendary.BombadiersRucksack.IsEquipped;
int maxSentries = hasBombadiersRucksack ? 4 : 2;
int sentryCount = ZetaDia.Actors.GetActorsOfType<DiaUnit>(true).Where(u => u.ActorSNO == 150025 && u.Distance < 60).Count();
bool hasM6 = Sets.EmbodimentOfTheMarauder.IsThirdBonusActive;
bool sentryCheck = (!UseOOCBuff && !Player.IsIncapacitated && CombatBase.CanCast(SNOPower.DemonHunter_Sentry, CombatBase.CanCastFlags.NoTimer) &&
(TargetUtil.AnyElitesInRange(50) || TargetUtil.AnyMobsInRange(50) || TargetUtil.IsEliteTargetInRange(50)) &&
Player.PrimaryResource >= 30 && sentryCount < maxSentries &&
(SpellHistory.TimeSinceUse(SNOPower.DemonHunter_Sentry) > TimeSpan.FromSeconds(sentryCoolDown) || SpellHistory.DistanceFromLastUsePosition(SNOPower.DemonHunter_Sentry) > 7.5));

if (hasM6 && sentryCheck || !hasM6 && sentryCheck && (TargetUtil.AnyMobsInRange(55f, 1)))
{
return new TrinityPower(SNOPower.DemonHunter_Sentry, 65f, TargetUtil.GetBestClusterPoint());
}
 
the new trinity 2.1.5 spams sentrys as long as there is less then the max number sentry you can have, within a certain range.
 
the new trinity 2.1.5 spams sentrys as long as there is less then the max number sentry you can have, within a certain range.

i know it is.
i want to spam sentry all the time, all the way. not only at boss etc. this would be great for stucking at mobs with zerg bounties t6. And i don't want to use illusory boots.

or maybe there is other way to avoid large packs of mobs at 0 discipline and close quarter maps?
 
i know it is.
i want to spam sentry all the time, all the way. not only at boss etc. this would be great for stucking at mobs with zerg bounties t6. And i don't want to use illusory boots.

or maybe there is other way to avoid large packs of mobs at 0 discipline and close quarter maps?

Hi yes i need that too if Trinity coders can add a checkable option like "Spam Smoke Screen" for spam Sentrys in demonhunter settings would be great , if no i'm still looking for a way to spam Sentry anytime even not in combat thanks.
 
Back
Top