Nightskine
Member
- Joined
- Oct 30, 2010
- Messages
- 150
- Reaction score
- 1
Alright, its me again ...
Working on my CC I've come across another issue - how do I work around spells where I have to click an area ?
In my case, to use trap launchers for hunters you have to click the spell "Trap Laucher" then the trap and then click an area on the ground. I tried the following but had no luck - WoW jus keeps showing the error invalid target so I'm not even sure what's happening ....
After a 100 tries I've reached the following code which doesn't work

I've been working on this for a while --- looked into a lot of CC's for Hunter's Warlocks and Mages - (rain of fire and mage pet freeze has same logic) but I couldnt come up with anything...
Please help


Working on my CC I've come across another issue - how do I work around spells where I have to click an area ?
In my case, to use trap launchers for hunters you have to click the spell "Trap Laucher" then the trap and then click an area on the ground. I tried the following but had no luck - WoW jus keeps showing the error invalid target so I'm not even sure what's happening ....
After a 100 tries I've reached the following code which doesn't work


Code:
if(SpellManager.CanCast("Explosive Trap") && Me.CurrentTarget.Distance >=10 && !Me.HasAura("Trap Launcher"))
{
SpellManager.Cast("Trap Launcher");
slog(Color.Red, "Trap Launcher ");
}
if(Me.HasAura("Trap Launcher"))
{
SpellManager.Cast("Explosive Trap");
LegacySpellManager.ClickRemoteLocation(Me.CurrentTarget.WorldLocation);
slog(Color.Red, "Explosive Trap");
}
I've been working on this for a while --- looked into a lot of CC's for Hunter's Warlocks and Mages - (rain of fire and mage pet freeze has same logic) but I couldnt come up with anything...
Please help


