Venus112
New Member
- Joined
- Jun 17, 2010
- Messages
- 1,509
- Reaction score
- 13
Hey there
I'm doing some rewriting on a CC and i'm looking into the possibility of adding a check so that you do not automatically taunt a boss/mob off another tank when the time is not right.
This is some of the basic taunt logic, Fiftypence used, but i was thinking if it was possible to add a check to see if Targets target is a tank, before taunting
Anyone who has any ideas?
I'm doing some rewriting on a CC and i'm looking into the possibility of adding a check so that you do not automatically taunt a boss/mob off another tank when the time is not right.
This is some of the basic taunt logic, Fiftypence used, but i was thinking if it was possible to add a check to see if Targets target is a tank, before taunting
Code:
{
if (TauntTarget.Distance2D <= 30
[LEFT] && SpellManager.CanCast("Hand of Reckoning"))
{[/LEFT]
SpellManager.Cast("Hand of Reckoning", TauntTarget);
Logging.Write(Color.Red, "Hand of Reckoning on " + TauntTarget.Name);
return;
}
}
Anyone who has any ideas?