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

Improvement in Leap OOC & something about avoidance

pasnew

New Member
Joined
Apr 21, 2015
Messages
19
Reaction score
0
Hi,
For the Leap OOC with Earthquake set Equipped, I added this code in PlayerMover to use BoulderToss in order to reduce the CDR of Leap and it works very well :cool:
Especially when blocked by ignored monsters.
Code:
//BoulderToss CDR
if (Trinity.Settings.Combat.Barbarian.UseLeapOOC && CacheData.Hotbar.ActivePowers.Contains(SNOPower.Barbarian_Leap) && CacheData.Hotbar.ActivePowers.Contains(SNOPower.X1_Barbarian_AncientSpear) &&
PowerManager.CanCast(SNOPower.X1_Barbarian_AncientSpear) && !PowerManager.CanCast(SNOPower.Barbarian_Leap) && Sets.MightOfTheEarth.IsEquipped && CacheData.Player.PrimaryResourcePct > 0.8)
{
    var bestAoEUnit = TargetUtil.GetBestRiftValueClusterPoint(50f, .1);
    Skills.Barbarian.AncientSpear.Cast(bestAoEUnit);
    if (Trinity.Settings.Advanced.LogCategories.HasFlag(LogCategory.Movement))
        Logger.Log(TrinityLogLevel.Debug, LogCategory.Movement, "Using AncientSpear for CDR");
        return;
}

For the Avoidance stuff, sometimes it not works as it should be since long time...
With the new Visualizer of Trinity, I saw the bot successfully identified AOEs but sometimes the safe point is inside AOE:( (Of cause I didn't messed up Trinity settings..)
Maybe bug in the FindSafeZone ? Or the cache is not refreshed when the bot calculate the point ?
encFVqA.png
 
Hm, the boulder toss OOC is interesting. Thanks for that, I'll work into trinity.

As for avoidance: yeah, it's broken. Matter of fact it has always been, and believe me there's no one more aware of and bugged by it than me and xz jv, but it's really not that easy to fix. We'll get there some time, but until then you'll just have to live with it, sorry :(.
 
Thanks for your quickky reply:)
In fact with my code the bot jumps a little too much for short distance, result it's not really quicker, I havn't try to check the distance before jump.

I'll try to dig the avoidance stuff if I've time, but like you said it's hard to fix , as it's not possilbe to do real time debug (10x harder than my CS:GO *****er)
 
Back
Top