I've been afk circling a lot and I'll get maybe 5 or 6 mobs on me to kick it all off. EVerything is good while I have 2 or more mobs chasing me because my target won't run off. But, when I've killed off everything the last target flees at 10% or so and brings a bunch of crap into my circle and kills me.
Does anybody have a code example that I can use whereby it:
checks to see if I only have 1 target within a certain radius of me and if so changes up the twist pattern?
I can do the "changes up the twist pattern part" but I can't figure out the "how to determine I only have 1 mob chasing me around part"
I'm guessing something like
/if (mob radius <=100 & mob.count =1 )
{
twist 1 5 6 7 8 ....
}
but I don't know the exaxt syntax.
Any help out there?
Does anybody have a code example that I can use whereby it:
checks to see if I only have 1 target within a certain radius of me and if so changes up the twist pattern?
I can do the "changes up the twist pattern part" but I can't figure out the "how to determine I only have 1 mob chasing me around part"
I'm guessing something like
/if (mob radius <=100 & mob.count =1 )
{
twist 1 5 6 7 8 ....
}
but I don't know the exaxt syntax.
Any help out there?