Jump to content

Reapply DoTs


Sjd6795
 Share

Recommended Posts

I am having an issue where I can't get my rend to only be used when the duration ends on the target. It either spams rend or I can set it to apply only once per target but then if it misses it doesn't use it again. For my heals I have it set to Buff time left and that works perfect to reapply renew when it has 2 or less seconds left. But I can't find a condition that is the same for debuffs on targets.

Link to comment
Share on other sites

Hi, if you want to check if your target has a debuff, you can use ObjectManager.Target.HaveBuff("buff name"").

In your situation, you simply could use.

if (!ObjectManager.Target.HaveBuff("Rend"))
{
	// Cast rend
}

This will ensure that Rend is always up on your target.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...