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

target and attack mob that attacking my pet/mount

Sorty

New Member
Joined
Jan 25, 2013
Messages
69
Reaction score
0
hello

i'm using simply farm plugin, working gr8 ! i made some nice upgrades to use skills thats i want but... i'm still newbe in scripting and need badly 1 thing... :(

to alveys 1st target mob that curently attacking my pet,

coze atm in simply farm plugin, when some mob target my pet my AB wont target it :/ or target it to late and my pet dies,

if some1 could give me just a little of help i would just do anything for that :P

Thanks !
 
to alveys 1st target mob that curently attacking my pet,
Add to functions, that checks is you attacked:
if getAggroMobs(me.getMount()).Count > 0.
And in functions that find best mob:
&& (me.getMount() == null || (me.getMount() != null && bestMob.aggroTarget == me.getMount()))

P.s. - i dont check, its just idea, how to do what you request
 
Add to functions, that checks is you attacked:
if getAggroMobs(me.getMount()).Count > 0.
And in functions that find best mob:
&& (me.getMount() == null || (me.getMount() != null && bestMob.aggroTarget == me.getMount()))

P.s. - i dont check, its just idea, how to do what you request

me.getMount() does not exist ?
 
Back
Top