What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

About IsBuffOnMe()

WoWAura has Duration and EndTime members.

You can try using WoWUnit.Buffs which returns a dictionary of the current WoWAura's on the player, then check Duration of the matched WoWAura.
 
Code:
                    int timeLeft;
                    foreach (KeyValuePair <string, WoWAura> buff in Me.Buffs)
                    {
                        if (buff.Value.Name.Contains("buff name"))
                        {
                                timeLeft = buff.Duration;
                        }
                    }

Untested, but it should get you started.

Note, there should be an (<)string, WoWAura(>) minus the parentheses between "KeyValuePair" and "buff" but its not formatting right.
 
Last edited:
Hi sKi, thank's again, but I was actually thinking about using this for conflagrate casting with mobs that have the immolate status on them with only a few seconds left.
 
Hi sKi, thank's again, but I was actually thinking about using this for conflagrate casting with mobs that have the immolate status on them with only a few seconds left.

Just get the Glyph of Conflagrate ;)
 
Back
Top