• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Check for Damage Shield

Soandso2

Well-known member
Joined
Mar 13, 2023
RedCents
937¢
Is there an easy way to check if target / pet / myself has a damage shield without looping through a butt load of buffs by name? Something like mq,TLO,.Me.DamageShield() or mq.TLO.Me.DS()
 
I don;t know if its worth your time, you can have it added to a BoxHud, so its always on display and easy to see. Or make a ButtonMaster button if you only need to check it occasionally
 
The SPA list sure seems interesting and useful for a great many things, but whilst trying to figure out how to actually use it, I came upon this:
(under the target datatype description)
spell DSed
Returns the name of the Damage Shield spell if the Target has one

Without being able to test for the time being, surely this could be used somewhat like this (not sure what it returns if there is no DS on the target, assuimg null for this post)

Lua:
if not mq.TLO.Target.DSed() then'
    whatever
end

EDIT: I see a possible flaw in the above reasoning, if the target has a spell effect that perhaps does not count exclusively as a DS but just have a damage shield as "part" of the entire buff. Not sure if that is line of thought is accurate, though.
EDIT 2: I realised that I need to have the pet targeted in order to use this, as DSed only seems to exist on the character datatype, not the pet datatype. A bit annoying but I guess switching target to check for a DS and then back again, isnt too big of a deal, since mages don't melee.

I am not sure how to user the SPA-thing above. In order to just see what happens, I wrote /echo ${Me.SPA[0]} which gives me 222, but I have no idea what that means. Other number within the square brackets give me various numbers, including some negative, so I am not really sure what is going on here. :)
 
Last edited:
Question - Check for Damage Shield

Users who are viewing this thread

Back
Top
Cart