• 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

pet buff checks

:confused:
I am trying to check the status of my pet's buff using this

/if (!${Pet.Buff[Burnout IV].ID}) {
/cast "Burnout IV"
/delay 5s
}

but it keeps recasting regardless of the buff being there or not. I can't seem to find what I am doing wrong with this, any help is appreciated.
 
just tried it, didn't help, but thanks, was a worth trying. I also changed it to {Me.Pet[Burnout IV].ID})

that doesn't work at all.:confused:

Target your pet and try


Rich (BB code):
/target ${Me.Pet}
/delay 1s
/if (${Target.BuffDuration[Burnout IV]} < 60 || !${Target.Buff[Burnout IV].ID}) {

This should work. Checks if the ticks are less than 60 (about 5 mins) or if it does not exist at all.

If you use modbot I think there is a "PetBuff" command that is helpful also.
 
Target your pet and try


Rich (BB code):
/target ${Me.Pet}
/delay 1s
/if (${Target.BuffDuration[Burnout IV]} < 60 || !${Target.Buff[Burnout IV].ID}) {

This should work. Checks if the ticks are less than 60 (about 5 mins) or if it does not exist at all.

If you use modbot I think there is a "PetBuff" command that is helpful also.

that seems to be working, Thanks:)
 
This is the code segment i use to check my mages pet burnout buff.

Rich (BB code):
/if (!${Me.PetBuff[Burnout V]}) {
	/casting "Burnout V"|6
	/delay 7s
	/target clear
	}
 
this should handle all your pets buffing needs..
first part

Rich (BB code):
   /call DeclareIniVar pethpSpell string Spells "Primal Fusion" 
   /call DeclareIniVar pethpBuff string Spells "Focus of Primal Elements" 
   /call DeclareIniVar pethpType string Spells "item" 
   /call DeclareIniVar petHaste string Spells "Burnout VII"

second part ...

Rich (BB code):
      /if (${Me.Pet.ID} && ${Me.Pet.Name.Find[familiar]}) /pet get lost
      /if ( !${Me.PetBuff[${pethpSpell}]} && !${Me.PetBuff[call of the arch mage]} && ${FindItem[Focus of Primal Elements].ID} && !${FindItem[Focus of Primal Elements].Timer} && ${Me.Pet.Distance3D}<=100 ) /call Cast "${pethpBuff}" ${pethpType} 3s 
      /if ( !${Me.PetBuff[${petHaste}]} && !${Me.PetBuff[call of the arch mage]} && ${Me.Pet.Distance3D}<=100 ) /call Cast "${petHaste}" gem7 2s 
      /if ( !${Me.PetBuff[Iceflame Tenement]} ) /call Cast "Iceflame Tenement" gem4
      /if ( !${Me.PetBuff[rathe's strength effect]} ) /call Cast "rathe's strength" gem4
      /if ( !${Me.PetBuff[burnout]} && ${Me.PetBuff[call of the arch mage]} ) /call Cast "Burnout" gem7 2s 
      /if ( !${Me.Buff[${siphonSpell} Recourse].ID} && !${Me.PetBuff[call of the arch mage]} && !${Me.Buff[Elemental Symbiosis Recourse Rk. II].ID} && ${Me.Pet.ID} && ${Me.Pet.Distance3D}<=100 && ${Me.Book[${siphonSpell}]} ) /call cast "${siphonSpell}" gem4 0 CheckPet}
 
pet buff checks

Users who are viewing this thread

Back
Top
Cart