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

Barb EarthQuake Optimization

rimmi2002

New Member
Joined
Apr 28, 2014
Messages
138
Reaction score
2
Barb Leap/EQ/Luts Optimization Guide

Completed my quake/Luts set a few days ago and realized Trinity is not so good as using Quake with lut socks. Made a few modifcations and it works well now. I use call of arreat run so it pulls everyone in...so all my quakes now happen right on top of each other so everyone gets pulled in and damage stacks 3x. I ran T6 with this and was able to clear with no deaths. Only down side...Barbs are no where as quick as Crusaders still took about 20-25 mins to clear a T6 rift. (low density though)

Code:
[COLOR="#008000"]// This will now cast whenever leap is available and an enemy is around. Disable Leap OOC option. The last line will prevent you from leaping on destructibles[/COLOR]

public static bool CanUseLeap
        {
            get
            {
                return
                    !UseOOCBuff &&
                    !Player.IsIncapacitated &&
                    CanCast(SNOPower.Barbarian_Leap) &&
                    [COLOR="#FF0000"]TargetUtil.AnyMobsInRange(15f, 1)[/COLOR];
            }
        }


Changes below make it so Leap occurs in relatively small space. Works much better for call of Arreat rune...all 3 quakes stack in the same area. The original line (commented below) might be better for death from above rune

Code:
public static TrinityPower PowerLeap
        {
            get
            {
                [COLOR="#FF0000"]Vector3 aoeTarget = TargetUtil.GetBestClusterPoint(7f, 9f, false);[/COLOR] [COLOR="#008000"]// For Call of Arreat rune  will do all quakes on top of each other[/COLOR] 
		// Vector3 aoeTarget = TargetUtil.GetBestClusterPoint(15f, 35f, false); [COLOR="#008000"]//To Jump around for quakes for Death from Above[/COLOR]. 

                return new TrinityPower(SNOPower.Barbarian_Leap, V.F("Barbarian.Leap.UseRange"), aoeTarget);
            }
        }

if using HOTA when leap is not active the change below will use HOTA when ever leap is not available and switch back to leap as soon as its off cool down.

Code:
public static bool CanUseHammerOfTheAncients
        {
           get
            {
                return [COLOR="#FF0000"]!CanUseLeap[/COLOR] && !UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated && !IsWaitingForSpecial && CanCast(SNOPower.Barbarian_HammerOfTheAncients) &&
                    (Player.PrimaryResource >= V.F("Barbarian.HammerOfTheAncients.MinFury") || LastPowerUsed == SNOPower.Barbarian_HammerOfTheAncients) &&
                    (!Hotbar.Contains(SNOPower.Barbarian_Whirlwind) || (Player.CurrentHealthPct >= Settings.Combat.Barbarian.MinHotaHealth && Hotbar.Contains(SNOPower.Barbarian_Whirlwind)));
            }
        }


public static bool CanUseHammerOfTheAncientsElitesOnly
        {
            get
            {
                bool canUseHota = CanUseHammerOfTheAncients;

                if ([COLOR="#FF0000"]canUseHota && !CanUseLeap)[/COLOR]
                {
                    bool hotaElites = (CurrentTarget.IsBossOrEliteRareUnique || CurrentTarget.IsTreasureGoblin) && TargetUtil.EliteOrTrashInRange(10f);

                    bool hotaTrash = IgnoringElites && CurrentTarget.IsTrashMob &&
                        (TargetUtil.EliteOrTrashInRange(6f) || CurrentTarget.MonsterSize == Zeta.Game.Internals.SNO.MonsterSize.Big);

                    return canUseHota && (hotaElites || hotaTrash);
                }
                return false;
            }
        }


Attached is my combat file. It also includes addition to use ignore pain off cooldown. Excellent when you have pride of cassius.

View attachment BarbarianCombat.cs
 
Last edited:
Could u plz upload ur barb.cs would be much easier for some to change it. Thx for the patches
 
Do you know if it is possible to add a rune check for spells? So that i can uncomment ur second leap part?
 
there is....Below is an example for earthquake in the barbcombat.cs. I am sure it can be changed to apply for Leap (its a bool Variable)

Code:
HotbarSkills.AssignedSkills.Any(p => p.Power == SNOPower.Barbarian_Earthquake && p.RuneIndex == 4)


HotbarSkills.AssignedSkills.Any(p => p.Power == SNOPower.Barbarian_Leap && p.RuneIndex == 3) // Should work for call of arreat
HotbarSkills.AssignedSkills.Any(p => p.Power == SNOPower.Barbarian_Leap && p.RuneIndex == 4) // Should work for death from above
 
since i am pure eq barb how do i make it so it alway spam eq instead of auto attacking monster with a 500 dps offhand lol
 
+1 same issue..don't have any attack and it try to hit mobs with 1m heats instead of leaping sometimes
 
since i am pure eq barb how do i make it so it alway spam eq instead of auto attacking monster with a 500 dps offhand lol

What do u mean my spam EQ? Its got a 60 sec cooldown...in the mean time all you can do is wait for your leap to come back or have other attacks to use.
 
Hey there, thank you very much for the .cs.

But now my Barb wont use Earthquake anymore.
The jump with the Earthquake works great.

Anything to help me out?

Greetz!
 
right now Trinity is configured to use EQ only on Elites...is it using it there when you have enough fury? Also are you using Beserker's rage? In that case you need to be 100% fury to use per trinity setup.
 
Hey, I took rimmi's changes and modded Trinity to have an option (Checkbox under Combat->Barb) for players that use Leap/Quake/Luts that will use his code.

This is currently part of a bigger project I'm working on, but since I don't have the means to test this myself, I'd like you guys to try it out and tell me whether it works as intended.

Just let me know if Checked and Unchecked options will do what they're supposed to.

To use this, replace the three files contained in the attachment.
 
Back
Top