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

Trinity doesn't use threating shout very well

spitfireqt

New Member
Joined
Jan 1, 2013
Messages
132
Reaction score
0
I wish it would use it when 3 or more mobs are in range. It's just not spamming it enough, it's a great skill to pick now that rrrix made the party plugin to work. Anyone can help me with the code?


Code:
// Threatening shout
                    if (!bOOCBuff && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_ThreateningShout) && !playerStatus.bIsIncapacitated &&
                        (
                            (targetCurrent.bThisBoss && targetCurrent.fRadiusDistance <= 20) || (iAnythingWithinRange[RANGE_20] > 3) || ((iAnythingWithinRange[RANGE_20] + iElitesWithinRange[RANGE_20]) > 3)
                        ) &&
                        GilesUseTimer(SNOPower.Barbarian_ThreateningShout, true) && PowerManager.CanCast(SNOPower.Barbarian_ThreateningShout))
                    {
                        return new GilesPower(SNOPower.Barbarian_ThreateningShout, 0f, vNullLocation, iCurrentWorldID, -1, 1, 1, USE_SLOWLY);
                    }

Is the code right?
 
from that code it should be using it if more than 3 (meaning 4 or more) are within 20 range.
this part:
iAnythingWithinRange[RANGE_20] > 3
is the part youll want to change to suit what you want. if you want it 3 or more you can either change it to >= 3 or > 2.
 
from that code it should be using it if more than 3 (meaning 4 or more) are within 20 range.
this part:

is the part youll want to change to suit what you want. if you want it 3 or more you can either change it to >= 3 or > 2.

It's not that, i think it doesn't use it because my barb is always full hp? I've a very tanky barb as party leader, i think trinity only uses threatening shout when he's low hp.


Code:
// Threatening shout
            if (!UseOOCBuff && Hotbar.Contains(SNOPower.Barbarian_ThreateningShout) && !PlayerStatus.IsIncapacitated &&
                ((TargetUtil.AnyMobsInRange(25, Settings.Combat.Barbarian.MinThreatShoutMobCount)) || TargetUtil.IsEliteTargetInRange(25f)) &&
                (
                  PlayerStatus.CurrentHealthPct <= [B][COLOR="#FF0000"]0.75[/COLOR][/B] ||

I changed 0.75 with 1, it should use it even when full hp right?
 
the thing you first pasted had nothing about your hp. yeah changing it to 1 will use it at full hp, or you could just remove that part from the code.
 
Back
Top