• 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 - Condition for Rains

Relik

Member
I am not entirely sure if this is possible, but I was curious if there was a way to setup a condition in order to check for extra NPCs around your target. The goal being to be able to safely use Rain nukes without breaking mezes. Currently my best solution is to only use rains if I have a single mob on xtarget which is sufficient. However there are obviously times where I will have multiple mobs on xtarget but they are spread out enough that using a rain would still be safe. Appreciate any ideas on a way to handle that, if it is possible.
 
Haven't tested this, but removing the xtarget safety checks and assuming your rain has a AE-radius of 25, this will check if (you have a target) & (the target is alive) & (just the one target mob within 30 range of target) & (target isn't so close the rain will also hit caster):
Code:
DPS1=Rain of Knives
DPSCond1=${Target.ID} && ${Target.PctHPs} > 1  &&  ${SpawnCount[npc loc ${Target.X} ${Target.Y} radius 30]} < 2 &&  ${Range.Between[30,60:${Target.Distance}]}

A couple other ways to do basic "single" target checks. AE section has a built in check for singles. AE section does take priority over DPS, so your toon will start out their nuke sequence with the rain spell if available:
Code:
[AE]
AEOn=1
AESize=10
AERadius=50
AE1=Rain of Knives|1|single

eqmule also uses this rain condition in his 110 wizard ini. It additionally checks to make sure the mob isn't too close to the nuker so waves aren't wasted hitting yourself and for any non-agro'd mobs within LoS & 60 range that might wander in.
Code:
DPS24=Magmatic Explosion
DPSCond24=${Target.ID} && ${Target.PctHPs} > 1  && ${Me.XTarget} < 2 &&  ${SpawnCount[npc los radius  60 zradius 10]} < 2 &&  ${Range.Between[30,60:${Target.Distance}]} &&  ${Me.Song[Quiescent Gambit].ID}
 
Question - Condition for Rains

Users who are viewing this thread

Back
Top
Cart