Jump to content

Recommended Posts

  • 3 weeks later...

I'm running on a new account. Not yet lvl 90 characters. So complicate to do some valuable duels with my friend to test.

 

But i made a test to know why wrotation not start when i enter in duel or in arena

 

By elimination i found that when condition Fight.Infight is used, the result is "false" even after entering in fight against other players.

 

All script using it not enter in combat because this condition stay at false in pvp (sometimes, but sometimes it's ok)

 

in few days i'll do a good topic with scripts and screenshots. I not yet respond just because i haven't yet a lot of time to do it well.

Link to comment
https://wrobot.eu/forums/topic/1557-arena-problems/#findComment-8156
Share on other sites

Hello,

wManager.Wow.Helpers.Fight.InFight

 is true when WRobot is in combat (not if player is attacked)

 

 

To detect if player is attacked you can use it:

wManager.Wow.ObjectManager.ObjectManager.GetNumberAttackPlayer() > 0

or

wManager.Wow.ObjectManager.ObjectManager.Me.InCombat

ps: In the last update I have added new WRotation option to attack all selected targets (without any check) (to avoid this problem).

Link to comment
https://wrobot.eu/forums/topic/1557-arena-problems/#findComment-8172
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...