Jump to content

Recommended Posts

it's hard to make a good warrior fight class because the bot doesn't support checking for stances by itself and since stance isn't buff it is nearly impossible to make it perfect but all you can do is make spell with conditions target cast time remaining and what else you want for it (rage percent?)

2 hours ago, betterSister said:

it's hard to make a good warrior fight class because the bot doesn't support checking for stances by itself and since stance isn't buff it is nearly impossible to make it perfect but all you can do is make spell with conditions target cast time remaining and what else you want for it (rage percent?)

Really, stances aren't considered buffs? DK Presences are buffs, (Im fairly certain) so why would warrior stances be different?

Just now, Chas3down said:

Really, stances aren't considered buffs? DK Presences are buffs, (Im fairly certain) so why would warrior stances be different?

well i don't have any new buffs while i've a stance

Just now, Chas3down said:

I would try debugging with wrobot, even if it doesn't show up in your buff bar, I am pretty certain it is considered a buff.

i could look into it when i got time but right now i'm busy with my druid heal script

2 hours ago, betterSister said:

i could look into it when i got time but right now i'm busy with my druid heal script

Well, OP was asking about cast percentage nothing to do with stances.. anyways. for OP

I haven't fully delved into the abilties of wrobot but here is how it would be done.. create a function that runs a lua script and returns a cast percentage value, this can be done by running a LUA script using the GetTime() / unitCastingInfo.endTime()

 

http://wowprogramming.com/docs/api/GetTime()

http://wowprogramming.com/docs/api/UnitCastingInfo

 

18 minutes ago, Chas3down said:

Well, OP was asking about cast percentage nothing to do with stances.. anyways. for OP

I haven't fully delved into the abilties of wrobot but here is how it would be done.. create a function that runs a lua script and returns a cast percentage value, this can be done by running a LUA script using the GetTime() / unitCastingInfo.endTime()

 

http://wowprogramming.com/docs/api/GetTime()

http://wowprogramming.com/docs/api/UnitCastingInfo

 

there must be a way to do it without LUA scripting

2 hours ago, betterSister said:

there must be a way to do it without LUA scripting

Well the only other way is if the wRobot already has a Target.Casting.EndTime() / Target.Casting.Percent()  function (or something similiar)

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