• 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

Target (mob) Health PCT ?

Acidon

New member
Hey guys. I'm not having any luck finding this info. Maybe I just don't "look good", but i'm getting tired of searches.

I am just trying to write a simple macro to bot my druid while he's in my group. Now, i'm just starting to write semi-complicated macros, so i'm a macro noob.

I want him to DoT at different times, these times are in relation to the mobs health PCT remaining, or even health remaining compared to max health .. something like that. How do I get this information about the target?

For example, say I want to throw the first dot when the mob is at 95% health. I just need to know when the mob is at 95%. The remaining DoTs and other things I can do based on time passed after that if necessary, but the health / hp would be optimum.

is there a universal way to get this info from your target? whether it be a PC or NPC? Am I just stupid and bLiNd??

Thanks in advance. :)
 
Rich (BB code):
:CAST_DS
 /delay 1
 /if (${Target.PctHPs} > 80) /goto :CAST_DS
 /cast 7
 /delay 10s
:CAST_PET
 /delay 1
 /if (${Target.PctHPs} > 60) /goto :CAST_PET
 /cast 6
 /pet attack
 /pet taunt off
 /delay 10s
 /sit on
:CAST_DD
 /delay 1
 /if (${Target.PctHPs} > 50) /goto :CAST_DD
 /cast 8
 /delay 15s
:CAST_DD1
 /call Health
 /assist Master
:CAST_DD2
 /delay 1
 /if (${Target.PctHPs} > 30) /goto :CAST_DD2
 /cast 8
 /delay 15s
 /sit on
 /call Health
 /assist Master
:CAST_DD3
 /delay 1
 /if (${Target.PctHPs} > 20) /goto :CAST_DD3
 /cast 8
 /delay 15s
 /sit on
/return
 
Target (mob) Health PCT ?

Users who are viewing this thread

Back
Top
Cart