Firefighter32
New Member
- Joined
- Dec 19, 2011
- Messages
- 70
- Reaction score
- 0
Hey guys im just looking for a little help on how to edit the barb.cs so that it basically never stops whirlwind so it doesn't drop its stacks of taeguk in greater rifts. As yall know without max stacks its almost impossible to stay alive in higher grifts (45+). If anyone else has found a way to keep up the stacks a different way im all ears. Thanks for any help in advance.
here is how far i have gotten following the guide to editing this type of stuff (https://www.thebuddyforum.com/demonbuddy-forum/plugins/trinity/71097-guide-walkthrough-changing-skill-activation-criteria-range-etc-dummies.html
says to go to barb .cs file and search for "// Whirlwind" to be able to edit this type of thing. Here the only thing that matches this search in that file:
// Whirlwind
if (IsNull(power) && CanUseWhirlwind)
power = PowerWhirlwind;
But if you search "CanUseWhirlwind" we get something that seems much better:
public static bool CanUseWhirlwind
{
get
{
if (UseOOCBuff || IsCurrentlyAvoiding || !CanCast(SNOPower.Barbarian_Whirlwind) || Player.IsIncapacitated || Player.IsRooted || Player.PrimaryResource < 10)
return false;
return (CurrentTarget.RadiusDistance <= 25f || TargetUtil.AnyMobsInRange(V.F("Barbarian.Whirlwind.TrashRange"), V.I("Barbarian.Whirlwind.TrashCount"))) &&
// Check for energy reservation amounts
Player.PrimaryResource >= V.D("Barbarian.Whirlwind.MinFury") &&
// If they have battle-rage, make sure it's up
(!Hotbar.Contains(SNOPower.Barbarian_BattleRage) || (Hotbar.Contains(SNOPower.Barbarian_BattleRage) && GetHasBuff(SNOPower.Barbarian_BattleRage)));
So all i can think at this point is on the "Return" line you see the distance if we make this like 99999. wouldn't that mean a monster is almost always 9999 (i assume yards) away meaning he will always WW unless he is under " Player.PrimaryResource < 10)" Edit once i messed with this in Notepad++ it appears 50f is the highest they have preset in here (wont make sense unless u use Notepad++
Well im going to give this a try and see if i don't crash my computer. I'll report if this works. But i hope there is a better way. maybe set it on a timer to where it does WW every 2 seconds or 2.5 seconds.
Any thoughts and or help would be greatly appreciated. Even links to different guides that could help me figure this out would be great.
here is how far i have gotten following the guide to editing this type of stuff (https://www.thebuddyforum.com/demonbuddy-forum/plugins/trinity/71097-guide-walkthrough-changing-skill-activation-criteria-range-etc-dummies.html
says to go to barb .cs file and search for "// Whirlwind" to be able to edit this type of thing. Here the only thing that matches this search in that file:
// Whirlwind
if (IsNull(power) && CanUseWhirlwind)
power = PowerWhirlwind;
But if you search "CanUseWhirlwind" we get something that seems much better:
public static bool CanUseWhirlwind
{
get
{
if (UseOOCBuff || IsCurrentlyAvoiding || !CanCast(SNOPower.Barbarian_Whirlwind) || Player.IsIncapacitated || Player.IsRooted || Player.PrimaryResource < 10)
return false;
return (CurrentTarget.RadiusDistance <= 25f || TargetUtil.AnyMobsInRange(V.F("Barbarian.Whirlwind.TrashRange"), V.I("Barbarian.Whirlwind.TrashCount"))) &&
// Check for energy reservation amounts
Player.PrimaryResource >= V.D("Barbarian.Whirlwind.MinFury") &&
// If they have battle-rage, make sure it's up
(!Hotbar.Contains(SNOPower.Barbarian_BattleRage) || (Hotbar.Contains(SNOPower.Barbarian_BattleRage) && GetHasBuff(SNOPower.Barbarian_BattleRage)));
So all i can think at this point is on the "Return" line you see the distance if we make this like 99999. wouldn't that mean a monster is almost always 9999 (i assume yards) away meaning he will always WW unless he is under " Player.PrimaryResource < 10)" Edit once i messed with this in Notepad++ it appears 50f is the highest they have preset in here (wont make sense unless u use Notepad++
Well im going to give this a try and see if i don't crash my computer. I'll report if this works. But i hope there is a better way. maybe set it on a timer to where it does WW every 2 seconds or 2.5 seconds.
Any thoughts and or help would be greatly appreciated. Even links to different guides that could help me figure this out would be great.
Last edited: