• 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

Utility - An idea I had about charmed pets

Spongebob

Member
Loving this macro btw. Mainly using it on my casters, as I am new to all of this, KA just seems easier for melees.

I mained an Enchanter for over a decade, so decided to learn how to script for this macro using what I know in game. I was able to get my enchanter to charm effectively, but really only at the start of combat with adds. Which is not much different then how it works with KA. The problem lies in the MA targeting the charmed mob at some point and not letting go causing the entire group to focus on the mob and waste mana/time etc.

I am unsure how you would go about this as I have not looked at any of your code beyond the inis at this point. However, in theory this should work.
I notice with the follow commands used by mq2 that it grabs the spawn number for the character and has the group follow that ID. Is it possible that when an enchanter charms a pet that its spawn ID is marked in some sort of temporary area, like the ini, and then that spawn ID is added to an NPC ignore list on everyone except the chanter for their charm spell. In the initial charm section you could have a flag, ifcharmedpet = TRUE THEN charmedpetid = ###### && TarType = 14 (add a new TarType that only looks at the charmed pet), if charmedpet = FALSE THEN charmedpetid = NULL, if charmedpetid = NULL THEN TarType = 0.
Of course doing it this way would force the player to forcefully attack the pet when you no longer want it at somepoint, but better then the way it seems to work now.

Again though I am new to mq2 in general and may be missing some info on how I am approaching all of this.
 
Utility - An idea I had about charmed pets

Users who are viewing this thread

Back
Top
Cart