jiraiyasm 1 Posted July 8, 2023 Share Posted July 8, 2023 Is there a way to target from a good distance like atleast 30yards and not needing to go near the target at all to cast a spell? Thank you in advance! Link to comment https://wrobot.eu/forums/topic/15246-targeting/ Share on other sites More sharing options...
Droidz 2742 Posted July 9, 2023 Share Posted July 9, 2023 Hello, that is managed by your fightclass. What fightclass do you user? Have you try another? Link to comment https://wrobot.eu/forums/topic/15246-targeting/#findComment-68508 Share on other sites More sharing options...
jiraiyasm 1 Posted July 10, 2023 Author Share Posted July 10, 2023 21 hours ago, Droidz said: Hello, that is managed by your fightclass. What fightclass do you user? Have you try another? hi Droidz, i am making a quester profile where it would be great not to go near the mob/target and cast a skill from a distance. var mobEntry = ObjectManager.GetNearestWoWUnit(ObjectManager.GetWoWUnitByEntry(mobId)); if (mobEntry.Position.DistanceTo(ObjectManager.Me.Position) < 50f) { // Target mob if (!mobEntry.IsMyTarget) { Interact.InteractGameObject(ObjectManager.GetWoWUnitByEntry(29639, true).First().GetBaseAddress); Thread.Sleep(500); } //MovementManager.Face(ObjectManager.Target); SpellManager.CastSpellByNameLUA("Ice Shard"); Usefuls.WaitIsCasting(); wManager.wManagerSetting.AddBlackList(mobEntry.Guid, 1000 * 5 * 60); Lua.RunMacroText("/cleartarget"); DebugLog("Targeting and casting. rescued=" + _rescued); _rescued += 1; } else { var mobpos = new List<Vector3>() { new Vector3(7236.417f, -2756.116f, 820.3741f), new Vector3(7305.381f, -2730.507f, 821.9226f), new Vector3(7363.159f, -2719.983f, 822.0386f), new Vector3(7386.727f, -2714.902f, 813.5573f), new Vector3(7400.437f, -2760.255f, 841.5171f), new Vector3(7381.176f, -2823.062f, 834.0812f), new Vector3(7413.861f, -2878.198f, 850.9042f), new Vector3(7327.644f, -2866.435f, 851.3341f), new Vector3(7271.88f, -2838.288f, 863.6712f), }; wManager.Wow.Bot.Tasks.GoToTask.ToPosition(mobpos[Others.Random(0, mobpos.Count - 1)]); } Link to comment https://wrobot.eu/forums/topic/15246-targeting/#findComment-68514 Share on other sites More sharing options...
Droidz 2742 Posted July 10, 2023 Share Posted July 10, 2023 Do you have try with the quest type "UseSpellOn" ? Link to comment https://wrobot.eu/forums/topic/15246-targeting/#findComment-68515 Share on other sites More sharing options...
jiraiyasm 1 Posted July 10, 2023 Author Share Posted July 10, 2023 it is a quest in storm peaks called Cold Hearted. needs to mount to the frostwyrm then the skill is only available from the mount. the spell is not from the character itself. Link to comment https://wrobot.eu/forums/topic/15246-targeting/#findComment-68516 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