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

Randomizing Buff Usage for Cooldowns

Warlen

New Member
Joined
Feb 18, 2012
Messages
6
Reaction score
0
Is there currently a function for renewing buffs (ie. battlerage / warcry) on a randomized timer? Or are there no options for this function as of right now?
 
I looked through Giles code for rebuff randomization but was not able to find any. Does anyone happen to know what the code is?
 
I don't know but the question is good. I think that keeping as much randomization on all pattern like behaviours is a must to keep under the radar.
rrrix might be able to implement this?
 
You can easily implement it by using this:

DateTime.Now.Subtract(dictAbilityLastUse[SNOPower.Barbarian_WarCry]).TotalMilliseconds >= (new Random().Next(3000,20000))

Add this for each skill you want (inside the if clause) and change the SNO to be the relevant skill SNO and the random numbers to represent the min and max time between casts.

OFC make sure that there is an OR !HasBuff(SNO....) so if it lost the buff it will auto cast even though the timer doesn't fit.
 
Back
Top