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

Combat/Heal bot addition

tjhasty

Member
Joined
May 16, 2010
Messages
183
Reaction score
4
I am trying to figure out how to make or find an addon I can use in junction with the Combat/Heal bot to make it attack when the leader begins combat so that the combat/heal bot can take over. I know its probably not that hard to make, but neither is another language if you know how to speak it. Any help would be appreciated.

I would use RAF, but its a little annoying since as soon as the leader targets something it starts attacking.
 
Code:
if (Me.PartyMemeber1 != null)
{
if (Me.PartyMemeber1.Combat && Me.PartyMember1.CurrentTarget != null)
{
Me.PartyMemeber1.CurrentTarget.Target();
}
}
that should do it. since after you have a target the combat / healbot should work.
}
 
Thanks for the quick reply. One question though. With my vastly limited ability to read code, I am gathering from that that it will only set the target of the leader on the follower. Combatbot require something to trigger the combat sequence or it will just stand there, BUT I do not want to attack as soon as the leader targets. That is what raf does and its very annoying.
 
wait, I take that back, your first part tells me that if leader has a target and is in combat then the second part first off, which Im assuming that little bit of code at the end is all I need to make HB start attacking?

How do I make that into a usable plugin?
 
no one can help me with this? I dont know how to do this myself and cant figure out the code.
 
get the mr autofight plugin, rip everything out of the pulse function and put the above code in there.
give that a wirl and work from there
 
If I use the Auto Fight Plugin, the Char isn't moving anymore.

If i turn it of, it follows the leader again...

I have no clue why, could someone help me out?
 
Back
Top