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

DH M6 sentry hatred spenders

Klikkoklakk

Member
Joined
Sep 7, 2012
Messages
125
Reaction score
1
I've seen this posted many times, but no anwer has worked for me. I'll keep this short.

Using a Kridershot, it's no problem, my DH puts out sentries on cooldown, and uses elemental arrow to generate hatred. No problem.
Today I switched to an Etrayu. That became a problem. Now he never uses sentry, only spams other hatred spenders. I tried to change the demonhunter.cs file, and increase the minimum hatred needed, but he still uses elemental arrow under the value I set...

Any input?
 
There's 2 places you need to change for elemental arrow.

Scroll down all the way to the end, you need to change the last function as well, basically the bot always shoots something even if thats regular attack that is not available for players that have hatred!

I'll PM you the one I edited.
 
There's 2 places you need to change for elemental arrow.

Scroll down all the way to the end, you need to change the last function as well, basically the bot always shoots something even if thats regular attack that is not available for players that have hatred!

I'll PM you the one I edited.

det er fyfy å botte ;)
 
Thanks sibs, didnt even think about changing the minimumresources value. Works good :)
 
Would it be so hard to share this fix for ele arrow instead of pm it?

Also is it possible to make it so that sentry has a higher priority to be cast over ele arrow, multi shot, and cluster arrow?
 
Last edited:
I only changed this settings and it works for me.
(root/plugins/trinity/combat/abilities/demonhunter.cs)


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

// Multi Shot
if (!UseOOCBuff && !IsCurrentlyAvoiding && CombatBase.CanCast(SNOPower.DemonHunter_Multishot) && !Player.IsIncapacitated &&
Player.PrimaryResource >= 125 &&
(TargetUtil.AnyMobsInRange(40, 2) || CurrentTarget.IsBossOrEliteRareUnique || CurrentTarget.IsTreasureGoblin))
{
return new TrinityPower(SNOPower.DemonHunter_Multishot, 30f, CurrentTarget.Position, CurrentWorldDynamicId, -1, 1, 1);
}

// Elemental Arrow
if (!UseOOCBuff && !IsCurrentlyAvoiding && Hotbar.Contains(SNOPower.DemonHunter_ElementalArrow) &&
SNOPowerUseTimer(SNOPower.DemonHunter_ElementalArrow) && !Player.IsIncapacitated &&
((Player.PrimaryResource >= 40 && !Player.WaitingForReserveEnergy) || Player.PrimaryResource >= MinEnergyReserve || hasKridershot))
{
return new TrinityPower(SNOPower.DemonHunter_ElementalArrow, 65f, Vector3.Zero, -1, CurrentTarget.ACDGuid, 0, 1);
}
 
I only changed this settings and it works for me.
(root/plugins/trinity/combat/abilities/demonhunter.cs)


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

// Multi Shot
if (!UseOOCBuff && !IsCurrentlyAvoiding && CombatBase.CanCast(SNOPower.DemonHunter_Multishot) && !Player.IsIncapacitated &&
Player.PrimaryResource >= 125 &&
(TargetUtil.AnyMobsInRange(40, 2) || CurrentTarget.IsBossOrEliteRareUnique || CurrentTarget.IsTreasureGoblin))
{
return new TrinityPower(SNOPower.DemonHunter_Multishot, 30f, CurrentTarget.Position, CurrentWorldDynamicId, -1, 1, 1);
}

// Elemental Arrow
if (!UseOOCBuff && !IsCurrentlyAvoiding && Hotbar.Contains(SNOPower.DemonHunter_ElementalArrow) &&
SNOPowerUseTimer(SNOPower.DemonHunter_ElementalArrow) && !Player.IsIncapacitated &&
((Player.PrimaryResource >= 40 && !Player.WaitingForReserveEnergy) || Player.PrimaryResource >= MinEnergyReserve || hasKridershot))
{
return new TrinityPower(SNOPower.DemonHunter_ElementalArrow, 65f, Vector3.Zero, -1, CurrentTarget.ACDGuid, 0, 1);
}
I just got M6 bonus and wondering if this is all I need to change to make it work. I also have Bombadier's Rucksack to lay down more sentries. This seems too easy... is this right?
 
I just got M6 bonus and wondering if this is all I need to change to make it work. I also have Bombadier's Rucksack to lay down more sentries. This seems too easy... is this right?

same question as me! help would be much appreciated! :rolleyes:
 
Back
Top