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

me.getBuffs().Contains ?

totalschaden

Active Member
Joined
Feb 16, 2010
Messages
1,146
Reaction score
1
I want to check if (!me.getBuffs().Contains(???))

Where do I get the Buff ID's and how do I check for multiple Buff Ranks without killing performence ?

Example would be nice.
 
Code:
void CheckBuffs()
{
      if (buffTime("buff name here") == 0)
      {
             SetTarget(me);
             UseSkill("skill name");
             while (me.isCasting)
             Thread.Sleep(500);
      }
      if (buffTime("buff name here") == 0 && skillCooldown("skill name") == 0)
      {
             while (me.isGlobalCooldown)
             Thread.Sleep(100);
             SetTarget(me);
             UseSkill("skill name");
      }
      ...
}
"buff name" has skill lvl =)
I.e. (Rank x)
 
Last edited:

Attachments

  • buff_ids.1411761137.webp
    buff_ids.1411761137.webp
    73.5 KB · Views: 91
Back
Top