• 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):
${WorstHurt[<group|xtarget|both>,<n>,<radius>,<includePets>]}
It will default to both, n = 1, radius = 999999, and includePets = TRUE. So the following are all the same:

Rich (BB code):
${WorstHurt[both,1,999999,TRUE]}
${WorstHurt[both,1,999999}
${WorstHurt[both,1]}
${WorstHurt[both]}
${WorstHurt}
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.
Source Repository
https://github.com/RedGuides/MQ2WorstHurt
[git] Automation options?
Yes
Author
Sic
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Sic

Share this resource

Latest updates

  1. 20231020

    〰️Commits Cleanup closes #2 (17fc7f1) ~Sic Merge branch 'update' into 'master' Cleanup closes...
  2. 20230219

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

    fixes the issue here, https://gitlab.com/redguides/plugins/MQ2WorstHurt/-/issues/1
Back
Top