#Track a dot and spell that applies that dot at the same time ?!

47 messages · Page 1 of 1 (latest)

midnight crag
#

The title is very confusing:

  • I'm using Luxthos Death Knight Weak Aura and trying to tweak it to my liking
  • I want to track the Frost Fever dot just as the native Weak Aura does
  • But I want to desaturate and change its colour when Icy Touch (the ability that applies Frost Fever) is out of range
    I have tried adding an additional trigger that focuses on icy Touch and then a condition for it. But, the display just removes itself from Luxthos and doesn't display.

Is the above possible?

final copper
#

!customactivation

wispy stagBOT
final copper
#

just return your first trigger in there and it should work as it did before

#

then you can still use information from trigger 2 in your condition

midnight crag
#

Good Lord I should disclose I'm Weak Auras Level: idiot

#

So, I'm unsure what you mean

final copper
#

in your trigger section it should say something like this:

#

change that to custom and it will pop up a text box for code

#

paste this into that:

function(t)
    return t[1]
end
#

that makes it so the display only needs your first trigger to be active for it to show

#

(assuming the frost fever tracker is your first trigger)

midnight crag
#

Ok, ok lemme have a go
Yeah, it is my first

#

So, the display no longer disappears (thank you) but it doesn't apply the condition. Lemme send you my work

#

What do you think?

final copper
#

change "on cooldown" to "always" in your 2nd trigger

midnight crag
#

You're a god damn genius

final copper
#

or "not on cooldown" if you're only interested when it's off cooldown

midnight crag
#

True

#

Works brilliantly

#

Thank you for your help

final copper
#

no probs

midnight crag
#

Just a follow up, I appleid this to my Plague Strike and Blood Plague

#

The display randomly disappears once an enemy is dead

#

then returns when I tab to a new one

midnight crag
#

Actually, it is disappearing whenever there are no runes available

final copper
#

what are your triggers for those auras?

midnight crag
final copper
#

if you are only using trigger 1 to display the aura, your custom activation should look like this:

function(t)
    return t[1]
end
midnight crag
#

Yeah that worked perfectly

#

What's the difference between the two auras? If that's easy to explain

#

As in, why did the last custom code not apply?

final copper
#
return t[1] and t[2]

requires both trigger 1 and 2 to be active to display the aura

#

you were requiring trigger 1 and either trigger 2 or 3 to be active

midnight crag
#

Interesting

#

Thank you again for your help

#

You make me wanna go into a career for coding

final copper
#

t in this context is the trigger list

#

as that's passed into the function to check for custom activation

#

so you can have any variety of triggers required

midnight crag
#

Ahh I gotcha now

#

Thanks again Zingus