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

Barbarian - Ignore Pain

NetSkay

New Member
Joined
Aug 29, 2013
Messages
54
Reaction score
0
Would it be possible to incorporate a function that only activates Ignore Pain, once the previous buff has ran out,
because currently the bot is wasting a lot of the Zodiac procs to keep the buff up all the time even with remaining duration?
I'm using the Pride of Cassius belt, so my Ignore Pain lasts for 11 seconds while having 40% cd reduction on the already short 30sec cd skill.

I would like to see that my Zodiac refreshes the CD of WotB.
 
Ignore pain skill - I added some conditions needed to cast this spell, it doest use IP even if it's ready, but previous cast was <10seconds ago (with belt, duration of IP is 11sec), so u earn more procs of OrotZ (zodiac ring) on WotB. But its not enough, we need one more check - if we dont have IP buff, bot will try to use it as fast as possible.
public static bool CanCastIgnorePain
{
get
{
if (UseOOCBuff)
return false;

if (!GetHasBuff(SNOPower.Barbarian_IgnorePain) || TimeSincePowerUse(SNOPower.Barbarian_IgnorePain) > 8000 && TimeSincePowerUse(SNOPower.Barbarian_IgnorePain) < 10000 && Settings.Combat.Barbarian.IgnorePainOffCooldown && CanCast(SNOPower.Barbarian_IgnorePain))
return true;

if (CanCast(SNOPower.Barbarian_IgnorePain) && Player.CurrentHealthPct <= V.F("Barbarian.IgnorePain.MinHealth"))
return true;

return Sets.TheLegacyOfRaekor.IsFullyEquipped && ShouldFuryDump;
}
}
 
Ignore pain skill - I added some conditions needed to cast this spell, it doest use IP even if it's ready, but previous cast was <10seconds ago (with belt, duration of IP is 11sec), so u earn more procs of OrotZ (zodiac ring) on WotB. But its not enough, we need one more check - if we dont have IP buff, bot will try to use it as fast as possible.

How does this line interact with "Use Ignore when ready" or use Ignore Pain when HP is lower then the set value?
 
How does this line interact with "Use Ignore when ready" or use Ignore Pain when HP is lower then the set value?

It will use IP only if:
1. When u are low - it will use IP no matter of timer.
2. U dont have IP (just revive or smth)
3. Previous cast was 8-10 seconds before (its enough to have 100% up time even with DB lags)

So u earn more procs of Zodiac Ring on WoTB.
 
Back
Top