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

How to check if Skill is available ?

totalschaden

Active Member
Joined
Feb 16, 2010
Messages
1,146
Reaction score
1
How do I check if a Skill is taken in the Talent Tree, if I use
Code:
if (skillCooldown("Insulating Lens") == 0)
it is true for Skills not taken in Talent Tree.
 
Another bit of code off the top of my head

Code:
if((getSkill("Insulating Lense") != null) && (skillCooldown("Insulating Lens") == 0))
    {
        UseSkill("Insulating Lense");
        Thread.Sleep(100);
    }

Not sure if that's how get skilled works *shrug*

otherwise you may need to use getAbilitys -> ArcheBuddy - Table of Content To get all your abilities and loop through to see if you find insulating lense
 
awsome it works, just did a function to getSkills only once, gues it cost some performence to check.
Thanks.
 
Back
Top