Freestylechirurg 1 Posted February 17, 2018 Share Posted February 17, 2018 Hi there, could you let me know, how i have to script the c# code for using a makro? Ok, solved, found how to use it with lua script. Thx anyways. Link to comment https://wrobot.eu/forums/topic/8637-how-to-use-c-macro/ Share on other sites More sharing options...
Freestylechirurg 1 Posted March 5, 2018 Author Share Posted March 5, 2018 Hi there again, is there a possibility to detect if the the target is caster or melee? I would like to add the "course of tongues" to my fight class, but I do not find the correct condition. atm. I use Target is casting, but this does not work properly. Thanks for help Link to comment https://wrobot.eu/forums/topic/8637-how-to-use-c-macro/#findComment-40731 Share on other sites More sharing options...
headcrab 32 Posted March 5, 2018 Share Posted March 5, 2018 If your target is WoWPlayer or WoWUnit you can get it class: WoWClass targetClass = ((WoWUnit)target).WoWClass; swith (targetClass) { case WoWClass.Warrior: //melee case WoWClass.Paladin: // melee case WoWClass.Hunter: // range //blablabla } but in some cases you need also target specialization (for example, for Druid). Its possible, but only on battlefield. Look Battleground helper plugin, how it detects enemy healers, no problem to detect melee/range too Link to comment https://wrobot.eu/forums/topic/8637-how-to-use-c-macro/#findComment-40732 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now