Dagradt
Community Developer
- Joined
- Jul 26, 2010
- Messages
- 1,423
- Reaction score
- 43
First: I was wondering if there was a way I could detect what spec my target is... (Mainly for the purposes of finding a healer), atm I am using a simple code:
"if ((StyxWoW.Me.CurrentTarget.Class == WoWClass.Druid || Paladin || Priest || Shaman) && StyxWoW.Me.CurrentTarget.Maxmana >= 100000)"
Obviously this may bug as Boomkins and Elemental shamans also fall into this category... I've thought about negating the Boomkin and Elemental via there class buff (forgot the names), but this also assumes that there isn't another Ele or boom, within the area to also apply the class buff. So is there a way to detect your targets spec?
Secondly: Is there a way I could make a toggle function to force a rotation? So if I was in an arena and I know that the paladin in the corner is a healer, I could press a key, lets say Caps Lock (sense it is never used, and which would be per-determined in the code), and the CC will force a rotation till the key is pressed again. Is this possible?
Thank you for your time,
Dagradt
"if ((StyxWoW.Me.CurrentTarget.Class == WoWClass.Druid || Paladin || Priest || Shaman) && StyxWoW.Me.CurrentTarget.Maxmana >= 100000)"
Obviously this may bug as Boomkins and Elemental shamans also fall into this category... I've thought about negating the Boomkin and Elemental via there class buff (forgot the names), but this also assumes that there isn't another Ele or boom, within the area to also apply the class buff. So is there a way to detect your targets spec?
Secondly: Is there a way I could make a toggle function to force a rotation? So if I was in an arena and I know that the paladin in the corner is a healer, I could press a key, lets say Caps Lock (sense it is never used, and which would be per-determined in the code), and the CC will force a rotation till the key is pressed again. Is this possible?
Thank you for your time,
Dagradt