Jump to content

Fight Class Spell Reflection Help


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?)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

2 hours ago, betterSister said:

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

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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)

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