TLO:Debuff

From the wonderful RedGuides Wiki

Holds the Debuff data type and several forms for pets and specific debuffs

This TLO is added by MQ2Debuffs

Forms

Type Member Description
bool Debuff True if you have debuffs on that have counters on them, false if not
Debuff Debuff[self] return info for debuff from self. e.g. ${Debuff[self].Slowed}
Debuff[pet|warder] return info for debuff from pet or warder. e.g. ${Debuff[warder].Slowed}
Debuff[<spell id> ...] return info for a specific debuff, or a list of debuffs. e.g. ${Debuff[5682].Slowed} or for a list, ${Debuff[5682 2899 887].Slowed}

Access to Types

Type Description
Debuff Reports harmful effects, number of curse/disease/poison counters and various other detriments.

Examples

HUD example,

[Elements]
PoisonCounter=1,400,170,0,250,50,${If[${Debuff.Poisoned},${Debuff.Poisoned} POISON,]}
DiseaseCounter=1,400,185,200,200,50,${If[${Debuff.Diseased},${Debuff.Diseased} DISEASE,]}
CurseCounter=1,400,200,250,200,150,${If[${Debuff.Cursed},${Debuff.Cursed} CURSE,]}
DrainHP=1,465,170,250,0,10,${If[${Debuff.HPDrain},-${Debuff.HPDrain} HP/tick,]}
DrainMana=1,465,185,0,50,250,${If[${Debuff.ManaDrain},-${Debuff.ManaDrain} Mana/tick ,]}
BadThings=1,400,220,255,0,10,${If[${Debuff.Snared},SNARED ,]}${If[${Debuff.Slowed},SLOWED ,]}${If[${Debuff.SpellSlowed},SPELLSLOWED ,]}${If[${Debuff.CastingLevel},EFFCASTLEVELDOWN ,]}${If[${Debuff.HealingEff},HEALEFFECTIVEDOWN ,]}${If[${Debuff.SpellDmgEff},SPELLDMGDOWN ,]}${If[${Debuff.ManaCost},MANACOSTUP ,]}

See also