• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Swarm pets & "- of Many"

kknights

Member
Does anyone know if there is a way to write a downshit/mac/plugin/whatever that is able to 1) detect the # of swarm pets on a particular mob, and 2) cast a spell if condition #1 detects X # of pets?

My intention is to maximize use of the Magician 'X of Many' spell line, current is Storm of Many, which has conditional damage based on the number of pets on a mob. I'd like to be able to maximize it and use it only during burns when I pop Mage AA swarm pets + Necro swarm pets in my group.

I suppose I could just use Many as a burn spell assuming there will be swarm pets up but I rather have something more defined if possible.

Thanks for any tips or help!
 
Something you could try would be to get a count of spawn's whose names match "MageName's Pet" or "NecroName's Pet" within a certain radius of target, and if it's above a certain threshold cast "xxx of Many"

An outline for a downshit would be like:

Rich (BB code):
/if (combat && mobhp && math((magePetCountNearMob + necroPetCountNearMob) > threshold)) /cast xxx of many

I can try to help with syntax if you get stuck at any point.
 
yes i did this in afmage i wrote a few days ago with the help of eqmule.


/if (${SpawnCount[pcpet radius 100 loc ${Me.X} ${Me.Y}]}=>10) /cast spellname
 
Question - Swarm pets & "- of Many"

Users who are viewing this thread

Back
Top
Cart