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.
