Jump to content

if BuffTimeLeft() bugged?


Recommended Posts

It seems not working. It should return ms but so if i check:

if (ObjectManager.Me.BuffTimeLeft("Thorns") <= 10000)
{
	Thorns.Lounch();
}
                                                    

it always true and it rebuff thorns nonstop. Same for:
ObjectManager.Me.BuffTimeLeft(new List<uint> { 9910 }) <= 1000
and same for:
ObjectManager.Me.BuffTimeLeft(new List<uint> { 9910 }) <= 1
 

Link to comment
Share on other sites

this code also always return true

<QuestsSorted Action="While" NameClass="ObjectManager.GetObjectWoWUnit().Where(u =&gt; u.IsDead &amp;&amp; u.IsLootable &amp;&amp; u.GetDistance2D &lt;= 40) != null" />

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...