BetterSister 367 Posted January 28, 2016 Share Posted January 28, 2016 i've been trying to improve druid heal profile but my skills aren't enough at this point. Could someone help me with this? it is in C# Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/ Share on other sites More sharing options...
iMod 99 Posted January 29, 2016 Share Posted January 29, 2016 // Get tank WoWPlayer tank = // Get target WoWUnit target = tank.TargetObject; // Select target Interact.InteractGameObject(target.GetBaseAddress); // Do Spell This is a quick and dirty example. Hope it helps. BetterSister 1 Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/#findComment-12121 Share on other sites More sharing options...
BetterSister 367 Posted January 29, 2016 Author Share Posted January 29, 2016 otherwise good but now i can't get it to read the name from settings :/ Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/#findComment-12122 Share on other sites More sharing options...
iMod 99 Posted January 29, 2016 Share Posted January 29, 2016 35 minutes ago, betterSister said: otherwise good but now i can't get it to read the name from settings :/ Since when? Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/#findComment-12123 Share on other sites More sharing options...
BetterSister 367 Posted January 29, 2016 Author Share Posted January 29, 2016 var tank = getTanks(); WoWUnit target = ; Interact.InteractGameObject(target.GetBaseAddress); _wrath.Launch(); now i got the tank but then i can't get it to find the target... if i tried to use wowplayer then it threw shit ton of error. Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/#findComment-12124 Share on other sites More sharing options...
Droidz 2742 Posted January 29, 2016 Share Posted January 29, 2016 Hello, look this sample: http://wrobot.eu/forums/topic/1743-how-to-add-players-unit-to-a-list/?do=findComment&comment=8653 Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/#findComment-12126 Share on other sites More sharing options...
BetterSister 367 Posted January 29, 2016 Author Share Posted January 29, 2016 it's working now :) Server is just laggy as fuck so it's causing the bot to be little weird Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/#findComment-12127 Share on other sites More sharing options...
iMod 99 Posted January 29, 2016 Share Posted January 29, 2016 var tank = getTanks(); WoWUnit target = ; Interact.InteractGameObject(target.GetBaseAddress); _wrath.Launch(); Thats why i said don't use var ^_- // Get all available tanks List<WoWPlayer> tankList = getTanks(); // Get the first tank in the list WoWPlayer tank = tankList.First(); // Get the target of the tank WoWUnit target = tank.TargetObject; // Focus at target Interact.InteractGameObject(target.GetBaseAddress, true); // Use the skill _wrath.Launch(); It is way essiert to read ^_- BetterSister 1 Link to comment https://wrobot.eu/forums/topic/2662-targeting-tanks-target-and-casting-spells-on-it/#findComment-12128 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