Important Change for Honorbuddy, Demonbuddy and HearthBuddy Lifetime Users

    Greetings Buddies,
    For our long term plans, it is inevitable to do the following changes effective immediately (tomorrow - 18 January 2017). We are changing all existing Demonbuddy and Honorbuddy Lifetime licenses to expire after 2 years of usage.


    read more



Results 1 to 4 of 4
  1. #1
    Buddy
    Reputation
    Join Date
    02.04.2012
    Posts
    137

    Default Requesting: Shadow Power (true/false) for Shadow Mantle set

    I'd like to request a Shadow Mantle combat routine for trinity but I doubt it will happen. So I'd like to ask for just:

    If Shadow Power is active
    cast Shadow Power
    else


    Something like that. I noticed in the rift there is no point whatsoever that the bot uses Shadow Power. It's fine in normal rifts since the bot never dies and I activated Shadow Power ahead of time, but when I'm doing greater rifts shadow power is disabled (all buffs are removed) before entering and have to be reapplied.

    I've tried editing the routines in the past but it never seemed to take as something would override it. Any help would be great.

  2. #2
    Buddy
    Reputation
    Join Date
    04.05.2014
    Posts
    986

    Default

    Provide a link to the build, you never know what might happen

  3. #3
    Buddy
    Reputation
    Join Date
    10.05.2016
    Posts
    3

    Default

    I made a "workaround" that seems to work:

    Edit "DemonHunterBase.cs" in Trinity\Routines\DemonHunter.

    Original:

    protected virtual bool ShouldShadowPower()
    {
    if (!Skills.DemonHunter.ShadowPower.CanCast())
    return false;

    if (Player.HasBuff(SNOPower.DemonHunter_ShadowPower))
    return false;

    if (Skills.DemonHunter.ShadowPower.TimeSinceUse < 4500)
    return false;

    if (TargetUtil.AnyElitesInRange(40f))
    return true;

    if (Player.CurrentHealthPct < 0.7f)
    return true;

    if (TargetUtil.NumMobsInRange() > 5)
    return true;


    return false;
    }
    workaround:

    protected virtual bool ShouldShadowPower()
    {
    if (!Skills.DemonHunter.ShadowPower.CanCast())
    return false;

    if (Player.HasBuff(SNOPower.DemonHunter_ShadowPower))
    return false;

    if (Skills.DemonHunter.ShadowPower.TimeSinceUse < 4500)
    return false;

    if (Player.CurrentHealthPct < 1.1f)
    return true;


    return false;
    }
    Last edited by UnhallowedEssence; 17.01.2017 at 09:04.

  4. #4
    Buddy
    Reputation
    Join Date
    04.05.2014
    Posts
    986

    Default

    Fair warning here:

    Any changes that you make to the DemonHunterBase could affect that skill in every build that the DH uses.

    IE you might see an improvement in what you're trying to do, but might break everything else.


    Its best to place an override in the actual routine that you're using rather than risking a break in the other DH routines.

    Quote Originally Posted by UnhallowedEssence View Post
    I made a "workaround" that seems to work:

    workaround:

    Code:
    if (Player.CurrentHealthPct < 1.1f)
    return true;
    Why are you trying to change the health for activation to more than 110%? Would make more sense to just not have that line there at all.

    You are also removing the code to have it activate when elites are around or more than 5 enemies are nearby?


    I repeat my original question to the OP. Is there a link that you can provide to the build that you want so that someone can actually make a routine for the build?

    I just finished with 3 monk routines and the hammerdin routine, DH is not likely my next target. I am not promising that I am going to make it anytime soon. But if you just say "I want Shadow Mantle routine" that could mean anything.

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •