• 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 - how to write the line of code for alliance?

I would like to run alliance as I have a couple wizards, but for really any class. How do you write the line of code for the macro to check to mob so in my case I don't have 3 wizards try to dump alliance at the same time thus wasting manna and the spell?

Thanks
 
if you are using kissassist you can use a condition with the following code.

!${Target.Buff[SPELL NAME HERE].ID}

One other thing you can add, is a check for the number of wizards near your toon so they dont fire off an alliance with only them around (and thus wasting it)...

${SpawnCount[pc class wizard radius 100 zradius 50]} ----- note you will have to specify a number to check against ie >=2 or whatever you want to do AND you can set that for any class.. ie berserker too for their alliance..
 
Last edited:
I think what you may want to check is if you have the "feedback" buff from alliance
ex. for zerker
Code:
${Me.Buff[Demolisher's Alliance Effect].ID}
if zerkers have that buff on themselves then they wont cast alliance, cause another zerker did (this should also be used to make sure what ever class (not just zerkers) that have the alliance trigger, cast their needed spells or discs etc to trigger big boom
what would be ideal to check is if a mob doesnt have the alliance trigger from toonA, or toonB then cast alliance
 
Code:
Cond16=!${Target.Buff[Firebound Covenant].ID} && ${SpawnCount[pc class Magician radius 100 zradius 50]} >=2 && (${Target.PctHPs} > 60) && ${Me.CurrentMana}>40
 
You will want to do a buffs populated check also, as if the wizard has changed target recently there is a small delay and if the buffs aren't populated it will fire as if the debuff isn't present ${Target.BuffsPopulated}
 
Question - how to write the line of code for alliance?

Users who are viewing this thread

Back
Top
Cart