What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to cast using Tricks of the Trade HB Api?

strix

New Member
Joined
Feb 13, 2010
Messages
442
Reaction score
18
How can i successfully cast Tricks of the Trade?

I invite my other account's toon to party staying face to face and when i do for example:
Code:
SpellManager.Cast("Tricks of the Trade", Me.CurrentTarget);
It seems like i executed SpellManager.Cast("Tricks of the Trade") without having a target - meaning that ingame cursor changes, but i have to manually click a target.

Talking both about HBConsole and CC in action.


PS: could some moderator move "using" before "HB Api" in thread title so ppl actually understand what i wrote? xD
 
Last edited:
You can't cast Tricks of the trade on a mob you have to cast it on a party member.

I created a routine for doing it but don't have access to it right now. There is some code for finding the Tank someone posted. Then it is just a matter of
Code:
SpellManager.Cast("Tricks of the Trade", TankName());
 
Last edited:
I know i can't target mobs, it doesnt work for players.
I wrote i invited my other 85 toon (from other acc same server) to party and tried to cast on it.
 
Last edited:
The code you posted is for your current target, if you have no target or are targetting a mob you can harm it will change your cursor to the one where you have to select a friendly player.
 
SpellManager.Buff() fixed the problem

and yes i was already fully aware of what u just wrote vastico
 
Then why post that code as an example if you know that was the problem...
 
Because i explained that i was targetting friendly target which i just invited to party and it was example.
 
Okay then you didn't have him targetted, ran that spell cast on my rogue to my alt and it worked
 
Back
Top