Jump to content

CanCondition for Pets?


createdby

Recommended Posts

Englisch User

Hello

I wanted to ask if someone can tell me how the CanCondition for pets is

6c1abb-1494219901.png

So I want to level my pets

And when they have reached a certain level, the bot should change to another area. Is that even possible?

  I thank you

Happy Botting wants UserOffline

 

 

German User

Hallo

ich wollte fragen ob mir jemand sagen kann wie die CanCondition für Haustiere ist

6c1abb-1494219901.png

Also ich möchte meine Haustiere leveln

und wenn sie ein bestimmtes Level erreicht haben, soll der Bot in ein anderes Gebiet wechseln. Ist das überhaupt möglich?

 Ich danke euch im Vorraus

 

Happy Botting wünscht UserOffline

Link to comment
Share on other sites

You could execute Lua code and read the result.

I believe it should work similar to this:

var level = Lua.LuaDoString("level = UnitLevel(\"pet\")");

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...