• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Mage pet switch to attack highest aggro mob %

gr4dy

Member
Joined
May 24, 2022
RedCents
60¢
Is there a condition or react to make the mage pet switch to the mob that has the highest aggro to the mage? If I pull multiple mobs, and my mage draws aggro, my pet doesn't grab the mob beating on my mage.

I have pet taunt on and my pet attack is set to hotkey ctrl+1, for example. Is there a way when my mage gets 100% aggro, to have my pet attack that mob or, just have the kissassist macro press ctrl+1 while targetting that mob?

And which line is it in the .ini that stops my mage from running towards mobs? When the macro starts, if the mob is beyond a certain distance, my mage runs up to get to a certain range before sending my pet in. How would prevent my mage from moving? Mage is set to Role=PullerPetTank. All I need is for my pet to pull and come back with the mobs.
 
Last edited:
Under
[melee]
[Melee]
AssistAt=99
MeleeOn=0
FaceMobOn=1
MeleeDistance=75
StickHow=snaproll
AutoFireOn=0
UseMQ2Melee=0
TargetSwitchingOn=1

[heals]
[Heals]
Help=Format Spell|% to heal at i.e. Devout Light Rk. II|50
HealsOn=1
HealInterval=3
AutoRezOn=1
HealsSize=5
Heals1=Companion of Necessity|60|Tap
Heals2=NULL
Heals3=NULL
Heals4=NULL
Heals5=NULL
XTarHeal=0
XTarHealList=Xtar slots here Example: 5|6|7
HealGroupPetsOn=1
RezMeLast=0
 
Ahh, so there's no way to get the pet to autoswitch to the highest aggro on the mage or to put a hotkey press into the .ini?
 
There is always a way, but not an easy way. First I can't think of an easy way to determine if the mage has the most aggro, other than testing if if the mobs target is the mage, and to do that you would have to already have the mob targeted. If you going to use the PctAggro member you would still have to check each entry in the XTarget window. If there was more than 1 entry. You might be able to use something like ${Me.Xtarget[1].PctAggro}>99 || ${Me.Xtarget[2].PctAggro}>99 || ${Me.Xtarget[3].PctAggro}>99 || ${Me.Xtarget[4].PctAggro}>99 || ${Me.Xtarget[5].PctAggro}>99 as a condition, but then how do you know what entry is the one you need to target?

The only way I can think to do this is to create a bind routine and then use a Command: DPS entry, with a condition, that calls the bind routine. If there was a way to return the ID or entry number of a mob that has 100% aggro on the mage. Even if you are able to get the pet to switch to the target the mage will always switch back to the MA's target and the same goes for the pet, the mage will tell the pet to attack(/pet attack) after switching targets back to the MA's target.
 
There is always a way, but not an easy way. First I can't think of an easy way to determine if the mage has the most aggro, other than testing if if the mobs target is the mage, and to do that you would have to already have the mob targeted. If you going to use the PctAggro member you would still have to check each entry in the XTarget window. If there was more than 1 entry. You might be able to use something like ${Me.Xtarget[1].PctAggro}>99 || ${Me.Xtarget[2].PctAggro}>99 || ${Me.Xtarget[3].PctAggro}>99 || ${Me.Xtarget[4].PctAggro}>99 || ${Me.Xtarget[5].PctAggro}>99 as a condition, but then how do you know what entry is the one you need to target?

The only way I can think to do this is to create a bind routine and then use a Command: DPS entry, with a condition, that calls the bind routine. If there was a way to return the ID or entry number of a mob that has 100% aggro on the mage. Even if you are able to get the pet to switch to the target the mage will always switch back to the MA's target and the same goes for the pet, the mage will tell the pet to attack(/pet attack) after switching targets back to the MA's target.
Yeah, I tried making (F12 being the /pet attack hotkey):

INI:
Pet Taunt:   
   action: /multiline ; /keypress F12
   condition: >-
      ${Me.XTarget}>1
      && (${Me.XTarget[1].Type.Equal[NPC]} && ${Me.XTarget[1].PctAggro}<100
      || ${Me.XTarget[2].Type.Equal[NPC]} && ${Me.XTarget[2].PctAggro}<100
      || ${Me.XTarget[3].Type.Equal[NPC]} && ${Me.XTarget[3].PctAggro}<100
      || ${Me.XTarget[4].Type.Equal[NPC]} && ${Me.XTarget[4].PctAggro}<100
      || ${Me.XTarget[5].Type.Equal[NPC]} && ${Me.XTarget[5].PctAggro}<100
      || ${Me.XTarget[6].Type.Equal[NPC]} && ${Me.XTarget[6].PctAggro}<100
      || ${Me.XTarget[7].Type.Equal[NPC]} && ${Me.XTarget[7].PctAggro}<100||
      ${Me.XTarget[8].Type.Equal[NPC]} && ${Me.XTarget[8].PctAggro}<100
      || ${Me.XTarget[9].Type.Equal[NPC]} && ${Me.XTarget[9].PctAggro}<100
      || ${Me.XTarget[10].Type.Equal[NPC]} && ${Me.XTarget[10].PctAggro}<100
      || ${Me.XTarget[11].Type.Equal[NPC]} && ${Me.XTarget[11].PctAggro}<100
      || ${Me.XTarget[12].Type.Equal[NPC]} && ${Me.XTarget[12].PctAggro}<100
      || ${Me.XTarget[13].Type.Equal[NPC]} && ${Me.XTarget[13].PctAggro}<100)

And at first it seemed to work, but then after several tests of pulling large groups, there were times when mobs were just standing there beating on my mage and my pet wouldn't switch to it, even though the extended target window was showing 100% aggro on the mage. Sic chimed in on another thread and said this is just basically spamming the F12 key. Which, is actually okay if it works to tell the pet to attack whatever target is hitting the mage with 100% aggro, but it didn't seem to work consistently. Sic also suggested using a Lua script for my use case of:

Mage pulls aggro after an AE > starts getting hit > something initiates the /pet attack hotkey for each true condition (NPC has 100% aggro on me) > pet targets the mobs on the extended targets list that have 100% aggro on the mage > pet regains aggro

But I don't know Lua well enough at all to make something that would do this.
 
If you pop companion of necessity the nmib will not be on the mage any more and you'll have 17 seconds to do something without getting pounded on.
Yeah, the issue with relying on AAs is that they are on long cooldowns and this aggro event happens every pull.

The example scenario is:

120 Mage is powerleveling alts/friends at an outdoor camp using AE spells > Mage sends pet in to round up 3-8 mobs at a time > Mage using AoE spells usually always draws aggro from 1-4 mobs at a time due to AE spells

In the above scenario, I'd only be able to use the AA threat drops once every 20 or so pulls.
 
I have a 4mage group i run with an enchanter
i ran kissassist for a few years and now tryin out ctwn plugins

without crowd control your going to have a bad bad day regardless what you run

maybe bribe DB to put in a AE taunt for pets......
 
People have chanters and bards in their groups always for a reason. There's no script to fix flaws in game tactics.
There are tons of scripts on this site that allow in-game tactics to be side-stepped. What makes this suite of software so amazing is finding out ways to do things like this programmatically. By your logic, we should all just stick to what the game originally offers in terms of tactics and gameplay.
 
There are tons of scripts on this site that allow in-game tactics to be side-stepped. What makes this suite of software so amazing is finding out ways to do things like this programmatically. By your logic, we should all just stick to what the game originally offers in terms of tactics and gameplay.
That may be true. So have at it.

My question to you is - why are you casting AoE spells in the first place? Especially when pulling large groups? The only way this makes sense to me is when they are green/grey spawns and you can take the beatings. Otherwise, I would lay off the AoE spells and simply attack the same mob as the pet.
 
That may be true. So have at it.

My question to you is - why are you casting AoE spells in the first place? Especially when pulling large groups? The only way this makes sense to me is when they are green/grey spawns and you can take the beatings. Otherwise, I would lay off the AoE spells and simply attack the same mob as the pet.
Why am I using AoE spells when pulling large groups while powerleveling? Why not? My four Rk. II AoE spells cost a little less mana than my four Rk. II ST spells. So, slightly less down time? Kill the mobs in the pull all evenly? And, even using ST spells, I still pull aggro and burn through my mana a little quicker. If I wanted to ST kill mobs, I'd play my Necro. The mobs I'm killing are 105-108, so light blue to me. I can take the beating from 2 at a time, but at the end of the day, I'm still a Mage in cloth.

Regardless, all of this is straying from the point. This idea has more application outside of just my scenario. Coming up with a way to get a Mage pet to pull aggro back off the Mage is good for Mages in all scenarios, especially when solo'ing or PL'ing others.

If it can't be done in this way, that's completely fine. It was just a question about an idea.
 
Question - Mage pet switch to attack highest aggro mob %

Users who are viewing this thread

Back
Top
Cart