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

Threating Shout works very bad, help please

quadrotony

New Member
Joined
Feb 14, 2013
Messages
1,097
Reaction score
1
Code:
 // Threatening shout
            if (!UseOOCBuff && Hotbar.Contains(SNOPower.Barbarian_ThreateningShout) && !PlayerStatus.IsIncapacitated &&
                ((TargetUtil.AnyMobsInRange(15, Settings.Combat.Barbarian.MinThreatShoutMobCount)) || TargetUtil.IsEliteTargetInRange(15f)) &&
                (
                  PlayerStatus.CurrentHealthPct <= 1 ||
                  (Hotbar.Contains(SNOPower.Barbarian_Whirlwind) && PlayerStatus.PrimaryResource <= 114) ||
                  (IsWaitingForSpecial && PlayerStatus.PrimaryResource <= MinEnergyReserve)
                ) &&
              GilesUseTimer(SNOPower.Barbarian_ThreateningShout, true) && PowerManager.CanCast(SNOPower.Barbarian_ThreateningShout))
            {
                return new TrinityPower(SNOPower.Barbarian_ThreateningShout, 0f, vNullLocation, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
            }
            // Threatening shout out-of-combat
            if (UseOOCBuff && Settings.Combat.Barbarian.ThreatShoutOOC && Hotbar.Contains(SNOPower.Barbarian_ThreateningShout) &&
                !PlayerStatus.IsIncapacitated && PlayerStatus.PrimaryResource < 114 &&
                GilesUseTimer(SNOPower.Barbarian_ThreateningShout, true) && PowerManager.CanCast(SNOPower.Barbarian_ThreateningShout))
            {
                return new TrinityPower(SNOPower.Barbarian_ThreateningShout, 0f, vNullLocation, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);

this is my setup, but my barbarian use it very rarely, doesnt matter about checkbox in trinity - on/off
 
so with this settings the same

91871d1368707384-whats-next-ts.jpg.html


barb using this skill only few times in one CotA run..
 
and another question about Battle rage

with this new .310 db my barb using it very often, not every two minutes as before!

someti,es every sec!

Code:
// Battle rage, for if being followed and before we do sprint
            if (UseOOCBuff && !PlayerStatus.IsIncapacitated && Hotbar.Contains(SNOPower.Barbarian_BattleRage) &&
                (GilesUseTimer(SNOPower.Barbarian_BattleRage) || !GetHasBuff(SNOPower.Barbarian_BattleRage)) &&
                PlayerStatus.PrimaryResource >= 20 && PowerManager.CanCast(SNOPower.Barbarian_BattleRage))
            {
                return new TrinityPower(SNOPower.Barbarian_BattleRage, 0f, vNullLocation, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
 
Last edited:
Code:
            if (!UseOOCBuff && Hotbar.Contains(SNOPower.Barbarian_ThreateningShout) && !PlayerStatus.IsIncapacitated &&
                ((TargetUtil.AnyMobsInRange(25, Settings.Combat.Barbarian.MinThreatShoutMobCount)) || TargetUtil.IsEliteTargetInRange(25f)) &&
              GilesUseTimer(SNOPower.Barbarian_ThreateningShout, true) && PowerManager.CanCast(SNOPower.Barbarian_ThreateningShout))
            {
                return new TrinityPower(SNOPower.Barbarian_ThreateningShout, 0f, vNullLocation, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
            }
try that. if that doesnt fix it, well.. figure it out yourself because i cant be bothered testing or looking into it further for you.
 
and another question about Battle rage

with this new .310 db my barb using it very often, not every two minutes as before!

someti,es every sec!

Code:
// Battle rage, for if being followed and before we do sprint
            if (UseOOCBuff && !PlayerStatus.IsIncapacitated && Hotbar.Contains(SNOPower.Barbarian_BattleRage) &&
                (GilesUseTimer(SNOPower.Barbarian_BattleRage) || !GetHasBuff(SNOPower.Barbarian_BattleRage)) &&
                PlayerStatus.PrimaryResource >= 20 && PowerManager.CanCast(SNOPower.Barbarian_BattleRage))
            {
                return new TrinityPower(SNOPower.Barbarian_BattleRage, 0f, vNullLocation, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
as the comment states.. thats the logic to use battle rage if its not up before it uses sprint.
 
^ change range from 15 to 25, right?

or you mean replace all TS code by your code?
 
im stupid - there it is for BR
Code:
 // Battle rage, constantly maintain
            if (!UseOOCBuff && Hotbar.Contains(SNOPower.Barbarian_BattleRage) && !PlayerStatus.IsIncapacitated &&
                // Fury Dump Options for battle rage IF they don't have sprint 
                (
                 (Settings.Combat.Barbarian.FuryDumpWOTB && PlayerStatus.PrimaryResourcePct >= 0.99 && GetHasBuff(SNOPower.Barbarian_WrathOfTheBerserker)) ||
                 (Settings.Combat.Barbarian.FuryDumpAlways && PlayerStatus.PrimaryResourcePct >= 0.99) || !GetHasBuff(SNOPower.Barbarian_BattleRage)
                ) &&
                PlayerStatus.PrimaryResource >= 20 && PowerManager.CanCast(SNOPower.Barbarian_BattleRage))
            {
                return new TrinityPower(SNOPower.Barbarian_BattleRage, 0f, vNullLocation, CurrentWorldDynamicId, -1, 0, 0, WAIT_FOR_ANIM);

strange, why rrix wrote like this - without sprint we usually dont need to recast BR every sec
 
Last edited:
i change to 1 1 and 114 but bug still remain... i need rrrix skype
 
if you dont have an understanding of what youre changing you shouldnt be changing it. just leave shit how it is. mine arent having any issues with using battle rage more than it should, so youve probably fucked with something that broke it. copy a clean version of trinity and see if you still have the problem.

if a clean install of trinity works, leave it. nobody wants to be bombarded with a billion questions on shit you dont even understand if it works in the first place.
 
its funny but i figure it out! problem with BR solved

at least

i have two now
1. TS problem
2. wanna using WOTB on leets only
 
Last edited:
i mean TS

but nvm, seems so i solved it too by myself!

i searching this WOTB option may be some1 solved this too
only using on leets

but without success

you know its doesnt matter for long runs, but for Crypt of The Ancients its very important - very often if leets spawned in the end of cave barb meet em with WOTB on cooldown
 
Last edited:
i mean TS

but nvm, seems so i solved it too by myself!

i searching this WOTB option may be some1 solved this too
only using on leets

but without success

you know its doesnt matter for long runs, but for Crypt of The Ancients its very important - very often if leets spawned in the end of cave barb meet em with WOTB on cooldown
didnt you make a thread like... yesterday about wotb and someone even posted a fix for you?
 
it was about avoidance in WOTB mode
it was different and i handle it
 
If you have not solved the problem, try this:

Code:
// Threatening shout
            if (!UseOOCBuff && Hotbar.Contains(SNOPower.Barbarian_ThreateningShout) && !PlayerStatus.IsIncapacitated &&
                 [B][COLOR="#800000"](TargetUtil.IsEliteTargetInRange(25f) || AnythingWithinRange[RANGE_25] > 2[/COLOR][/B] || 
                  (Hotbar.Contains(SNOPower.Barbarian_Whirlwind) && PlayerStatus.PrimaryResource <= 10) ||
                  (IsWaitingForSpecial && PlayerStatus.PrimaryResource <= MinEnergyReserve)
 
Back
Top