Jump to content

Recommended Posts

Hi everyone

I use Create Fight Class tool for creating my dps rotation for raids and pvp xt. Mostly does it part and i dont know about C# codes and how they are applied

i use bot for combat rotation

Its fine but there are some conditons that ""Create Fight Class tool"" dont inherit, and im told it can only be done in C#

 

for exp: i wanted to do for shaman

    when im not moving;

  •        if there is 1 mob (around) and no totem -- put searing totem
  •        if there is 1 mob and searing totem  --- do nothing 
  •        if there is 2 or more mobs and no totem -- put magma totem
  •        if there is 2 or more mobs and searing totem -- put magma totem
  •        if there is 2 or more mobs and magma totem-- do nothing

in this case, there is no condition to check which totem is active through the ""Create Fight Class tool"". you can check if there is an active fire totem but u cant check if its a magma or searing which are both fire totems

 

What i ask is;

  1. Is there a way to do this with  ""Create Fight Class tool"".
  2. It can only be done in C# ? Which conditions there are that arent in  ""Create Fight Class tool"". Where can we learn from it
  3. Lets say someone else posted a C# code here for the totem part. Can i add it via  ""Create Fight Class tool"". (I need it so i can keep modifying it when needed)

Ty in advance 

Keep up the good work please

Link to comment
Share on other sites

  • 1 month later...

pretty simple actually, just check it on name.

greets, Dreamful

haveTotem, totemName, startTime, duration = GetTotemInfo(1)

if totemName ~= "Magma Totem"
then return true else end

 

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...