• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
Resource icon

Utility MQ2WorstHurt

Other Authors
alynel, Sic, Knightly, dannuic
Included in Very Vanilla
Very Vanilla Included! No need to download.
Server Type
🏢 Live Test

Wiki Manual
This plugin was made by alynel, paid for by toots.

In short the plugin replaces the forloops to find the worsthurt member of your party, xtar list or pet. You call the TLO with the parameters and it returns a spawns name, which can be manipulated for any usage.

For example, this is all the code I have in my kiss mods to handle all single target healing, and it covers a full xtar list, party members and pets. It is incredibly fast.

Rich (BB code):
/if ((${Spawn[${WorstHurt[both,1,200,TRUE]}].Type.NotEqual[Pet]} && ${Spawn[${WorstHurt[both,1,200,TRUE]}].Type.NotEqual[Corpse]} && ${Spawn[${WorstHurt[both,1,200,TRUE]}].PctHPs} <= ${Math.Calc[${${Spawn[${WorstHurt[both,1,200,TRUE]}].Class.ShortName}Point}*.${tmpHealOverride}]}) || (${Spawn[${WorstHurt[both,1,200,TRUE]}].Type.Equal[Pet]} && ${Spawn[${WorstHurt[both,1,200,TRUE]}].Type.NotEqual[Corpse]} && ${Spawn[${WorstHurt[both,1,200,TRUE]}].PctHPs} <= ${Math.Calc[${PetPoint}*.${tmpHealOverride}]})) {
        /call newSingleHeal "${Spawn[${WorstHurt[both,1,200,TRUE]}].CleanName}" "${Spawn[${WorstHurt[both,1,200,TRUE]}].Type}" ${Spawn[${WorstHurt[both,1,200,TRUE]}].PctHPs} 1 G
Below is the usage.

Rich (BB code):
It will default to both, n = 1, radius = 999999, and includePets = TRUE. So the following are all the same:

Rich (BB code):
Parameter ordering can be whatever you like, the more often it'll be changed from the default the further to the left it should be to make the macro lines shorter. If you think you're more likely to want to change includePets than radius, for example, they could be swapped.

It returns a spawn type, so you'll have access to all the usual spawn members. Basically if you can do ${Spawn[whatever].Something}, you can do ${WorstHurt.Something}. Class.ShortName will be fine

TLOData Type(s)Description
WorstHurtspawnHelps find the "worst hurt" member of your party, xtar list or pet.
First release
Last update
0.00 star(s) 0 ratings

More resources from Knightly

Share this resource

Latest updates

  1. 20230219

    〰️Commits Update for v143 Addresses https://github.com/macroquest/macroquest/issues/635...
  2. htw's crash fix for missing group members

    fixes the issue here, https://gitlab.com/redguides/plugins/MQ2WorstHurt/-/issues/1
  3. Backport Changes

    Backported Knightly's Next Updates for MQ2WorstHurt Adjusted for-loop to work on Rizlonaand...