What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

RaidBot: Works in BGs but not in Arena??? HELP!

Dagradt

Community Developer
Joined
Jul 26, 2010
Messages
1,423
Reaction score
43
It would seem that I am at a lose here... I can't find out why my CC "GME v1.03" will work with RaidBot in BGs, yet it will not work in Arenas... Does anyone have an idea of why this would happen?

Thank you for your time,
Dagradt
 
If I were to wager a guess I'd say it probably doesn't work in arena when facing the same faction due to HB's bug with IsFriendly.

In RaidBot, find
PHP:
                ret => StyxWoW.Me.Combat && StyxWoW.Me.GotTarget && !StyxWoW.Me.CurrentTarget.IsFriendly,

Replace with
PHP:
                ret => StyxWoW.Me.Combat && StyxWoW.Me.GotTarget && !StyxWoW.Me.CurrentTarget.IsHostile,

Alternatively try removing the IsFriendly/IsHostile call entirely. Might do it for you.
 
@fiftypence,

Thank you so much for the quick reply! I am testing this now, will reply back with results!
 
@AutomaticCoding,

So far yes it is working, but I am checking to see if by changing that small line the rest of the bot doesn't break...

Edit: In changing the code BGs no longer work, trying to fix the issue!
Arena = yes
Bg = no

Edit: I changed it to (IsFriendly || IsHostile), I will assume raids will work aswell. Will post the updated version to the main thread for peeps to use. THANKS APOC FOR THIS!
Arena = yes
Bg = yes
 
Last edited:
Change Ishostile to IsAttackable.
 
Back
Top