Target
¶
Object used to get information about your current target.
Forms¶
target Target
¶
- Returns the spawn object for the current target.
Examples¶
Note
These examples are not specific to target but work on any spawn type.
Note
To display the target's unique name as sent by EQ use ${Target}
or ${Target.Name}
This will return a_commander01
on a living mob or a_commander's_corpse0
on a dead mob.
To display the target's clean name (also similar to %t on living mobs) use
${Target.CleanName}
or ${Target.DisplayName}
This will return a commander
on a living mob or a commander's corpse
on a dead mob.
To display the name as used by '%t' on a corpse use the ${Target.DisplayName}
This will return a commander
when the corpse is targetted.
Example
To display the spell ID of the snare debuff use ${Target.Snared.ID}
/echo ${Target.Snared.ID}
Example of using new Slowed target datatype
/echo ${Target.Slowed.Name} will fade in ${Target.Slowed.Duration.TotalSeconds}s
returns "Tepid Deeds will fade in 114s"
Example of using new Mezzed target datatype
/echo ${Target} will break mezz in ${Target.Mezzed.Duration.TotalSeconds}s`
returns "a_pyre_beetle48 will break mezz in 66s"
Associated DataTypes¶
target¶
- This data type represents information specific to your current target. It contains additional members for querying buff information.
-
Members
cachedbuff
Aego
¶- Returns the name of the Aego spell if the Target has one
spawn
AggroHolder
¶- Returns the target's current target.
cachedbuff
Beneficial
¶- Returns the name of the Beneficial spell if the Target has one. This will skip "player" casted buffs, but will show NPC Casted buffs and some AA buffs.
cachedbuff
Brells
¶- Returns the name of the Brells spell if the Target has one
cachedbuff
Charmed
¶- Returns the name of the Charmed spell if the Target has one
cachedbuff
Clarity
¶- Returns the name of the Clarity spell if the Target has one
cachedbuff
Corrupted
¶- Returns the name of any the Corruption spell if Target has one
cachedbuff
Cursed
¶- Returns the name of the Curse spell if Target has one
cachedbuff
Crippled
¶- Returns the name of the Cripple spell if the Target has one
cachedbuff
Diseased
¶- Returns the name of a Disease spell if the Target has one
cachedbuff
Dotted
¶- Returns the name of a DOT spell if the Target has one
cachedbuff
DSed
¶- Returns the name of the Damage Shield spell if the Target has one
cachedbuff
Feared
¶- ???
cachedbuff
Focus
¶- Returns the name of the Focus spell if the Target has one
cachedbuff
Growth
¶- Returns the name of the Growth spell if the Target has one
cachedbuff
Hasted
¶- Returns the name of the Haste spell if the Target has one
cachedbuff
HybridHP
¶- Returns the name of the Hybrid HP spell if the Target has one
cachedbuff
Invulnerable
¶- ???
cachedbuff
Maloed
¶- Returns the name of the Malo spell if the Target has one
float
MaxMeleeTo
¶- ???
cachedbuff
Mezzed
¶- Returns the name of the Mez spell if the Target has one
int
PctAggro
¶- ???
cachedbuff
Poisoned
¶- Returns the name of a Poison spell if the Target has one
cachedbuff
Pred
¶- Returns the name of the Predator spell if the Target has one
cachedbuff
Regen
¶- Returns the name of the Regen spell if the Target has one
cachedbuff
RevDSed
¶- Returns the name of the Reverse Damage Shield spell if the Target has one
cachedbuff
Rooted
¶- Returns the name of the Rooted spell if the Target has one
cachedbuff
SE
¶- Returns the name of the Spiritual Enlightenment spell if the Target has one
spawn
SecondaryAggroPlayer
¶- ???
int
SecondaryPctAggro
¶- ???
cachedbuff
Shining
¶- Returns the name of the Shining spell if the Target has one
cachedbuff
Silenced
¶- ???
cachedbuff
Skin
¶- Returns the name of the Skin spell if the Target has one
cachedbuff
Slowed
¶- Returns the name of the Slow spell if the Target has one
cachedbuff
Snared
¶- Returns the name of the Snare spell if the Target has one
cachedbuff
Strength
¶- Returns the name of the Strength spell if the Target has one
cachedbuff
SV
¶- Returns the name of the Spiritual Vitality spell if the Target has one
cachedbuff
Symbol
¶- Returns the name of the Symbol spell if the Target has one
cachedbuff
Tashed
¶- Returns the name of the Tash spell if the Target has one
string
(To String)
¶- Same as Name