• 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 - Custom conditions

Where can one find and change conditions for spells like druid mana bear, not casting unless you are below 75mana, and stuff like that for more customization on what and when spells get cast?
 
I have been away from redguides and everquest for some years just after the change to rgmercs Lua.
I'm not a coder but can read and understand part of the code and try to change what's there and is how I learned the macro code.
I don't understand the Lua code and will take some time before i understand it like i did the macro one.
I ended up going to kissassist after the Lua change because it was easier to modify the ini files than to relearn a different code.
Investing any more time tweaking my rgmercs macro code was going to be a wast of time with the move to Lua code.
The old way looked like this.
/call AddToRotation "${rotation_name}" "${ManaBear}" Spell ${Parse[0,"( ${Spell[${ManaBear}].MyCastTime} < 30000 ) && ${Me.PctMana} < 75 )"]}
how would i change the config code to add that? this is what i found in the config.
{
name = "ManaBear",
type = "Spell",
active_cond = function(self, spell) return Casting.IHaveBuff(spell) end,
cond = function(self, spell) return (spell and spell() and spell.MyCastTime() or 999999) < 30000 end,
},
I remember there was a guide on how to make your own mode for the macro version and i did. I would like to do the same with Lua if i can learn to understand it, is there a guide for the Lua code?
I feel the druid can be better but not sure on how to code it.
One buffs that isn't in the rotation but unlocks huge burst damage is "Bosquetender's Fortitude"
After debuffing fire and ice, adding silent casting, and improved twincast, short duration dots, then Fortitude buff, chain casting the best 2 WinterFireDD spells, that fall within Bosquetender's Fortitude's spell lvl and damage checks, puts out wizard like damage.
It does burn mana like a dot and is why in kissassist I woud condition to run only when mana+95% and both twincast and silentcast was ready, and remove the buff after mana-35% and return to normal spell rotation.
I would also have manabear as a precast before attacking to extend the burst as much as possible.
Thanks for any help you can give.
 
Did some digging and found what i was looking for.
{
name = "ManaBear",
type = "Spell",
active_cond = function(self, spell) return Casting.IHaveBuff(spell) end,
cond = function(self, spell) return (spell and spell() and spell.MyCastTime() or 999999) < 30000 and mq.TLO.Me.PctMana() < 75 end,

Wolfpack Yes GIF by The Hardens eXp Realty
 
Question - Custom conditions

Users who are viewing this thread

Back
Top
Cart